|
OpenTTD Source 20251117-master-g7398d2e290
|
Data Fields | |
| BadgeClassID | class_index |
| Badge class index. | |
| uint8_t | column_group |
| Column group in UI. 0 = left, 1 = centre, 2 = right. | |
| bool | visible |
| Whether the icon is visible. | |
| uint | sort_order |
| Order of element. | |
| Dimension | size |
| Maximal size of this element. | |
| std::string_view | label |
| Class label (string owned by the class badge) | |
Definition at line 21 of file newgrf_badge_gui.h.
| BadgeClassID GUIBadgeClasses::Element::class_index |
Badge class index.
Definition at line 22 of file newgrf_badge_gui.h.
| uint8_t GUIBadgeClasses::Element::column_group |
Column group in UI. 0 = left, 1 = centre, 2 = right.
Definition at line 23 of file newgrf_badge_gui.h.
| std::string_view GUIBadgeClasses::Element::label |
Class label (string owned by the class badge)
Definition at line 27 of file newgrf_badge_gui.h.
| Dimension GUIBadgeClasses::Element::size |
Maximal size of this element.
Definition at line 26 of file newgrf_badge_gui.h.
| uint GUIBadgeClasses::Element::sort_order |
Order of element.
Definition at line 25 of file newgrf_badge_gui.h.
| bool GUIBadgeClasses::Element::visible |
Whether the icon is visible.
Definition at line 24 of file newgrf_badge_gui.h.