Originally Posted by Bornabe
I've always been curious of the innerds to creating a Mazzifier type setup for my UI Compilation, to make life easier on those wanting to use it, as well as to create layouts for various screen resolutions.
Does anyone know what it would take, the best way to get it started, etc?
I wanna create a Bornifier for my BornabeUI.... 'You've been Bornified.' , lol.
I sure do miss Mazzle. :-(
|
Insert - "YOU are not PREPARED!"... hehe
All joking aside, the Mazzifier code was about as tedious as they come. He truly made a work of art out of XML and Lua. All of the actions you would normally perform in game to set up an addon were done via the Mazzlefier, for every addon that wasn't a custom addon made for/or modified for MazzleUI. If you were in a raid, it set up for raids, and depending on size of raid, set up and then re set up as it grew/shrank. If you're wanting 'all that Mazzlefier had to offer', I'd cheer you on, but advise against it at the same time. It is an author killer in the truest sense of the phrase.
Now, if you just want to have a 'program' (Mazzlefier) to do the initial setup, you might escape with your sanity, but be aware that it is likely going to be a major buzz kill by the time you're through.
For each addon, you'll have to completely configure using lua or xml and lua. You'll have to account for different resolutions, and apply the configuration of each addon to each supported resolution.... I think you get the idea.
iirc, the manner in which this was done in MazzleUI was to do the layouts in XML and to call the various layouts via lua. Start small and build on it, use the help forums when needed, and don't deny offers of help from your users, you might be in real need of that help later, on a patch day. I'd suggest looking at the old code for MazzleUI, but you probably don't want to... many reasons.
In any case, good luck. I hope you make it out with your sanity.