summaryrefslogtreecommitdiffstats
path: root/apps/gui/quickscreen.h
diff options
context:
space:
mode:
authorZakk Roberts <midk@rockbox.org>2006-04-02 10:41:16 +0000
committerZakk Roberts <midk@rockbox.org>2006-04-02 10:41:16 +0000
commit15b2eefd6b7bbea7b253d2526b0cb445af348f5e (patch)
tree0c7be5194ec195a6ec0130d115325529961ad8c3 /apps/gui/quickscreen.h
parent12e528ccd9f8764e745a4b634cc1d4f798fe44d8 (diff)
downloadrockbox-15b2eefd6b7bbea7b253d2526b0cb445af348f5e.tar.gz
rockbox-15b2eefd6b7bbea7b253d2526b0cb445af348f5e.tar.bz2
rockbox-15b2eefd6b7bbea7b253d2526b0cb445af348f5e.zip
Updated quickscreens, now they look better than before while still retaining the ability to scroll - this is about as good as it gets until viewports are implemented. Also enabled the quickscreen for iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9421 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/quickscreen.h')
-rw-r--r--apps/gui/quickscreen.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/apps/gui/quickscreen.h b/apps/gui/quickscreen.h
index fdbe4db386..e6e04c94ae 100644
--- a/apps/gui/quickscreen.h
+++ b/apps/gui/quickscreen.h
@@ -19,7 +19,8 @@
#include "button.h"
#include "config.h"
#if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\
- (CONFIG_KEYPAD == IRIVER_H300_PAD)
+ (CONFIG_KEYPAD == IRIVER_H300_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD) ||\
+ (CONFIG_KEYPAD == IPOD_3G_PAD)
#ifndef _GUI_QUICKSCREEN_H_
#define _GUI_QUICKSCREEN_H_
@@ -30,14 +31,21 @@
#include "screen_access.h"
#define QUICKSCREEN_LEFT BUTTON_LEFT
-#define QUICKSCREEN_BOTTOM BUTTON_DOWN
-#define QUICKSCREEN_BOTTOM_INV BUTTON_UP
#define QUICKSCREEN_RIGHT BUTTON_RIGHT
+#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) ||\
+ (CONFIG_KEYPAD == RECORDER_PAD)
+#define QUICKSCREEN_BOTTOM BUTTON_DOWN
+#define QUICKSCREEN_BOTTOM_INV BUTTON_UP
+#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD)
+#define QUICKSCREEN_BOTTOM BUTTON_PLAY
+#define QUICKSCREEN_QUIT BUTTON_MENU
+#define QUICKSCREEN_QUIT2 BUTTON_SELECT
+#endif
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
-#define QUICKSCREEN_QUIT BUTTON_MODE
-#define QUICKSCREEN_QUIT2 BUTTON_OFF
+#define QUICKSCREEN_QUIT BUTTON_MODE
+#define QUICKSCREEN_QUIT2 BUTTON_OFF
#define QUICKSCREEN_RC_QUIT BUTTON_RC_MODE
#ifdef CONFIG_REMOTE_KEYPAD
#define QUICKSCREEN_RC_LEFT BUTTON_RC_REW