forked from mirror/OpenTTD
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
This commit is contained in:
20
src/statusbar_gui.h
Normal file
20
src/statusbar_gui.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* $Id$ */
|
||||
|
||||
/** @file statusbar_gui.h Functions, definitions and such used only by the GUI. */
|
||||
|
||||
#ifndef STATUSBAR_GUI_H
|
||||
#define STATUSBAR_GUI_H
|
||||
|
||||
enum StatusBarInvalidate
|
||||
{
|
||||
SBI_SAVELOAD_START,
|
||||
SBI_SAVELOAD_FINISH,
|
||||
SBI_SHOW_TICKER,
|
||||
SBI_SHOW_REMINDER,
|
||||
SBI_END
|
||||
};
|
||||
|
||||
bool IsNewsTickerShown();
|
||||
void ShowStatusBar();
|
||||
|
||||
#endif /* STATUSBAR_GUI_H */
|
Reference in New Issue
Block a user