forked from len0rd/rockbox
Commit viewports-in-WPS patch (FS#8385). This adds the %V tag - see the CustomWPS page for details (shortly...). There is still some work to do - decide how to handle font references, decide how to handle conditionals. Plus checkwps is broken - I'll fix that in a separate commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16733 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1544b36966
commit
d02c79c03f
7 changed files with 360 additions and 165 deletions
|
|
@ -806,7 +806,7 @@ void settings_apply(bool read_disk)
|
|||
global_settings.wps_file[0] != 0xff ) {
|
||||
snprintf(buf, sizeof buf, WPS_DIR "/%s.wps",
|
||||
global_settings.wps_file);
|
||||
wps_data_load(gui_wps[0].data, buf, true);
|
||||
wps_data_load(gui_wps[0].data, &screens[0], buf, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -835,7 +835,7 @@ void settings_apply(bool read_disk)
|
|||
if ( global_settings.rwps_file[0]) {
|
||||
snprintf(buf, sizeof buf, WPS_DIR "/%s.rwps",
|
||||
global_settings.rwps_file);
|
||||
wps_data_load(gui_wps[1].data, buf, true);
|
||||
wps_data_load(gui_wps[1].data, &screens[1], buf, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue