forked from len0rd/rockbox
Removed button bar for devices with no F buttons (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5237 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a1a08d0d5f
commit
1f0908dfaf
5 changed files with 17 additions and 3 deletions
|
@ -636,6 +636,7 @@ static int showdir(const char *path, int start, const int *dirfilter)
|
|||
tree_max_on_screen * line_height, filesindir, start,
|
||||
start + tree_max_on_screen, VERTICAL);
|
||||
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||
if(global_settings.buttonbar) {
|
||||
buttonbar_set(*dirfilter < NUM_FILTER_MODES ?
|
||||
str(LANG_DIRBROWSE_F1) : (unsigned char *) "",
|
||||
|
@ -643,6 +644,7 @@ static int showdir(const char *path, int start, const int *dirfilter)
|
|||
str(LANG_DIRBROWSE_F3));
|
||||
buttonbar_draw();
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
status_draw(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue