summaryrefslogtreecommitdiff
path: root/src/statusbar_gui.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
committertruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
commit2aa774e831ad1cb7849c998759449ef777c5c664 (patch)
tree37293298be999cb3446fe4af7f11e107bfa17c3d /src/statusbar_gui.cpp
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/statusbar_gui.cpp')
-rw-r--r--src/statusbar_gui.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp
index ed9822eee..667240595 100644
--- a/src/statusbar_gui.cpp
+++ b/src/statusbar_gui.cpp
@@ -26,6 +26,8 @@
#include "statusbar_gui.h"
#include "core/geometry_func.hpp"
+#include "widgets/statusbar_widget.h"
+
#include "table/strings.h"
#include "table/sprites.h"
@@ -71,12 +73,6 @@ static bool DrawScrollingStatusText(const NewsItem *ni, int scroll_pos, int left
return (_current_text_dir == TD_RTL) ? (pos < right - left) : (pos + width > 0);
}
-enum StatusbarWidget {
- SBW_LEFT, ///< left part of the statusbar; date is shown there
- SBW_MIDDLE, ///< middle part; current news or company name or *** SAVING *** or *** PAUSED ***
- SBW_RIGHT, ///< right part; bank balance
-};
-
struct StatusBarWindow : Window {
bool saving;
int ticker_scroll;