I've created a new tab configuration menu system. Here's a screenshot:
Let me know what you think!
new tabbed config
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Re: new tabbed config
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.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: new tabbed config
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.
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.