OpenTTD Source 20241224-master-gee860a5c8e
|
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< NWidgetBase > | MakePickerClassWidgets () |
Create nested widgets for the class picker widgets. | |
std::unique_ptr< NWidgetBase > | MakePickerTypeWidgets () |
Create nested widgets for the type picker widgets. | |
using PickerClassList = GUIList<int, std::nullptr_t, PickerFilterData &> |
GUIList holding classes to display.
Definition at line 145 of file picker_gui.h.
using PickerTypeList = GUIList<PickerItem, std::nullptr_t, PickerFilterData &> |
GUIList holding classes/types to display.
Definition at line 146 of file picker_gui.h.
std::unique_ptr< NWidgetBase > MakePickerClassWidgets | ( | ) |
Create nested widgets for the class picker widgets.
Definition at line 623 of file picker_gui.cpp.
References EndContainer(), MakeNWidgets(), NWID_HORIZONTAL, NWID_SELECTION, NWID_VERTICAL, NWID_VSCROLLBAR, NWidget(), SetDataTip(), SetFill(), SetMatrixDataTip(), SetMinimalSize(), SetPadding(), SetResize(), SetScrollbar(), WidgetDimensions::unscaled, WID_PW_CLASS_FILTER, WID_PW_CLASS_LIST, WID_PW_CLASS_SCROLL, WID_PW_CLASS_SEL, WWT_EDITBOX, WWT_MATRIX, and WWT_PANEL.
std::unique_ptr< NWidgetBase > MakePickerTypeWidgets | ( | ) |
Create nested widgets for the type picker widgets.
Definition at line 646 of file picker_gui.cpp.
References EndContainer(), MakeNWidgets(), NC_EQUALSIZE, NWID_HORIZONTAL, NWID_MATRIX, NWID_SELECTION, NWID_VERTICAL, NWID_VSCROLLBAR, NWidget(), SetDataTip(), SetFill(), SetMinimalTextLines(), SetPadding(), SetPIP(), SetResize(), SetScrollbar(), WidgetDimensions::unscaled, WID_PW_MODE_ALL, WID_PW_MODE_SAVED, WID_PW_MODE_USED, WID_PW_TYPE_FILTER, WID_PW_TYPE_ITEM, WID_PW_TYPE_MATRIX, WID_PW_TYPE_NAME, WID_PW_TYPE_RESIZE, WID_PW_TYPE_SCROLL, WID_PW_TYPE_SEL, WWT_EDITBOX, WWT_EMPTY, WWT_PANEL, WWT_RESIZEBOX, and WWT_TEXTBTN.