2008-05-16 07:08:04 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2008-05-16 07:08:04 +00:00
|
|
|
/** @file statusbar_gui.h Functions, definitions and such used only by the GUI. */
|
|
|
|
|
|
|
|
#ifndef STATUSBAR_GUI_H
|
|
|
|
#define STATUSBAR_GUI_H
|
|
|
|
|
2011-05-01 19:51:52 +00:00
|
|
|
/** What of the statusbar must be invalidated? */
|
2009-01-09 23:49:46 +00:00
|
|
|
enum StatusBarInvalidate {
|
|
|
|
SBI_SAVELOAD_START, ///< started saving
|
|
|
|
SBI_SAVELOAD_FINISH, ///< finished saving
|
|
|
|
SBI_SHOW_TICKER, ///< start scolling news
|
|
|
|
SBI_SHOW_REMINDER, ///< show a reminder (dot on the right side of the statusbar)
|
|
|
|
SBI_NEWS_DELETED, ///< abort current news display (active news were deleted)
|
2008-05-16 07:08:04 +00:00
|
|
|
SBI_END
|
|
|
|
};
|
|
|
|
|
|
|
|
bool IsNewsTickerShown();
|
|
|
|
void ShowStatusBar();
|
|
|
|
|
2010-11-13 23:40:36 +00:00
|
|
|
extern int16 *_preferred_statusbar_size;
|
|
|
|
|
2008-05-16 07:08:04 +00:00
|
|
|
#endif /* STATUSBAR_GUI_H */
|