OpenTTD Source 20260129-master-g2bb01bd0e4
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 188 of file picker_gui.h.

Field Documentation

◆ bdf

std::optional<BadgeDropdownFilter> PickerFilterData::bdf

Definition at line 191 of file picker_gui.h.

◆ btf

std::optional<BadgeTextFilter> PickerFilterData::btf

Definition at line 190 of file picker_gui.h.

◆ callbacks

const PickerCallbacks* PickerFilterData::callbacks

Callbacks for filter functions to access to callbacks.

Definition at line 189 of file picker_gui.h.

Referenced by ClassTagNameFilter(), and TypeTagNameFilter().


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