summaryrefslogtreecommitdiff
path: root/src/statusbar_gui.cpp
diff options
context:
space:
mode:
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;