summaryrefslogtreecommitdiff
path: root/apps/plugins/spacerocks.c
diff options
context:
space:
mode:
authorJohannes Schwarz <ubuntuxer@rockbox.org>2009-07-23 17:45:33 +0000
committerJohannes Schwarz <ubuntuxer@rockbox.org>2009-07-23 17:45:33 +0000
commit0d9b7ec73e71188632a4fd584dfd745aeb7571b3 (patch)
tree9b035784a8809984f953d367ec17a7fe0ba149a8 /apps/plugins/spacerocks.c
parent06d51630c19b4d5d4933bb03d61f2d69cbb5454f (diff)
downloadrockbox-0d9b7ec73e71188632a4fd584dfd745aeb7571b3.zip
rockbox-0d9b7ec73e71188632a4fd584dfd745aeb7571b3.tar.gz
rockbox-0d9b7ec73e71188632a4fd584dfd745aeb7571b3.tar.bz2
rockbox-0d9b7ec73e71188632a4fd584dfd745aeb7571b3.tar.xz
Fix wrong text colour in help, adapt pegbox manual to r21867
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22016 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/spacerocks.c')
-rw-r--r--apps/plugins/spacerocks.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c
index 778733c..d4fc45f 100644
--- a/apps/plugins/spacerocks.c
+++ b/apps/plugins/spacerocks.c
@@ -604,13 +604,16 @@ static bool spacerocks_help(void)
};
static struct style_text formation[]={
{ 0, TEXT_CENTER|TEXT_UNDERLINE },
- { 2, C_RED }
+ { 2, C_RED },
+ { -1, 0 }
};
+#ifdef HAVE_LCD_COLOR
+ rb->lcd_set_background(LCD_BLACK);
+ rb->lcd_set_foreground(LCD_WHITE);
+#endif
int button;
-
if (display_text(WORDS, help_text, formation, NULL)==PLUGIN_USB_CONNECTED)
return true;
-
do {
button = rb->button_get(true);
if (button == SYS_USB_CONNECTED) {