forked from len0rd/rockbox
updated the quickscreen's:
- use viewports - dont change to system font, fiddle with item positions to make them fit small screens - user customizable options (use the .cfg settings "quickscreen_left, quickscreen_right, quickscreen_top, quickscreen_bottom" for the name and the .cfg name for the setting you want to use. it can be any except the string settings... (e.g. quickscreen_left:talk menu) - a top item! if there is none set the up button will exit the screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16220 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
47412cbc35
commit
2c82494e66
12 changed files with 371 additions and 400 deletions
|
@ -1000,7 +1000,20 @@ const struct settings_list* find_setting(void* variable, int *id)
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const struct settings_list* find_setting_from_string(char* setting, int *id)
|
||||
{
|
||||
int i;
|
||||
for(i=0;i<nb_settings;i++)
|
||||
{
|
||||
if (settings[i].cfg_name && !strcmp(setting, settings[i].cfg_name))
|
||||
{
|
||||
if (id)
|
||||
*id = i;
|
||||
return &settings[i];
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
void talk_setting(void *global_settings_variable)
|
||||
{
|
||||
const struct settings_list *setting;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue