Originally Posted by Ammako
|
This is great!
I found the textures I needed, and I've migrated all frames to the XML structure instead of doing it in LUA
I havn't added the mover yet, but that will be the next thing I'll do
Originally Posted by jeffy162
You can do an addon in strictly Lua. BUT, XML comes in handy when defining templates for the frames (IF I understand it correctly). It doesn't seem to be that difficult to read XML, but writing it could be something else.
I don't, personally, write either one of those languages. I know what it says under my avatar, but the plug-ins that I "wrote" are, really, just copy-n-paste work. The graphics were the tough part (and they are simple graphics).
|
I work as a lead developer, so getting to know this XML structure and LUA have proven to be fairly simple - but all the references etc. are whats holding my project back! So this is great
Thank you.
Originally Posted by Fizzlemizz
Code:
local close = CreateFrame("Button", "$parentCloseButton", parentframe, "UIPanelCloseButton")
close:SetPoint("TOPRIGHT")
Edit: It will close(hide) the frame provided as parentframe.
|
Nice
I've added a "Close" button now, and took inspiration in your example, combined with some XML!
You can see the new version attached here
I've attached an actual example of Xal'atath whispering me aswell
Again, thank you guys so much for the help! I'm fairly close to the first version that I'm gonna release