Quantcast WoWInterface - View Single Post - Coloring standard buttons
View Single Post
01-15-13, 02:00 PM   #15
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 94
Thanks... I did the xml like that because I didn't know what I could access from lua outside the xml... never messed with it so I wasn't sure what the scope for everything would be. I prefer lua as it isn't as extremely verbose and I am used to using it. As for the OnUpdate bit, not knowing the scope of things from the xml, that was the only way I could think to be sure I could directly interact with it. That is why I didn't even use a timer to delay the loops as I thought that an equity check would be less of an impact than incrementing a value, then checking it. One operation instead of 2... I have not done much in the ways of GUIs in my addons... just some small frames and what not (except for control panel pages)

so, how bad was the xml since I never used it before anyways?
  Reply With Quote