1 2 /* 3 * This file is part of OpenTTD. 4 * 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. 5 * 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. 6 * 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/>. 7 */ 8 9 /** @file story_widget.h Types related to the story widgets. */ 10 11 #ifndef WIDGETS_STORY_WIDGET_H 12 #define WIDGETS_STORY_WIDGET_H 13 14 /** Widgets of the #GoalListWindow class. */ 15 enum StoryBookWidgets { 16 WID_SB_CAPTION, ///< Caption of the window. 17 WID_SB_SEL_PAGE, ///< Page selector. 18 WID_SB_PAGE_PANEL,///< Page body. 19 WID_SB_SCROLLBAR, ///< Scrollbar of the goal list. 20 WID_SB_PREV_PAGE, ///< Prev button. 21 WID_SB_NEXT_PAGE, ///< Next button. 22 }; 23 24 #endif /* WIDGETS_STORY_WIDGET_H */ 25