summaryrefslogtreecommitdiff
path: root/apps/gui/statusbar.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-06-23 13:20:35 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-06-23 13:20:35 +0000
commitbdbdb97f19655a635a2d37f81f9fe1e31f9162b2 (patch)
treeea5672478b70e550910bc179a7644afa70c0d057 /apps/gui/statusbar.h
parentc1b8df05e1def3096ff6d2ea55f23b2e72936fce (diff)
downloadrockbox-bdbdb97f19655a635a2d37f81f9fe1e31f9162b2.tar.gz
rockbox-bdbdb97f19655a635a2d37f81f9fe1e31f9162b2.zip
FS#9051 - remove LCD margins... use viewports if you need them...
NOTE to WPS people.... %m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored. Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected. Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/statusbar.h')
-rw-r--r--apps/gui/statusbar.h5
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
30struct status_info { 35struct status_info {
31 int battlevel; 36 int battlevel;
32 int batt_charge_step; 37 int batt_charge_step;