mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
06d51630c1
commit
0d9b7ec73e
5 changed files with 17 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue