(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:
rubidium
2008-05-16 07:08:04 +00:00
parent 7c7a4de3e5
commit 7491b792e2
8 changed files with 55 additions and 17 deletions

20
src/statusbar_gui.h Normal file
View 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 */