summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-11-26 23:10:20 +0000
committerJens Arnold <amiconn@rockbox.org>2007-11-26 23:10:20 +0000
commit09a786138c051a07c4eb16b2689faa020a9a5f34 (patch)
treeee59f6ed47e27a835debfe8d8aea637708ca7b32 /apps/settings_list.h
parente24454f8b30ed9ff386a1d7a7dc32d3be09b4f73 (diff)
downloadrockbox-09a786138c051a07c4eb16b2689faa020a9a5f34.tar.gz
rockbox-09a786138c051a07c4eb16b2689faa020a9a5f34.tar.bz2
rockbox-09a786138c051a07c4eb16b2689faa020a9a5f34.zip
Allow (almost) arbitrary backlight fade in and fade out times (on targets with software PWM fading), and comvert the associated settings to table settings. * Settings system: Unify a bunch of formatters and getlang helpers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15817 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r--apps/settings_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h
index f29d7d27d1..75768fea55 100644
--- a/apps/settings_list.h
+++ b/apps/settings_list.h
@@ -70,7 +70,7 @@ struct int_setting {
int max;
int step;
void (*formatter)(char*, size_t, int, const char*);
- int32_t (*get_talk_id)(int);
+ int32_t (*get_talk_id)(int, int);
};
#define F_INT_SETTING 0x80
@@ -89,7 +89,7 @@ struct choice_setting {
struct table_setting {
void (*option_callback)(int);
void (*formatter)(char*, size_t, int, const char*);
- int32_t (*get_talk_id)(int);
+ int32_t (*get_talk_id)(int, int);
int unit;
int count;
const int * values;