OpenTTD Source  20241120-master-g6d3adc6169
picker_widget.h
Go to the documentation of this file.
1 /*
2  * This file is part of OpenTTD.
3  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6  */
7 
10 #ifndef WIDGETS_PICKER_WIDGET_H
11 #define WIDGETS_PICKER_WIDGET_H
12 
15  WID_PW_START = 1 << 16,
16 
21 
32 };
33 
34 #endif /* WIDGETS_PICKER_WIDGET_H */
PickerClassWindowWidgets
Widgets of the PickerWindow class.
Definition: picker_widget.h:14
@ WID_PW_MODE_SAVED
Toggle showing only saved types.
Definition: picker_widget.h:26
@ WID_PW_CLASS_FILTER
Editbox filter.
Definition: picker_widget.h:18
@ WID_PW_TYPE_SCROLL
Scrollbar for the matrix.
Definition: picker_widget.h:29
@ WID_PW_TYPE_ITEM
A single item.
Definition: picker_widget.h:28
@ WID_PW_CLASS_LIST
List of classes.
Definition: picker_widget.h:19
@ WID_PW_TYPE_FILTER
Text filter.
Definition: picker_widget.h:23
@ WID_PW_MODE_USED
Toggle showing only used types.
Definition: picker_widget.h:25
@ WID_PW_TYPE_MATRIX
Matrix with items.
Definition: picker_widget.h:27
@ WID_PW_CLASS_SEL
Stack to hide the class picker.
Definition: picker_widget.h:17
@ WID_PW_MODE_ALL
Toggle "Show all" filter mode.
Definition: picker_widget.h:24
@ WID_PW_CLASS_SCROLL
Scrollbar for list of classes.
Definition: picker_widget.h:20
@ WID_PW_TYPE_SEL
Stack to hide the type picker.
Definition: picker_widget.h:22
@ WID_PW_TYPE_NAME
Name of selected item.
Definition: picker_widget.h:30
@ WID_PW_TYPE_RESIZE
Type resize handle.
Definition: picker_widget.h:31
@ WID_PW_START
Dummy to ensure widgets don't overlap.
Definition: picker_widget.h:15
int WidgetID
Widget ID.
Definition: window_type.h:18