Re: [Alephmodular-devel] GUI: 0.4 planning
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2002-12-24 21:45:50
|
I really need to draw up a diagram of things just so I can keep things straight in my head for organization. Preferences I was thinking of as a relatively platform ignorant core object with access to a file and arbitrary groups of data. This would have accessors to read/write the data. Aside of this we would have some code that would list off appropriate preferences, fill in any other data that's needed (For instance a list of external map files to select from) And then we'd need some code to actually display a dialog box. Unfortunately, I seem to have just lost the ability to compile AlephOne-SDL again. Or I'd go check out the setup network game dialog. Codewise I'm not quite seeing what you were getting at. I see a lot of SDL code for assembling its dialog box. ... Ah I see. You have to create the dialog box using SDL code. But to actually tie the controls to current values you're able to overload an existing function... fill_in_game_setup_dialog(...) A useful refinement of each GUI for themselves. A half step towards what I was thinking of for Cross-platform code. (Which would be one dialog description and poof, there it is for each platform.) -Jeremy |