forked from len0rd/rockbox
Added scrollbar to tree view and menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2084 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4b0e8b0b56
commit
000c2db035
5 changed files with 121 additions and 41 deletions
|
|
@ -262,7 +262,8 @@ int settings_save( void )
|
|||
((global_settings.sort_case & 1) << 2) |
|
||||
((global_settings.discharge & 1) << 3) |
|
||||
((global_settings.statusbar & 1) << 4) |
|
||||
((global_settings.show_hidden_files & 1) << 5));
|
||||
((global_settings.show_hidden_files & 1) << 5) |
|
||||
((global_settings.scrollbar & 1) << 6));
|
||||
|
||||
config_block[0xf] = (unsigned char)
|
||||
((global_settings.scroll_speed << 3) |
|
||||
|
|
@ -350,6 +351,7 @@ void settings_load(void)
|
|||
global_settings.discharge = (config_block[0xe] >> 3) & 1;
|
||||
global_settings.statusbar = (config_block[0xe] >> 4) & 1;
|
||||
global_settings.show_hidden_files = (config_block[0xe] >> 5) & 1;
|
||||
global_settings.scrollbar = (config_block[0xe] >> 6) & 1;
|
||||
}
|
||||
|
||||
c = config_block[0xf] >> 3;
|
||||
|
|
@ -414,6 +416,7 @@ void settings_reset(void) {
|
|||
global_settings.mp3filter = true;
|
||||
global_settings.sort_case = false;
|
||||
global_settings.statusbar = true;
|
||||
global_settings.scrollbar = true;
|
||||
global_settings.loop_playlist = true;
|
||||
global_settings.playlist_shuffle = false;
|
||||
global_settings.discharge = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue