Fix 56510b5d7b: CargoArray does need to be initialised... (#13168)
[openttd-github.git] / src / statusbar_gui.h
blob26503dbff1af40ac8b6f4cea682de4098c6c3b2d
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file statusbar_gui.h Functions, definitions and such used only by the GUI. */
10 #ifndef STATUSBAR_GUI_H
11 #define STATUSBAR_GUI_H
13 /** What of the statusbar must be invalidated? */
14 enum StatusBarInvalidate {
15 SBI_SAVELOAD_START, ///< started saving
16 SBI_SAVELOAD_FINISH, ///< finished saving
17 SBI_SHOW_TICKER, ///< start scrolling news
18 SBI_SHOW_REMINDER, ///< show a reminder (dot on the right side of the statusbar)
19 SBI_NEWS_DELETED, ///< abort current news display (active news were deleted)
20 SBI_END
23 bool IsNewsTickerShown();
24 void ShowStatusBar();
26 #endif /* STATUSBAR_GUI_H */