mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
[2/4] get rid of HAVE_LCD_CHARCELLS
HAVE_LCD_BITMAP is now redundant. lcd_bitmap is always-on in features.txt so manual and lang strings don't have to change Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
This commit is contained in:
parent
092c340a20
commit
0c4f89370d
77 changed files with 117 additions and 6004 deletions
|
|
@ -279,13 +279,8 @@ static void gui_list_put_selection_on_screen(struct gui_synclist * gui_list,
|
|||
int bottom = MAX(0, gui_list->nb_items - nb_lines);
|
||||
int new_start_item = gui_list->start_item[screen];
|
||||
int difference = gui_list->selected_item - gui_list->start_item[screen];
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
const int scroll_limit_up = 0;
|
||||
const int scroll_limit_down = 1;
|
||||
#else
|
||||
const int scroll_limit_up = (nb_lines < gui_list->selected_size+2 ? 0:1);
|
||||
const int scroll_limit_down = (scroll_limit_up+gui_list->selected_size);
|
||||
#endif
|
||||
|
||||
if (gui_list->show_selection_marker == false)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue