forked from len0rd/rockbox
* Fix red
* Make scrollbar width range from 3 -> LCD_WIDTH/10 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22389 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
00b6048141
commit
a06f287c81
2 changed files with 5 additions and 4 deletions
|
|
@ -37,6 +37,8 @@ PLUGIN_HEADER
|
|||
#define TOP_SECTOR buffer
|
||||
#define MID_SECTOR (buffer + SMALL_BLOCK_SIZE)
|
||||
#define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE))
|
||||
#undef SCROLLBAR_WIDTH
|
||||
#define SCROLLBAR_WIDTH rb->global_settings->scrollbar_width
|
||||
|
||||
#define MAX_BOOKMARKED_FILES ((buffer_size/(signed)sizeof(struct bookmarked_file_info))-1)
|
||||
|
||||
|
|
|
|||
|
|
@ -604,7 +604,9 @@ const struct settings_list settings[] = {
|
|||
gui_statusbar_changed, 3, ID2P(LANG_OFF), ID2P(LANG_STATUSBAR_TOP),
|
||||
ID2P(LANG_STATUSBAR_BOTTOM)),
|
||||
#endif
|
||||
OFFON_SETTING(0,scrollbar, LANG_SCROLL_BAR, true,"scrollbar", NULL),
|
||||
OFFON_SETTING(0,scrollbar, LANG_SCROLL_BAR, true, "scrollbar", NULL),
|
||||
INT_SETTING(0, scrollbar_width, LANG_SCROLLBAR_WIDTH, 6, "scrollbar width",
|
||||
UNIT_INT, 3, LCD_WIDTH/10, 1, NULL, NULL, NULL),
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||
OFFON_SETTING(0,buttonbar, LANG_BUTTON_BAR ,true,"buttonbar", NULL),
|
||||
#endif
|
||||
|
|
@ -1550,9 +1552,6 @@ const struct settings_list settings[] = {
|
|||
VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
|
||||
#endif
|
||||
#endif
|
||||
|
||||
INT_SETTING(0, scrollbar_width, LANG_SCROLLBAR_WIDTH, 6, "scrollbar width",
|
||||
UNIT_INT, 6, 20, 1, NULL, NULL, NULL),
|
||||
};
|
||||
|
||||
const int nb_settings = sizeof(settings)/sizeof(*settings);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue