00001 /* $Id: statusbar_gui.h 24900 2013-01-08 22:46:42Z planetmaker $ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * 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. 00006 * 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. 00007 * 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/>. 00008 */ 00009 00012 #ifndef STATUSBAR_GUI_H 00013 #define STATUSBAR_GUI_H 00014 00016 enum StatusBarInvalidate { 00017 SBI_SAVELOAD_START, 00018 SBI_SAVELOAD_FINISH, 00019 SBI_SHOW_TICKER, 00020 SBI_SHOW_REMINDER, 00021 SBI_NEWS_DELETED, 00022 SBI_END 00023 }; 00024 00025 bool IsNewsTickerShown(); 00026 void ShowStatusBar(); 00027 00028 extern int16 *_preferred_statusbar_size; 00029 00030 #endif /* STATUSBAR_GUI_H */