From 7491b792e2201bb6c3fa62a1c99a5b6d83304d31 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 16 May 2008 07:08:04 +0000 Subject: (svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar. --- src/statusbar_gui.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/statusbar_gui.h (limited to 'src/statusbar_gui.h') diff --git a/src/statusbar_gui.h b/src/statusbar_gui.h new file mode 100644 index 000000000..8003bf6ea --- /dev/null +++ b/src/statusbar_gui.h @@ -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 */ -- cgit v1.2.3-54-g00ecf