OpenTTD: src/widgets/news_widget.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

news_widget.h
Go to the documentation of this file.
1 /* $Id: news_widget.h 24842 2012-12-23 21:06:37Z frosch $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
9
12 #ifndef WIDGETS_NEWS_WIDGET_H
13 #define WIDGETS_NEWS_WIDGET_H
14
15 #include "../news_type.h"
16
18 enum NewsWidgets {
19 WID_N_PANEL,
20 WID_N_TITLE,
21 WID_N_HEADLINE,
22 WID_N_CLOSEBOX,
23 WID_N_DATE,
24 WID_N_CAPTION,
25 WID_N_INSET,
26 WID_N_VIEWPORT,
27 WID_N_COMPANY_MSG,
28 WID_N_MESSAGE,
29 WID_N_MGR_FACE,
30 WID_N_MGR_NAME,
31 WID_N_VEH_TITLE,
32 WID_N_VEH_BKGND,
33 WID_N_VEH_NAME,
34 WID_N_VEH_SPR,
35 WID_N_VEH_INFO,
36 };
37
39 enum MessageHistoryWidgets {
40 WID_MH_STICKYBOX,
41 WID_MH_BACKGROUND,
42 WID_MH_SCROLLBAR,
43 };
44
45 #endif /* WIDGETS_NEWS_WIDGET_H */