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.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp
index f8d853937..c83203212 100644
--- a/src/statusbar_gui.cpp
+++ b/src/statusbar_gui.cpp
@@ -83,12 +83,10 @@ struct StatusBarWindow : Window {
int ticker_scroll;
int reminder_timeout;
- enum {
- TICKER_STOP = 1640, ///< scrolling is finished when counter reaches this value
- REMINDER_START = 91, ///< initial value of the reminder counter (right dot on the right)
- REMINDER_STOP = 0, ///< reminder disappears when counter reaches this value
- COUNTER_STEP = 2, ///< this is subtracted from active counters every tick
- };
+ static const int TICKER_STOP = 1640; ///< scrolling is finished when counter reaches this value
+ static const int REMINDER_START = 91; ///< initial value of the reminder counter (right dot on the right)
+ static const int REMINDER_STOP = 0; ///< reminder disappears when counter reaches this value
+ static const int COUNTER_STEP = 2; ///< this is subtracted from active counters every tick
StatusBarWindow(const WindowDesc *desc) : Window()
{