Re: menu/settings merging take 2!

2006-09-07 Thread Linus Nielsen Feltzing
Jonathan Gordon wrote: Both config blocks have been removed. All settings are now stored in a very long list (settings_list.c). Settings are loaded automatically from /.rockbox/config.cfg and /.system.cfg (system.cfg is used for settings which are important but the user does not configure them,

Re: menu/settings merging take 2!

2006-09-07 Thread Burelli Luca
On Thu, 7 Sep 2006, Linus Nielsen Feltzing wrote: How do you plan to store the settings that need to be stored in the RTC RAM on the Archos Recorder models? A side question: is there something that absolutely _needs_ to be stored in RAM in these models? Can't the system be unified and write

Re: menu/settings merging take 2!

2006-09-05 Thread Jonathan Gordon
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,

Re: menu/settings merging take 2!

2006-09-05 Thread Jonas H
Jonathan Gordon wrote: 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 [a few short steps snipped] recompile and your done! Cool, how is the impact on code size/binary size? -- Jonas H

Re: menu/settings merging take 2!

2006-09-05 Thread Jonathan Gordon
On 06/09/06, Jonas H [EMAIL PROTECTED] wrote: Jonathan Gordon wrote: 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 [a few short steps snipped] recompile and your done! Cool, how is the impact on

menu/settings merging take 2!

2006-09-04 Thread Jonathan Gordon
hey, Ive started this once again and I tihnk i may have got it right this time. What I hope for this to eventually do is make adding a setting to the menus/global_settings as simple as possible. A side effect of this is the removal of the config block (all settings are written either to