|
From: | Alexandre Courbot |
Subject: | Re: [Adonthell-devel] Configuration file support |
Date: | Mon, 26 Apr 2004 10:01:17 +0200 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040229) |
Moreover, I think we can also write an option dialog that dynamically presents the contents of the config file. For that, I have the following idea: * the config file is split into sections (Audio, Video, Gameplay, Controls ...). For each section, the option dialog generates a different page. * each option will have some meta-information attached, that tells the option dialog how to present it: as input field, as checkbox or as a slider to chose a value within a range. What do you think?
Do I hear 'XML'? ;)Very good idea anyway. Perhaps the meta-information for displaying could just be the various choices available. For instance, a boolean value would instanciate into a checkbox, and so on...
Alex. -- http://www.gnurou.org
[Prev in Thread] | Current Thread | [Next in Thread] |