summaryrefslogtreecommitdiffstats
path: root/apps/gui/quickscreen.h
diff options
context:
space:
mode:
authorZakk Roberts <midk@rockbox.org>2006-04-11 06:38:10 +0000
committerZakk Roberts <midk@rockbox.org>2006-04-11 06:38:10 +0000
commita0a01b38e264cda33374ffda9f64556b11a00b71 (patch)
treebec8b22613c9d4907eea77686babddb105a3cac0 /apps/gui/quickscreen.h
parent62ccbbb4183904c9ce09c33cec401d6d7df870fd (diff)
downloadrockbox-a0a01b38e264cda33374ffda9f64556b11a00b71.tar.gz
rockbox-a0a01b38e264cda33374ffda9f64556b11a00b71.tar.bz2
rockbox-a0a01b38e264cda33374ffda9f64556b11a00b71.zip
Readjusted quickscreen code so that it now actually scales to larger LCDs. Get rid of 'left_right_text' argument - this also means that 'scroll bar' and 'status bar' look better in some languages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9602 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/quickscreen.h')
-rw-r--r--apps/gui/quickscreen.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/gui/quickscreen.h b/apps/gui/quickscreen.h
index 55e5a2d8c5..8a55506929 100644
--- a/apps/gui/quickscreen.h
+++ b/apps/gui/quickscreen.h
@@ -52,9 +52,10 @@
#define QUICKSCREEN_QUIT BUTTON_MENU
#define QUICKSCREEN_QUIT2 BUTTON_SELECT
#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
-#define QUICKSCREEN_BOTTOM BUTTON_DOWN
-#define QUICKSCREEN_QUIT BUTTON_REC
-#define QUICKSCREEN_QUIT2 BUTTON_POWER
+#define QUICKSCREEN_BOTTOM BUTTON_DOWN
+#define QUICKSCREEN_BOTTOM_INV BUTTON_UP
+#define QUICKSCREEN_QUIT BUTTON_REC
+#define QUICKSCREEN_QUIT2 BUTTON_POWER
#endif
struct gui_quickscreen;
@@ -69,7 +70,6 @@ struct gui_quickscreen
struct option_select *left_option;
struct option_select *bottom_option;
struct option_select *right_option;
- char * left_right_title;
quickscreen_callback *callback;
};
@@ -87,7 +87,6 @@ void gui_quickscreen_init(struct gui_quickscreen * qs,
struct option_select *left_option,
struct option_select *bottom_option,
struct option_select *right_option,
- char * left_right_title,
quickscreen_callback *callback);
/*
* Draws the quickscreen on a given screen