frame:SetPoint() has some quirks about the frame argument, if it's a string, it references by the frame by name. If it's a table (the reference of the UI object is stored as a userdata in index zero), it tries to use it as the frame directly. If it's nil, it references the screen itself.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
|
Last edited by SDPhantom : 02-03-12 at 03:55 PM.
|