OpenTTD Source 20241224-master-gee860a5c8e
|
Filter for settings list. More...
Data Fields | |
StringFilter | string |
Filter string. | |
RestrictionMode | min_cat |
Minimum category needed to display all filtered strings (RM_BASIC, RM_ADVANCED, or RM_ALL). | |
bool | type_hides |
Whether the type hides filtered strings. | |
RestrictionMode | mode |
Filter based on category. | |
SettingType | type |
Filter based on type. | |
Filter for settings list.
Definition at line 1233 of file settings_gui.cpp.
RestrictionMode SettingFilter::min_cat |
Minimum category needed to display all filtered strings (RM_BASIC, RM_ADVANCED, or RM_ALL).
Definition at line 1235 of file settings_gui.cpp.
Referenced by GameSettingsWindow::OnInvalidateData(), GameSettingsWindow::OnPaint(), and SettingEntry::UpdateFilterState().
RestrictionMode SettingFilter::mode |
Filter based on category.
Definition at line 1237 of file settings_gui.cpp.
Referenced by GameSettingsWindow::OnClick(), GameSettingsWindow::OnDropdownSelect(), GameSettingsWindow::OnInvalidateData(), GameSettingsWindow::SetStringParameters(), and SettingEntry::UpdateFilterState().
StringFilter SettingFilter::string |
Filter string.
Definition at line 1234 of file settings_gui.cpp.
Referenced by GameSettingsWindow::OnEditboxChanged(), GameSettingsWindow::OnInvalidateData(), SettingEntry::UpdateFilterState(), and SettingsPage::UpdateFilterState().
SettingType SettingFilter::type |
Filter based on type.
Definition at line 1238 of file settings_gui.cpp.
Referenced by GameSettingsWindow::OnClick(), GameSettingsWindow::OnDropdownSelect(), GameSettingsWindow::SetStringParameters(), and SettingEntry::UpdateFilterState().
bool SettingFilter::type_hides |
Whether the type hides filtered strings.
Definition at line 1236 of file settings_gui.cpp.
Referenced by GameSettingsWindow::OnInvalidateData(), and SettingEntry::UpdateFilterState().