OpenTTD Source 20250709-master-g7db135099a
PickerFilterData Struct Reference
Inheritance diagram for PickerFilterData:
StringFilter

Data Fields

const PickerCallbackscallbacks
 Callbacks for filter functions to access to callbacks.
 
std::optional< BadgeTextFilterbtf
 
std::optional< BadgeDropdownFilterbdf
 

Additional Inherited Members

- Public Member Functions inherited from StringFilter
 StringFilter (const bool *case_sensitive=nullptr, bool locale_aware=true)
 Constructor for filter.
 
void SetFilterTerm (std::string_view str)
 Set the term to filter on.
 
bool IsEmpty () const
 Check whether any filter words were entered.
 
void ResetState ()
 Reset the matching state to process a new item.
 
void AddLine (const char *)=delete
 
void AddLine (std::string_view str)
 Pass another text line from the current item to the filter.
 
bool GetState () const
 Get the matching state of the current item.
 

Detailed Description

Definition at line 148 of file picker_gui.h.

Field Documentation

◆ bdf

std::optional<BadgeDropdownFilter> PickerFilterData::bdf

Definition at line 151 of file picker_gui.h.

◆ btf

std::optional<BadgeTextFilter> PickerFilterData::btf

Definition at line 150 of file picker_gui.h.

◆ callbacks

const PickerCallbacks* PickerFilterData::callbacks

Callbacks for filter functions to access to callbacks.

Definition at line 149 of file picker_gui.h.

Referenced by ClassTagNameFilter(), and TypeTagNameFilter().


The documentation for this struct was generated from the following file: