Well, you can actually. I have done it very easily. However, I do agree that the Secure Template could be fleshed out to be more all inclusive.
But almost all of the about functions, if not all, can be done via a button with adding type macro and macrotext.
Here is a little snippet of my code in Macaroon for pet buttons, slightly modified to be clearer -
button:SetAttribute("type1", "pet")
button:SetAttribute("type2", "macro")
button:SetAttribute("*action1", "[#]") - pet action number
button:SetAttribute("*macrotext2", "/petautocasttoggle "..petspell)
Through extensive testing these buttons work and behave like the default UI pet buttons. They are not the default UI pet buttons re-parented to Macaroon frames.
|