summaryrefslogtreecommitdiff
path: root/src/statusbar_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-16 07:08:04 +0000
committerrubidium <rubidium@openttd.org>2008-05-16 07:08:04 +0000
commit7491b792e2201bb6c3fa62a1c99a5b6d83304d31 (patch)
tree71b42c2570a5e13678d6722deaf7787da0a7ade9 /src/statusbar_gui.h
parent7c7a4de3e58c4699e3c8f3ca5cf20fb874c1953c (diff)
downloadopenttd-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.h20
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 */