sdl3_sys/metadata/generated/
messagebox.rs

1//! Metadata for items in the `crate::messagebox` module
2
3use super::*;
4
5pub const METADATA_SDL_MessageBoxFlags: Group = Group {
6    module: "messagebox",
7    kind: GroupKind::Flags,
8    name: "SDL_MessageBoxFlags",
9    short_name: "MessageBoxFlags",
10    doc: Some(
11        "Message box flags.\n\nIf supported will display warning icon, etc.\n\n## Availability\nThis datatype is available since SDL 3.2.0.\n",
12    ),
13    available_since: Some(SDL_VERSIONNUM(3, 2, 0)),
14    values: &[
15        GroupValue {
16            name: "SDL_MESSAGEBOX_ERROR",
17            short_name: "ERROR",
18            doc: Some("error dialog\n"),
19            available_since: None,
20        },
21        GroupValue {
22            name: "SDL_MESSAGEBOX_WARNING",
23            short_name: "WARNING",
24            doc: Some("warning dialog\n"),
25            available_since: None,
26        },
27        GroupValue {
28            name: "SDL_MESSAGEBOX_INFORMATION",
29            short_name: "INFORMATION",
30            doc: Some("informational dialog\n"),
31            available_since: None,
32        },
33        GroupValue {
34            name: "SDL_MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT",
35            short_name: "BUTTONS_LEFT_TO_RIGHT",
36            doc: Some("buttons placed left to right\n"),
37            available_since: None,
38        },
39        GroupValue {
40            name: "SDL_MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT",
41            short_name: "BUTTONS_RIGHT_TO_LEFT",
42            doc: Some("buttons placed right to left\n"),
43            available_since: None,
44        },
45    ],
46};
47pub const METADATA_SDL_MessageBoxButtonFlags: Group = Group {
48    module: "messagebox",
49    kind: GroupKind::Flags,
50    name: "SDL_MessageBoxButtonFlags",
51    short_name: "MessageBoxButtonFlags",
52    doc: Some(
53        "[`SDL_MessageBoxButtonData`] flags.\n\n## Availability\nThis datatype is available since SDL 3.2.0.\n",
54    ),
55    available_since: Some(SDL_VERSIONNUM(3, 2, 0)),
56    values: &[
57        GroupValue {
58            name: "SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT",
59            short_name: "RETURNKEY_DEFAULT",
60            doc: Some("Marks the default button when return is hit\n"),
61            available_since: None,
62        },
63        GroupValue {
64            name: "SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT",
65            short_name: "ESCAPEKEY_DEFAULT",
66            doc: Some("Marks the default button when escape is hit\n"),
67            available_since: None,
68        },
69    ],
70};
71pub const METADATA_SDL_MessageBoxColorType: Group = Group {
72    module: "messagebox",
73    kind: GroupKind::Enum,
74    name: "SDL_MessageBoxColorType",
75    short_name: "MessageBoxColorType",
76    doc: Some(
77        "An enumeration of indices inside the colors array of\n[`SDL_MessageBoxColorScheme`].\n",
78    ),
79    available_since: None,
80    values: &[
81        GroupValue {
82            name: "SDL_MESSAGEBOX_COLOR_BACKGROUND",
83            short_name: "BACKGROUND",
84            doc: None,
85            available_since: None,
86        },
87        GroupValue {
88            name: "SDL_MESSAGEBOX_COLOR_TEXT",
89            short_name: "TEXT",
90            doc: None,
91            available_since: None,
92        },
93        GroupValue {
94            name: "SDL_MESSAGEBOX_COLOR_BUTTON_BORDER",
95            short_name: "BUTTON_BORDER",
96            doc: None,
97            available_since: None,
98        },
99        GroupValue {
100            name: "SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND",
101            short_name: "BUTTON_BACKGROUND",
102            doc: None,
103            available_since: None,
104        },
105        GroupValue {
106            name: "SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED",
107            short_name: "BUTTON_SELECTED",
108            doc: None,
109            available_since: None,
110        },
111        GroupValue {
112            name: "SDL_MESSAGEBOX_COLOR_COUNT",
113            short_name: "COUNT",
114            doc: Some("Size of the colors array of [`SDL_MessageBoxColorScheme`].\n"),
115            available_since: None,
116        },
117    ],
118};