thindx 0.0.0-unsound.5

Thin DirectX wrappers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use bytemuck::*;
use winapi::shared::d3d9caps::*;
use winapi::shared::minwindef::DWORD;



/// \[[docs.microsoft.com](https://docs.microsoft.com/en-us/windows/win32/direct3d9/d3dcursorcaps)\]
/// D3DCURSORCAPS_*
#[derive(Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Pod, Zeroable)] #[repr(transparent)] pub struct CursorCaps(DWORD);

flags! { CursorCaps => DWORD; None, Color, LowRes }

#[allow(non_upper_case_globals)] impl CursorCaps {
    pub const None                          : CursorCaps = CursorCaps(0);
    pub const Color                         : CursorCaps = CursorCaps(D3DCURSORCAPS_COLOR);
    pub const LowRes                        : CursorCaps = CursorCaps(D3DCURSORCAPS_LOWRES);
}