OpenTTD Source 20250312-master-gcdcc6b491d
PickerFilterData Struct Reference
Inheritance diagram for PickerFilterData:
StringFilter

Data Fields

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

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 *str)
 Pass another text line from the current item to the filter.
 
void AddLine (const std::string &str)
 
bool GetState () const
 Get the matching state of the current item.
 

Detailed Description

Definition at line 145 of file picker_gui.h.

Field Documentation

◆ btf

std::optional<BadgeTextFilter> PickerFilterData::btf

Definition at line 147 of file picker_gui.h.

◆ callbacks

const PickerCallbacks* PickerFilterData::callbacks

Callbacks for filter functions to access to callbacks.

Definition at line 146 of file picker_gui.h.

Referenced by ClassTagNameFilter(), and TypeTagNameFilter().


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