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

OpenTTD Source 14.0-beta1

transparency_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_TRANSPARENCY_WIDGET_H
11 #define WIDGETS_TRANSPARENCY_WIDGET_H
12
14 enum TransparencyToolbarWidgets : WidgetID {
15 /* Button row. */
16 WID_TT_BEGIN,
17 WID_TT_SIGNS = WID_TT_BEGIN,
18 WID_TT_TREES,
19 WID_TT_HOUSES,
20 WID_TT_INDUSTRIES,
21 WID_TT_BUILDINGS,
22 WID_TT_BRIDGES,
23 WID_TT_STRUCTURES,
24 WID_TT_CATENARY,
25 WID_TT_TEXT,
26 WID_TT_END,
27
28 /* Panel with buttons for invisibility */
29 WID_TT_BUTTONS,
30 };
31
32 #endif /* WIDGETS_TRANSPARENCY_WIDGET_H */
WID_TT_CATENARY
@ WID_TT_CATENARY
Catenary transparency toggle button.
Definition: transparency_widget.h:24
TransparencyToolbarWidgets
TransparencyToolbarWidgets
Widgets of the TransparenciesWindow class.
Definition: transparency_widget.h:14
WID_TT_HOUSES
@ WID_TT_HOUSES
Houses transparency toggle button.
Definition: transparency_widget.h:19
WID_TT_BUILDINGS
@ WID_TT_BUILDINGS
Company buildings and structures transparency toggle button.
Definition: transparency_widget.h:21
WidgetID
int WidgetID
Widget ID.
Definition: window_type.h:18
WID_TT_TEXT
@ WID_TT_TEXT
Loading and cost/income text transparency toggle button.
Definition: transparency_widget.h:25
WID_TT_TREES
@ WID_TT_TREES
Trees transparency toggle button.
Definition: transparency_widget.h:18
WID_TT_SIGNS
@ WID_TT_SIGNS
Signs background transparency toggle button.
Definition: transparency_widget.h:17
WID_TT_BRIDGES
@ WID_TT_BRIDGES
Bridges transparency toggle button.
Definition: transparency_widget.h:22
WID_TT_BEGIN
@ WID_TT_BEGIN
First toggle button.
Definition: transparency_widget.h:16
WID_TT_END
@ WID_TT_END
End of toggle buttons.
Definition: transparency_widget.h:26
WID_TT_INDUSTRIES
@ WID_TT_INDUSTRIES
industries transparency toggle button.
Definition: transparency_widget.h:20
WID_TT_STRUCTURES
@ WID_TT_STRUCTURES
Object structure transparency toggle button.
Definition: transparency_widget.h:23
WID_TT_BUTTONS
@ WID_TT_BUTTONS
Panel with 'invisibility' buttons.
Definition: transparency_widget.h:29