|
OpenTTD Source 15.0-RC2
|
Base types for having sorted lists in GUIs. More...
Go to the source code of this file.
Data Structures | |
| struct | Listing |
| Data structure describing how to show the list (what sort direction and criteria). More... | |
| struct | Filtering |
| Data structure describing what to show in the list (filter criteria). More... | |
| class | GUIList< T, P, F > |
List template of 'things' T to sort in a GUI. More... | |
Typedefs | |
| using | SortListFlags = EnumBitSet< SortListFlag, uint8_t > |
Enumerations | |
| enum class | SortListFlag : uint8_t { Desc , Resort , Rebuild , Filter } |
| Flags of the sort list. More... | |
Base types for having sorted lists in GUIs.
Definition in file sortlist_type.h.
| using SortListFlags = EnumBitSet<SortListFlag, uint8_t> |
Definition at line 23 of file sortlist_type.h.
|
strong |
Flags of the sort list.
| Enumerator | |
|---|---|
| Desc | sort descending or ascending |
| Resort | instruct the code to resort the list in the next loop |
| Rebuild | rebuild the sort list |
| Filter | filter disabled/enabled |
Definition at line 17 of file sortlist_type.h.