From 4c48b59be8ba41b80350d5329d0f13240229da0a Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 16 Aug 2009 22:20:11 +0000 Subject: 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 --- apps/settings.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/settings.h') 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 /* If values are just added to the end, no need to bump plugin API version. */ /* new stuff to be added at the end */ + +#ifdef HAVE_LCD_BITMAP + unsigned char ui_vp_config[64]; /* viewport string for the lists */ +#ifdef HAVE_REMOTE_LCD + unsigned char remote_ui_vp_config[64]; /* viewport string for the remote lists */ +#endif +#endif }; /** global variables **/ -- cgit v1.2.3