OpenTTD Source 20241224-master-gee860a5c8e
PickerFilterData Struct Reference
Inheritance diagram for PickerFilterData:
StringFilter

Data Fields

const PickerCallbackscallbacks
 Callbacks for filter functions to access to callbacks.
 

Additional Inherited Members

- Public Member Functions inherited from StringFilter
 StringFilter (const bool *case_sensitive=nullptr, bool locale_aware=true)
 Constructor for filter.
 
void SetFilterTerm (const char *str)
 Set the term to filter on.
 
void SetFilterTerm (const std::string &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 *str)
 Pass another text line from the current item to the filter.
 
void AddLine (const std::string &str)
 Pass another text line from the current item to the filter.
 
void AddLine (StringID 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 141 of file picker_gui.h.

Field Documentation

◆ callbacks

const PickerCallbacks* PickerFilterData::callbacks

Callbacks for filter functions to access to callbacks.

Definition at line 142 of file picker_gui.h.

Referenced by ClassTagNameFilter(), and TypeTagNameFilter().


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