summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-04-21 13:56:18 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-04-21 13:56:18 +0000
commitcf6f4cf6f1ef266f6df102ab4fc533b929790b19 (patch)
treedb72fbf7817075eb590193cecff3f2bd6185c8fb /apps/bookmark.c
parent7f3c66f1cb0d104c4b522ce771b027e29a7c11ab (diff)
downloadrockbox-cf6f4cf6f1ef266f6df102ab4fc533b929790b19.tar.gz
rockbox-cf6f4cf6f1ef266f6df102ab4fc533b929790b19.tar.bz2
rockbox-cf6f4cf6f1ef266f6df102ab4fc533b929790b19.zip
Bookmark screen fixes: 1) Make the 'Load bookmark?' prompt follow the status bar setting, and also actually display the statusbar. 2) Call the LCD update function on charcell devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13232 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index b5c0e4a148..8ff9040c2d 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -387,21 +387,22 @@ bool bookmark_autoload(const char* file)
FOR_NB_SCREENS(i)
screens[i].clear_display();
- gui_syncstatusbar_draw(&statusbars, false);
+ gui_syncstatusbar_draw(&statusbars, true);
FOR_NB_SCREENS(i)
{
#ifdef HAVE_LCD_BITMAP
- screens[i].setmargins(0, STATUSBAR_HEIGHT);
+ screens[i].setmargins(0, global_settings.statusbar
+ ? STATUSBAR_HEIGHT : 0);
screens[i].puts_scroll(0,0, str(LANG_BOOKMARK_AUTOLOAD_QUERY));
screens[i].puts(0,1, str(LANG_CONFIRM_WITH_PLAY_RECORDER));
screens[i].puts(0,2, str(LANG_BOOKMARK_SELECT_LIST_BOOKMARKS));
screens[i].puts(0,3, str(LANG_CANCEL_WITH_ANY_RECORDER));
- screens[i].update();
#else
screens[i].puts_scroll(0,0, str(LANG_BOOKMARK_AUTOLOAD_QUERY));
screens[i].puts(0,1,str(LANG_RESUME_CONFIRM_PLAYER));
#endif
+ screens[i].update();
}
/* Wait for a key to be pushed */
@@ -739,6 +740,7 @@ static void display_bookmark(const char* bookmark,
{
screens[i].puts_scroll(0,0,global_temp_buffer);
screens[i].puts(0,1,str(LANG_RESUME_CONFIRM_PLAYER));
+ screens[i].update();
}
#endif
}