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

OpenTTD Source 15.0-RC2

story_widget.h
Go to the documentation of this file.
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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
7 */
8
11#ifndef WIDGETS_STORY_WIDGET_H
12#define WIDGETS_STORY_WIDGET_H
13
15 enum StoryBookWidgets : WidgetID {
16 WID_SB_CAPTION,
17 WID_SB_SEL_PAGE,
18 WID_SB_PAGE_PANEL,
19 WID_SB_SCROLLBAR,
20 WID_SB_PREV_PAGE,
21 WID_SB_NEXT_PAGE,
22};
23
24#endif /* WIDGETS_STORY_WIDGET_H */
StoryBookWidgets
StoryBookWidgets
Widgets of the GoalListWindow class.
Definition story_widget.h:15
WID_SB_PAGE_PANEL
@ WID_SB_PAGE_PANEL
Page body.
Definition story_widget.h:18
WID_SB_SEL_PAGE
@ WID_SB_SEL_PAGE
Page selector.
Definition story_widget.h:17
WID_SB_SCROLLBAR
@ WID_SB_SCROLLBAR
Scrollbar of the goal list.
Definition story_widget.h:19
WID_SB_CAPTION
@ WID_SB_CAPTION
Caption of the window.
Definition story_widget.h:16
WID_SB_PREV_PAGE
@ WID_SB_PREV_PAGE
Prev button.
Definition story_widget.h:20
WID_SB_NEXT_PAGE
@ WID_SB_NEXT_PAGE
Next button.
Definition story_widget.h:21
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20