On Wed, 23 Aug 2006, Jonathan Gordon wrote:
I think I forgot to mention the reason for the text/xml file was so that the entire menu structure could be done in the one file. e.g
I think XML is terrible when meant for humans to read and write.
Now, if that could be done by preproccessor magic then that would be great... but I cant tihnk how to do it simply..?
Also, your approach seems to mostly focus how to remove unnecessary lines in the menu code but the "option bloat" is also due to all little support-functions etc that each little thing requires and not only for the little lines in the actual menu, and I didn't see your approach address that.
-- Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/