|
Rockbox mail archiveSubject: Re: menu/settings merging take 2!Re: menu/settings merging take 2!
From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Wed, 6 Sep 2006 00:04:12 +1000 it works! Just showing off because im a bit syked it actually works! to add a new variable to the system the only things needed to do is add it to the settings list like so: CHOICE_ITEM(repeat_mode,LANG_REPEAT, REPEAT_ALL,NUM_REPEAT_MODES, LANG_OFF,LANG_REPEAT_ALL,LANG_REPEAT_ONE,LANG_SHUFFLE,LANG_REPEAT_AB), then make a menu option for it MAKE_SETTING_OPT(repeat_mode); then add it to an exsisting menu MAKE_MENU(playback, ID2P(LANG_PLAYBACK_MENU), &volume, &repeat_mode, &shuffle ...); recompile and your done! Received on 2006-09-05 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |