diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-08-16 22:20:11 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-16 22:20:11 +0000 |
commit | 4c48b59be8ba41b80350d5329d0f13240229da0a (patch) | |
tree | e8cb9547c4d8d5faff39de2aef5626a5cabc689d /apps/settings.h | |
parent | c0897a8002d493244efd69fca5c433dbafe8d5be (diff) | |
download | rockbox-4c48b59be8ba41b80350d5329d0f13240229da0a.tar.gz rockbox-4c48b59be8ba41b80350d5329d0f13240229da0a.zip |
User definable UI viewport, to be able to restrict the UI into a viewport for all bitmap displays.
Flyspray: FS#8799
This will allow for pretty themes, for example those with nice glass effects on their backdrops (some might argue they're wasting screen space but it's upto them),
as well as allowing for future background WPS updates in the main UI.
Plugins are not converted yet, they simply use the full screen. Ideally, any plugin that does *not* want the UI viewport, should take care of that itself (i.e. plugins should normally use the UI viewport).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22365 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index becf164a8f..998fdc1cd9 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -762,6 +762,13 @@ struct user_settings | |||
762 | /* If values are just added to the end, no need to bump plugin API | 762 | /* If values are just added to the end, no need to bump plugin API |
763 | version. */ | 763 | version. */ |
764 | /* new stuff to be added at the end */ | 764 | /* new stuff to be added at the end */ |
765 | |||
766 | #ifdef HAVE_LCD_BITMAP | ||
767 | unsigned char ui_vp_config[64]; /* viewport string for the lists */ | ||
768 | #ifdef HAVE_REMOTE_LCD | ||
769 | unsigned char remote_ui_vp_config[64]; /* viewport string for the remote lists */ | ||
770 | #endif | ||
771 | #endif | ||
765 | }; | 772 | }; |
766 | 773 | ||
767 | /** global variables **/ | 774 | /** global variables **/ |