forked from len0rd/rockbox
Bidirectional scroll for player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3081 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4c7f70fe9a
commit
c65dadf0b4
1 changed files with 2 additions and 2 deletions
|
|
@ -420,13 +420,13 @@ static bool scroll_step(void)
|
||||||
&global_settings.scroll_step,
|
&global_settings.scroll_step,
|
||||||
&lcd_scroll_step, 1, 1, LCD_WIDTH );
|
&lcd_scroll_step, 1, 1, LCD_WIDTH );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool bidir_limit(void)
|
static bool bidir_limit(void)
|
||||||
{
|
{
|
||||||
return set_int(str(LANG_BIDIR_SCROLL), "%", &global_settings.bidir_limit,
|
return set_int(str(LANG_BIDIR_SCROLL), "%", &global_settings.bidir_limit,
|
||||||
&lcd_bidir_scroll, 25, 0, 200 );
|
&lcd_bidir_scroll, 25, 0, 200 );
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
/**
|
/**
|
||||||
|
|
@ -686,8 +686,8 @@ static bool scroll_settings_menu(void)
|
||||||
{ str(LANG_SCROLL_DELAY), scroll_delay },
|
{ str(LANG_SCROLL_DELAY), scroll_delay },
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
{ str(LANG_SCROLL_STEP), scroll_step },
|
{ str(LANG_SCROLL_STEP), scroll_step },
|
||||||
{ str(LANG_BIDIR_SCROLL), bidir_limit },
|
|
||||||
#endif
|
#endif
|
||||||
|
{ str(LANG_BIDIR_SCROLL), bidir_limit },
|
||||||
};
|
};
|
||||||
|
|
||||||
m = menu_init( items, sizeof items / sizeof(struct menu_items) );
|
m = menu_init( items, sizeof items / sizeof(struct menu_items) );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue