summaryrefslogtreecommitdiff
path: root/apps/tree.h
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-02-22 11:48:58 +0000
committerHristo Kovachev <bger@rockbox.org>2006-02-22 11:48:58 +0000
commitb12bcecb297ab8408b25bc9e539d78fa92e6589e (patch)
treeff74f9485c4f403d788382bd19107ec159ac9a56 /apps/tree.h
parentd330ef7386fc289ef90aefb89962a5ac880226ae (diff)
Remove some unused/deprecated defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8777 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.h')
-rw-r--r--apps/tree.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/tree.h b/apps/tree.h
index 8fdcc883cf..d1b57d6991 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -23,12 +23,8 @@
#include <applimits.h>
#include <file.h>
-/*FIXME: don't forget to remove PGUP, PGDOW, NEXT, PREV
- * when everything will be working with gui_list */
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
(CONFIG_KEYPAD == IRIVER_H300_PAD)
-#define TREE_NEXT BUTTON_DOWN
-#define TREE_PREV BUTTON_UP
#define TREE_EXIT BUTTON_LEFT
#define TREE_ABORT BUTTON_OFF
#define TREE_ENTER BUTTON_RIGHT
@@ -39,8 +35,6 @@
#define TREE_OFF BUTTON_OFF
#define TREE_WPS (BUTTON_ON | BUTTON_REL)
#define TREE_WPS_PRE BUTTON_ON
-#define TREE_PGUP (BUTTON_ON | BUTTON_UP)
-#define TREE_PGDN (BUTTON_ON | BUTTON_DOWN)
#define TREE_CONTEXT (BUTTON_SELECT | BUTTON_REPEAT)
#define TREE_CONTEXT2 (BUTTON_ON | BUTTON_SELECT)
#define TREE_POWER_BTN BUTTON_ON
@@ -62,8 +56,6 @@
#define TREE_RC_QUICK (BUTTON_RC_MODE | BUTTON_REPEAT)
#elif CONFIG_KEYPAD == RECORDER_PAD
-#define TREE_NEXT BUTTON_DOWN
-#define TREE_PREV BUTTON_UP
#define TREE_EXIT BUTTON_LEFT
#define TREE_ABORT BUTTON_OFF
#define TREE_ENTER BUTTON_RIGHT
@@ -73,8 +65,6 @@
#define TREE_OFF BUTTON_OFF
#define TREE_WPS (BUTTON_ON | BUTTON_REL)
#define TREE_WPS_PRE BUTTON_ON
-#define TREE_PGUP (BUTTON_ON | BUTTON_UP)
-#define TREE_PGDN (BUTTON_ON | BUTTON_DOWN)
#define TREE_CONTEXT (BUTTON_PLAY | BUTTON_REPEAT)
#define TREE_CONTEXT2 (BUTTON_ON | BUTTON_PLAY)
#define TREE_POWER_BTN BUTTON_ON
@@ -86,8 +76,6 @@
#define TREE_RC_RUN BUTTON_RC_PLAY
#elif CONFIG_KEYPAD == PLAYER_PAD
-#define TREE_NEXT BUTTON_RIGHT
-#define TREE_PREV BUTTON_LEFT
#define TREE_EXIT BUTTON_STOP
#define TREE_ABORT BUTTON_STOP
#define TREE_RUN (BUTTON_PLAY | BUTTON_REL)
@@ -105,8 +93,6 @@
#define TREE_RC_RUN BUTTON_RC_PLAY
#elif CONFIG_KEYPAD == ONDIO_PAD
-#define TREE_NEXT BUTTON_DOWN
-#define TREE_PREV BUTTON_UP
#define TREE_EXIT BUTTON_LEFT
#define TREE_ABORT BUTTON_OFF
#define TREE_RUN (BUTTON_RIGHT | BUTTON_REL)
@@ -120,8 +106,6 @@
#define TREE_POWER_BTN BUTTON_OFF
#elif CONFIG_KEYPAD == GMINI100_PAD
-#define TREE_NEXT BUTTON_DOWN
-#define TREE_PREV BUTTON_UP
#define TREE_EXIT BUTTON_LEFT
#define TREE_ENTER BUTTON_RIGHT
#define TREE_RUN (BUTTON_PLAY | BUTTON_REL)
@@ -129,16 +113,12 @@
#define TREE_MENU BUTTON_MENU
#define TREE_WPS (BUTTON_ON | BUTTON_REL)
#define TREE_WPS_PRE BUTTON_ON
-#define TREE_PGUP (BUTTON_ON | BUTTON_UP)
-#define TREE_PGDN (BUTTON_ON | BUTTON_DOWN)
#define TREE_CONTEXT (BUTTON_PLAY | BUTTON_REPEAT)
#define TREE_CONTEXT2 (BUTTON_ON | BUTTON_PLAY)
#define TREE_POWER_BTN BUTTON_ON
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
-#define TREE_NEXT BUTTON_SCROLL_FWD
-#define TREE_PREV BUTTON_SCROLL_BACK
#define TREE_EXIT BUTTON_LEFT
#define TREE_ABORT BUTTON_LEFT
#define TREE_ENTER BUTTON_RIGHT
@@ -152,8 +132,6 @@
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
-#define TREE_NEXT BUTTON_DOWN
-#define TREE_PREV BUTTON_UP
#define TREE_EXIT BUTTON_LEFT
#define TREE_ABORT BUTTON_PLAY
#define TREE_RUN (BUTTON_RIGHT | BUTTON_REL)
@@ -167,8 +145,6 @@
#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
-#define TREE_NEXT BUTTON_DOWN
-#define TREE_PREV BUTTON_UP
#define TREE_EXIT BUTTON_LEFT
#define TREE_ABORT BUTTON_PLAY
#define TREE_RUN (BUTTON_RIGHT | BUTTON_REL)