diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-29 04:39:11 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-29 04:39:11 +0000 |
commit | 9adf056b7b4e267a1f509376e6fad72334157cf1 (patch) | |
tree | 8b60743d91c3e4fc89c7ed2262cf95a126a899d9 /apps/settings_list.h | |
parent | d696769a82e349645fbe2ad7820460169fe5e58f (diff) | |
download | rockbox-9adf056b7b4e267a1f509376e6fad72334157cf1.tar.gz rockbox-9adf056b7b4e267a1f509376e6fad72334157cf1.tar.bz2 rockbox-9adf056b7b4e267a1f509376e6fad72334157cf1.zip |
this adds 2 options to the recording settings menu to let you save all the recording settings to a .cfg and view your saved presets.
saves them in /.rockbox/recpresets.
also moves the default location for "write theme config" to /.rockbox/themes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13510 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r-- | apps/settings_list.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h index 97443e35be..9bc8eb9621 100644 --- a/apps/settings_list.h +++ b/apps/settings_list.h @@ -91,7 +91,8 @@ struct choice_setting { #define F_MAX_ISFUNC 0x200000 /* max(above) is function pointer to above type */ #define F_DEF_ISFUNC 0x400000 /* default_val is function pointer to above type */ -#define F_THEMESETTING 0x800000 +#define F_THEMESETTING 0x0800000 +#define F_RECSETTING 0x1000000 #define F_NVRAM_BYTES_MASK 0xE000 /*0-4 bytes can be stored */ #define F_NVRAM_MASK_SHIFT 13 @@ -102,10 +103,10 @@ struct choice_setting { - a NVRAM setting is removed */ #define F_TEMPVAR 0x400 /* used if the setting should be set using a temp var */ -#define F_FLIPLIST 0x800 /* used if the order in the setting screen is backwards */ +#define F_FLIPLIST 0x800 /* used if the order in the setting screen is backwards */ struct settings_list { - uint32_t flags; /* ____ ____ TFFF ____ NNN_ FTVC IFRB STTT */ + uint32_t flags; /* ____ ___R TFFF ____ NNN_ FTVC IFRB STTT */ void *setting; int lang_id; /* -1 for none */ union storage_type default_val; |