diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-12 14:22:35 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-12 14:22:35 +0000 |
| commit | fb62831faa2612da0372eb3dcfb0c19901e321ad (patch) | |
| tree | 9fdb6817672b8a9757699c27aad2d362f39f51d9 /apps/menu.c | |
| parent | b0810520be34bbcedeadab92e4bf63d04af03720 (diff) | |
| download | rockbox-fb62831faa2612da0372eb3dcfb0c19901e321ad.zip rockbox-fb62831faa2612da0372eb3dcfb0c19901e321ad.tar.gz rockbox-fb62831faa2612da0372eb3dcfb0c19901e321ad.tar.bz2 rockbox-fb62831faa2612da0372eb3dcfb0c19901e321ad.tar.xz | |
* Move playback menu to the new sysetm
(http://forums.rockbox.org/index.php?topic=8703.0 if I broke any of
those settings accidently).
* Add set_int_ex() which is the same as set_int() but adds a param which
is a callback that returns the voice ID to talk for the selected value
* Change the "pause on headphone unplug" to use meaningful strings in
the config instead of numbers, this setting will be reset.
* saves ~500bytes on the rec build :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12285 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
| -rw-r--r-- | apps/menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index f5d40f1..a084871 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -631,14 +631,15 @@ int do_menu(const struct menu_item_ex *start_menu) } if (setting->flags&F_INT_SETTING) { - set_int(str(setting->lang_id), + set_int_ex(str(setting->lang_id), NULL, setting->int_setting->unit,var, setting->int_setting->option_callback, setting->int_setting->step, setting->int_setting->min, setting->int_setting->max, - setting->int_setting->formatter); + setting->int_setting->formatter, + setting->int_setting->get_talk_id); } else if (setting->flags&F_CHOICE_SETTING) { |