Page 1 of 1

new tabbed config

Posted: Thu Dec 04, 2008 2:21 am
by Aerick
I've created a new tab configuration menu system. Here's a screenshot:
Image

Let me know what you think!

Re: new tabbed config

Posted: Thu Dec 04, 2008 10:27 am
by Dominus
Not bad, only thing to think through is what happens when you hit OK. Does the whole settings gump close? It might need an apply button, so you can apply the settings and then go to the next tab or something like that.

Re: new tabbed config

Posted: Fri Dec 05, 2008 4:55 am
by Aerick
Currently no settings are applied until you hit "Ok" then they're all applied at once. I plan on adding an "Apply" and possibly a "Reset" button which will allow you to reset the current tab settings.

In the screenshot you can see two of the new widgets I added: Text_label and Gump_checkbox. Text_label makes it much easier to add labels since you don't have to mess around with rendering them in the gump's paint() method, you can just add them to the vector like any other widget. The checkbox is self-explanatory, it's not super beautiful since I'm not much of a gfx artist but it works.

I'll post another screenshot after I'm done tweaking stuff. The nice thing is that this cleans up the source a bit since it removes most of the shapes used by the config menus as well as the various config menu classes. It should also be much easier to add new configuration options. :)