(svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges...
[openttd.git] / src / statusbar_gui.h
blob574a75c73f3ecb9636c00aa05f110f9fff30fb03
1 /* $Id$ */
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 */
10 /** @file statusbar_gui.h Functions, definitions and such used only by the GUI. */
12 #ifndef STATUSBAR_GUI_H
13 #define STATUSBAR_GUI_H
15 /** What of the statusbar must be invalidated? */
16 enum StatusBarInvalidate {
17 SBI_SAVELOAD_START, ///< started saving
18 SBI_SAVELOAD_FINISH, ///< finished saving
19 SBI_SHOW_TICKER, ///< start scrolling news
20 SBI_SHOW_REMINDER, ///< show a reminder (dot on the right side of the statusbar)
21 SBI_NEWS_DELETED, ///< abort current news display (active news were deleted)
22 SBI_END
25 bool IsNewsTickerShown();
26 void ShowStatusBar();
28 #endif /* STATUSBAR_GUI_H */