Update readme and changelog for v1.26.0
[openttd-joker.git] / src / statusbar_gui.h
blobb8fc38c5fb5469e39f67e68a8b6e88c4f6fe4ea1
1 /* $Id: statusbar_gui.h 25289 2013-05-26 19:24:37Z frosch $ */
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_TICKS_PER_MINUTE,///< ticks per minute changed, redraw time.
23 SBI_END
26 bool IsNewsTickerShown();
27 void ShowStatusBar();
29 #endif /* STATUSBAR_GUI_H */