forked from len0rd/rockbox
Hide the list title if only one line would fit under it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13107 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fc47f14242
commit
08e633c25c
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ static bool offset_out_of_view = false;
|
||||||
static struct gui_list* last_list_displayed[NB_SCREENS];
|
static struct gui_list* last_list_displayed[NB_SCREENS];
|
||||||
|
|
||||||
#define SHOW_LIST_TITLE ((gui_list->title != NULL) && \
|
#define SHOW_LIST_TITLE ((gui_list->title != NULL) && \
|
||||||
(gui_list->display->nb_lines > 1))
|
(gui_list->display->nb_lines > 2))
|
||||||
|
|
||||||
static void gui_list_put_selection_in_screen(struct gui_list * gui_list,
|
static void gui_list_put_selection_in_screen(struct gui_list * gui_list,
|
||||||
bool put_from_end);
|
bool put_from_end);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue