mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 08:02:34 -05:00
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a5d7309d96
commit
f9b90e9103
36 changed files with 131 additions and 187 deletions
|
|
@ -290,14 +290,15 @@ static void display(longlong_t euro, longlong_t home, bool pos)
|
|||
}
|
||||
else
|
||||
rb->lcd_puts_scroll(1,1,str);
|
||||
|
||||
rb->lcd_update();
|
||||
}
|
||||
|
||||
|
||||
/* Show country Abbreviation */
|
||||
static void show_abbrev(void)
|
||||
{
|
||||
rb->lcd_puts(2,1,abbrev_str[country]);
|
||||
rb->sleep(HZ*3/4);
|
||||
rb->splash(HZ*3/4,abbrev_str[country]);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -325,6 +326,7 @@ static void currency_menu(void)
|
|||
{
|
||||
rb->lcd_puts(0,0,"Currency:");
|
||||
rb->lcd_puts(0,1,currency_str[c]);
|
||||
rb->lcd_update();
|
||||
switch (rb->button_get(true))
|
||||
{
|
||||
case BUTTON_RIGHT|BUTTON_REL:
|
||||
|
|
@ -361,6 +363,7 @@ static int euro_menu(void)
|
|||
rb->lcd_puts(0,0," Currency");
|
||||
rb->lcd_puts(0,1," Exit");
|
||||
rb->lcd_putc(0,c,0xe110);
|
||||
rb->lcd_update();
|
||||
|
||||
switch (rb->button_get(true))
|
||||
{
|
||||
|
|
@ -394,6 +397,7 @@ static void euro_exit(void *parameter)
|
|||
|
||||
//Clear the screen
|
||||
rb->lcd_clear_display();
|
||||
rb->lcd_update();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue