native_windows_gui2/resources/
system_images.rs

1/*!
2    Identifier for built-in system resoucres
3*/
4
5/**
6    List of built-in system images identifiers. To use with the `Image` resource.
7*/
8#[derive(Clone, PartialEq, Debug)]
9pub enum OemImage {
10    Cursor(OemCursor),
11    Bitmap(OemBitmap),
12    Icon(OemIcon),
13}
14
15/**
16    List of system cursors. To use with the `Image` resource.
17*/
18#[derive(Clone, Copy, PartialEq, Debug)]
19pub enum OemCursor {
20    Normal = 32512,
21    IBeam = 32513,
22    Wait = 32514,
23    Cross = 32515,
24    Up = 32516,
25    Size = 32640,
26    Icon = 32641,
27    SizeNWSE = 32642,
28    SizeNESW = 32643,
29    SizeWE = 32644,
30    SizeNS = 32645,
31    SizeALL = 32646,
32    No = 32648,
33    AppStarting = 32650,
34}
35
36/**
37    List of system bitmaps. To use with the `Image` resource.
38*/
39#[derive(Clone, Copy, PartialEq, Debug)]
40pub enum OemBitmap {
41    BtnCorners = 32758,
42    BtSize = 32761,
43    Check = 32760,
44    CheckBoxes = 32759,
45    Close = 32754,
46    Combo = 32738,
47    DnArrow = 32752,
48    DnArrowD = 32742,
49    DnArrowI = 32736,
50    LfArrow = 32750,
51    LfArrowI = 32734,
52    LfrrowD = 32740,
53    MnArrow = 32739,
54    OldCLOSE = 32767,
55    OldDnArrow = 32764,
56    OldLfArrow = 32762,
57    OldReduce = 32757,
58    OldRestore = 32755,
59    OldRgArrow = 32763,
60    OldUpArrow = 32765,
61    OldZoom = 32756,
62    Reduce = 32749,
63    Reduced = 32746,
64    Restore = 32747,
65    Restored = 32744,
66    RgArrow = 32751,
67    RgArrowD = 32741,
68    RgArrowI = 32735,
69    Size = 32766,
70    UpArrow = 32753,
71    UpArrowD = 32743,
72    UpArrowI = 32737,
73    Zoom = 32748,
74    ZoomD = 32745,
75}
76
77/**
78    List of system icons. To use with the `Image` resource.
79*/
80#[derive(Clone, Copy, PartialEq, Debug)]
81pub enum OemIcon {
82    Sample = 32512,
83    Ques = 32514,
84    WinLogo = 32517,
85    Warning = 32515,
86    Error = 32513,
87    Information = 32516,
88}