OpenTTD Source: src/widgets/dropdown_widget.h Source File

OpenTTD Source 13.1

dropdown_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_DROPDOWN_WIDGET_H
11 #define WIDGETS_DROPDOWN_WIDGET_H
12
14 enum DropdownMenuWidgets {
15 WID_DM_ITEMS,
16 WID_DM_SHOW_SCROLL,
17 WID_DM_SCROLL,
18 };
19
20 #endif /* WIDGETS_DROPDOWN_WIDGET_H */
DropdownMenuWidgets
DropdownMenuWidgets
Widgets of the DropdownWindow class.
Definition: dropdown_widget.h:14
WID_DM_SHOW_SCROLL
@ WID_DM_SHOW_SCROLL
Hide scrollbar if too few items.
Definition: dropdown_widget.h:16
WID_DM_ITEMS
@ WID_DM_ITEMS
Panel showing the dropdown items.
Definition: dropdown_widget.h:15
WID_DM_SCROLL
@ WID_DM_SCROLL
Scrollbar.
Definition: dropdown_widget.h:17