@anzz1 I had some ideas for new features to add to your awesome Tooltip addon. However as I started to dig into it, I found that added new configuration settings to the Interface Options was very troublesome.
Since all the configuration settings checkboxes, dropdowns, etc were using absolute coordinates in the window, it made it really difficult to add new settings without shifting everything around manually, etc.
Also, the options frame did not have any kinda of scrollframe wrapper on it, so you could not add more settings without building a scrollframe around it so that they could fit in the window.
Anyways, my solution was to convert the entire configuration codebase to use the AceConfigDialog library. This accomplishes a few things:
The configuration code is greatly simplified
Easy to add/remove/relocate various settings
The frame will scroll when you get too many settings in the window
Built-in support for elements like groups, sliders, etc.
Automatic support for multiple configuration profiles that can be duplicated, copied, reset, etc.
So the summarize, the addon should "behave" exactly as before. All the settings do the same thing as before. They simply were converted into a AceConfigDialog system. I added only the bare minimum number of Ace libraries for this. My goal with this PR was to setup the code so that more features could easily be added to your addon.
Some outstanding items:
The addon version needs to be incremented. I'll leave that up to you to determine what the new version would be
I updated and added a few strings in the EnUS locale file. There will need to be a handful of translation updates for these. Should I just use Google Translate for these?
A quick screenshot of the new config. Some features are automatically hidden/visible depending on other setting values (for example Guild Rank Style)
Some of the new features I have been looking into adding into TacoTip:
Tooltip scaling
Multiple texture options for the health and power bars
More detailed control over exactly what shows up in the tooltip
@anzz1 I had some ideas for new features to add to your awesome Tooltip addon. However as I started to dig into it, I found that added new configuration settings to the Interface Options was very troublesome.
Since all the configuration settings checkboxes, dropdowns, etc were using absolute coordinates in the window, it made it really difficult to add new settings without shifting everything around manually, etc.
Also, the options frame did not have any kinda of scrollframe wrapper on it, so you could not add more settings without building a scrollframe around it so that they could fit in the window.
Anyways, my solution was to convert the entire configuration codebase to use the AceConfigDialog library. This accomplishes a few things:
So the summarize, the addon should "behave" exactly as before. All the settings do the same thing as before. They simply were converted into a AceConfigDialog system. I added only the bare minimum number of Ace libraries for this. My goal with this PR was to setup the code so that more features could easily be added to your addon.
Some outstanding items:
A quick screenshot of the new config. Some features are automatically hidden/visible depending on other setting values (for example Guild Rank Style)
Some of the new features I have been looking into adding into TacoTip: