summaryrefslogtreecommitdiff
path: root/apps/plugins/euroconverter.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-06 22:55:00 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-06 22:55:00 +0000
commitf9b90e91031dbd23fed24e832de4d8d2e15151a0 (patch)
tree964a492f1c4a658ec0ecb82d100ce62d2f6ec93a /apps/plugins/euroconverter.c
parenta5d7309d96cca974e1524dc746482ab2a26d7395 (diff)
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
Diffstat (limited to 'apps/plugins/euroconverter.c')
-rw-r--r--apps/plugins/euroconverter.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugins/euroconverter.c b/apps/plugins/euroconverter.c
index 97ec21dd98..224fb85703 100644
--- a/apps/plugins/euroconverter.c
+++ b/apps/plugins/euroconverter.c
@@ -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();
}