OpenTTD Source 20241224-master-gee860a5c8e
picker_gui.h File Reference

Functions/types etc. More...

#include "querystring_gui.h"
#include "sortlist_type.h"
#include "stringfilter_type.h"
#include "strings_type.h"
#include "timer/timer.h"
#include "timer/timer_game_calendar.h"
#include "timer/timer_window.h"
#include "window_gui.h"
#include "window_type.h"

Go to the source code of this file.

Data Structures

struct  PickerItem
 
class  PickerCallbacks
 Class for PickerClassWindow to collect information and retain state. More...
 
class  PickerCallbacksNewGRFClass< T >
 Helper for PickerCallbacks when the class system is based on NewGRFClass. More...
 
struct  PickerFilterData
 
class  PickerWindow
 

Typedefs

using PickerClassList = GUIList< int, std::nullptr_t, PickerFilterData & >
 GUIList holding classes to display.
 
using PickerTypeList = GUIList< PickerItem, std::nullptr_t, PickerFilterData & >
 GUIList holding classes/types to display.
 

Functions

std::unique_ptr< NWidgetBaseMakePickerClassWidgets ()
 Create nested widgets for the class picker widgets.
 
std::unique_ptr< NWidgetBaseMakePickerTypeWidgets ()
 Create nested widgets for the type picker widgets.
 

Detailed Description

Functions/types etc.

related to the picker GUI.

Definition in file picker_gui.h.

Typedef Documentation

◆ PickerClassList

using PickerClassList = GUIList<int, std::nullptr_t, PickerFilterData &>

GUIList holding classes to display.

Definition at line 145 of file picker_gui.h.

◆ PickerTypeList

using PickerTypeList = GUIList<PickerItem, std::nullptr_t, PickerFilterData &>

GUIList holding classes/types to display.

Definition at line 146 of file picker_gui.h.

Function Documentation

◆ MakePickerClassWidgets()

◆ MakePickerTypeWidgets()