|
OpenTTD Source
1.10.0-RC1
|
Public Types | |
| typedef GUIList< const Sign *, StringFilter & > | GUISignList |
| A GUIList contains signs and uses a StringFilter for filtering. | |
Public Member Functions | |
| SignList () | |
| Creates a SignList with filtering disabled by default. | |
| void | BuildSignsList () |
| void | SortSignsList () |
| void | FilterSignList () |
| Filter out signs from the sign list that does not match the name filter. | |
Static Public Member Functions | |
| static bool | SignNameSorter (const Sign *const &a, const Sign *const &b) |
| Sort signs by their name. | |
| static bool CDECL | SignNameFilter (const Sign *const *a, StringFilter &filter) |
| Filter sign list by sign name. | |
| static bool CDECL | OwnerDeityFilter (const Sign *const *a, StringFilter &filter) |
| Filter sign list excluding OWNER_DEITY. | |
| static bool CDECL | OwnerVisibilityFilter (const Sign *const *a, StringFilter &filter) |
| Filter sign list by owner. | |
Data Fields | |
| GUISignList | signs |
| StringFilter | string_filter |
| The match string to be used when the GUIList is (re)-sorted. | |
Static Public Attributes | |
| static bool | match_case = false |
| Should case sensitive matching be used? | |
| static char | default_name [64] |
| Default sign name, used if Sign::name is nullptr. | |
Definition at line 36 of file signs_gui.cpp.