summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-05 13:15:35 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-05 13:15:35 +0000
commit91ccc01bcf78e6a06dce5f900242397813c1e50e (patch)
tree5176af040a0e3b65bc04bf5cffa4edc9d4f1eadb /apps/settings_list.h
parentf29c4ccc6a05cd21ba49afca676a3060cd60f913 (diff)
downloadrockbox-91ccc01bcf78e6a06dce5f900242397813c1e50e.tar.gz
rockbox-91ccc01bcf78e6a06dce5f900242397813c1e50e.tar.bz2
rockbox-91ccc01bcf78e6a06dce5f900242397813c1e50e.zip
fix FS#7288 - pad the title of the scrolling settings so they actually scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r--apps/settings_list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h
index 0859b440e1..3127dbaf00 100644
--- a/apps/settings_list.h
+++ b/apps/settings_list.h
@@ -103,10 +103,11 @@ struct choice_setting {
- a NVRAM setting is removed
*/
#define F_TEMPVAR 0x0400 /* used if the setting should be set using a temp var */
+#define F_PADTITLE 0x800 /* pad the title with spaces to force it to scroll */
#define F_NO_WRAP 0x1000 /* used if the list should not wrap */
struct settings_list {
- uint32_t flags; /* ____ ___R TFFF ____ NNN_ _TVC IFRB STTT */
+ uint32_t flags; /* ____ ___R TFFF ____ NNN_ PTVC IFRB STTT */
void *setting;
int lang_id; /* -1 for none */
union storage_type default_val;