summaryrefslogtreecommitdiff
path: root/apps/plugins/plasma.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-25 19:43:08 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-25 19:43:08 +0000
commit9a7978aeabadc50c6049c5cd150b572ec9bd9e87 (patch)
tree2d22815d61277d495957ced0d1b25ceb19adac08 /apps/plugins/plasma.c
parent38ed90128439bd7cd20038a69032f1f3eddaca04 (diff)
downloadrockbox-9a7978aeabadc50c6049c5cd150b572ec9bd9e87.tar.gz
rockbox-9a7978aeabadc50c6049c5cd150b572ec9bd9e87.zip
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r--apps/plugins/plasma.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c
index d5c1ef427f..2e04bd59b5 100644
--- a/apps/plugins/plasma.c
+++ b/apps/plugins/plasma.c
@@ -59,6 +59,7 @@ static int plasma_frequency;
59#define PLASMA_QUIT BUTTON_MENU 59#define PLASMA_QUIT BUTTON_MENU
60#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_FWD 60#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_FWD
61#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_BACK 61#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_BACK
62
62#elif (CONFIG_KEYPAD == GIGABEAT_PAD) 63#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
63#define PLASMA_QUIT BUTTON_A 64#define PLASMA_QUIT BUTTON_A
64#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 65#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
@@ -74,26 +75,38 @@ static int plasma_frequency;
74#define PLASMA_QUIT BUTTON_POWER 75#define PLASMA_QUIT BUTTON_POWER
75#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 76#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
76#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 77#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
78
77#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) 79#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
78#define PLASMA_QUIT BUTTON_POWER 80#define PLASMA_QUIT BUTTON_POWER
79#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_UP 81#define PLASMA_INCREASE_FREQUENCY BUTTON_SCROLL_UP
80#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_DOWN 82#define PLASMA_DECREASE_FREQUENCY BUTTON_SCROLL_DOWN
83
81#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD) 84#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
82#define PLASMA_QUIT BUTTON_BACK 85#define PLASMA_QUIT BUTTON_BACK
83#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 86#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
84#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 87#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
88
85#elif (CONFIG_KEYPAD == MROBE100_PAD) 89#elif (CONFIG_KEYPAD == MROBE100_PAD)
86#define PLASMA_QUIT BUTTON_POWER 90#define PLASMA_QUIT BUTTON_POWER
87#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 91#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
88#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 92#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
93
94#elif (CONFIG_KEYPAD == IAUDIO_M3_PAD)
95#define PLASMA_QUIT BUTTON_RC_REC
96#define PLASMA_INCREASE_FREQUENCY BUTTON_RC_VOL_UP
97#define PLASMA_DECREASE_FREQUENCY BUTTON_RC_VOL_DOWN
98#define PLASMA_RC_QUIT BUTTON_REC
99
89#elif (CONFIG_KEYPAD == COWOND2_PAD) 100#elif (CONFIG_KEYPAD == COWOND2_PAD)
90#define PLASMA_QUIT BUTTON_POWER 101#define PLASMA_QUIT BUTTON_POWER
91#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 102#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
92#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 103#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
104
93#else 105#else
94#define PLASMA_QUIT BUTTON_OFF 106#define PLASMA_QUIT BUTTON_OFF
95#define PLASMA_INCREASE_FREQUENCY BUTTON_UP 107#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
96#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN 108#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
109
97#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) 110#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
98#define PLASMA_RC_QUIT BUTTON_RC_STOP 111#define PLASMA_RC_QUIT BUTTON_RC_STOP
99#endif 112#endif