diff options
author | rubidium <rubidium@openttd.org> | 2008-05-16 07:08:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-16 07:08:04 +0000 |
commit | 7491b792e2201bb6c3fa62a1c99a5b6d83304d31 (patch) | |
tree | 71b42c2570a5e13678d6722deaf7787da0a7ade9 /src/statusbar_gui.h | |
parent | 7c7a4de3e58c4699e3c8f3ca5cf20fb874c1953c (diff) | |
download | openttd-7491b792e2201bb6c3fa62a1c99a5b6d83304d31.tar.xz |
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
Diffstat (limited to 'src/statusbar_gui.h')
-rw-r--r-- | src/statusbar_gui.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 */ |