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 8 /** @file transparency_widget.h Types related to the transparency widgets. */ 9 10 #ifndef WIDGETS_TRANSPARENCY_WIDGET_H 11 #define WIDGETS_TRANSPARENCY_WIDGET_H 12 13 /** Widgets of the #TransparenciesWindow class. */ 14 enum TransparencyToolbarWidgets { 15 /* Button row. */ 16 WID_TT_BEGIN, ///< First toggle button. 17 WID_TT_SIGNS = WID_TT_BEGIN, ///< Signs background transparency toggle button. 18 WID_TT_TREES, ///< Trees transparency toggle button. 19 WID_TT_HOUSES, ///< Houses transparency toggle button. 20 WID_TT_INDUSTRIES, ///< industries transparency toggle button. 21 WID_TT_BUILDINGS, ///< Company buildings and structures transparency toggle button. 22 WID_TT_BRIDGES, ///< Bridges transparency toggle button. 23 WID_TT_STRUCTURES, ///< Object structure transparency toggle button. 24 WID_TT_CATENARY, ///< Catenary transparency toggle button. 25 WID_TT_LOADING, ///< Loading indicators transparency toggle button. 26 WID_TT_END, ///< End of toggle buttons. 27 28 /* Panel with buttons for invisibility */ 29 WID_TT_BUTTONS, ///< Panel with 'invisibility' buttons. 30 }; 31 32 #endif /* WIDGETS_TRANSPARENCY_WIDGET_H */ 33