OpenTTD Source  20241108-master-g80f628063a
picker_widget.h File Reference

Types related to the picker widgets. More...

Go to the source code of this file.

Enumerations

enum  PickerClassWindowWidgets : WidgetID {
  WID_PW_START = 1 << 16 , WID_PW_CLASS_SEL , WID_PW_CLASS_FILTER , WID_PW_CLASS_LIST ,
  WID_PW_CLASS_SCROLL , WID_PW_TYPE_SEL , WID_PW_TYPE_FILTER , WID_PW_MODE_ALL ,
  WID_PW_MODE_USED , WID_PW_MODE_SAVED , WID_PW_TYPE_MATRIX , WID_PW_TYPE_ITEM ,
  WID_PW_TYPE_SCROLL , WID_PW_TYPE_NAME , WID_PW_TYPE_RESIZE
}
 Widgets of the PickerWindow class. More...
 

Detailed Description

Types related to the picker widgets.

Definition in file picker_widget.h.

Enumeration Type Documentation

◆ PickerClassWindowWidgets

Widgets of the PickerWindow class.

Enumerator
WID_PW_START 

Dummy to ensure widgets don't overlap.

WID_PW_CLASS_SEL 

Stack to hide the class picker.

WID_PW_CLASS_FILTER 

Editbox filter.

WID_PW_CLASS_LIST 

List of classes.

WID_PW_CLASS_SCROLL 

Scrollbar for list of classes.

WID_PW_TYPE_SEL 

Stack to hide the type picker.

WID_PW_TYPE_FILTER 

Text filter.

WID_PW_MODE_ALL 

Toggle "Show all" filter mode.

WID_PW_MODE_USED 

Toggle showing only used types.

WID_PW_MODE_SAVED 

Toggle showing only saved types.

WID_PW_TYPE_MATRIX 

Matrix with items.

WID_PW_TYPE_ITEM 

A single item.

WID_PW_TYPE_SCROLL 

Scrollbar for the matrix.

WID_PW_TYPE_NAME 

Name of selected item.

WID_PW_TYPE_RESIZE 

Type resize handle.

Definition at line 14 of file picker_widget.h.