diff options
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r-- | apps/gui/statusbar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h index 989d1cbe3c..57be2b1873 100644 --- a/apps/gui/statusbar.h +++ b/apps/gui/statusbar.h | |||
@@ -22,11 +22,16 @@ | |||
22 | 22 | ||
23 | #include "status.h" | 23 | #include "status.h" |
24 | #include "screen_access.h" | 24 | #include "screen_access.h" |
25 | #include "events.h" | ||
25 | 26 | ||
26 | #define STATUSBAR_X_POS 0 | 27 | #define STATUSBAR_X_POS 0 |
27 | #define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */ | 28 | #define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */ |
28 | #define STATUSBAR_HEIGHT 8 | 29 | #define STATUSBAR_HEIGHT 8 |
29 | 30 | ||
31 | /* possibly a horrible misuse of the event system. | ||
32 | This is triggered when the statusbar setting changes */ | ||
33 | #define STATUSBAR_TOGGLE_EVENT (EVENT_CLASS_GUI|1) | ||
34 | |||
30 | struct status_info { | 35 | struct status_info { |
31 | int battlevel; | 36 | int battlevel; |
32 | int batt_charge_step; | 37 | int batt_charge_step; |