Want to move "okay" button - can't find it
Hello
I want to write an addon which will offset the "Okay" button used by the default EquipmentManager (the thing that is circled in the picture) up a lot and to the right a bit (where the arrow is pointing). Should be easy enough, but I can't find the darn "Okay" button anywhere in the FrameXML. Heck, I can't even find the "Save" frame that should pop up. It just doesn't seem to exist. If I could find that, then I could just add an okay button, and have its OnClick just run the normal OnClick. Any help would be most excellent, i've spent a good hour or two going through CharacterFrame.lua, CharacterFrame.xml, and EquipmentManager.lua. I am thinking the solution lies in EquipmentManager.xml but that doesn't seem to exist. Also, I seem to recall an addon that, whenever you mouse over a frame, puts the name of the frame in the tooltip or prints it to the chatlog or somesuch similar action. But I can't find that either. |
Quote:
|
It's defined in PaperDollFrame.xml and is called GearManagerDialogPopupOkay.
http://wowprogramming.com/utils/xmlb...rDollFrame.xml |
Code:
GearManagerDialogPopupOkay:ClearAllPoints() |
that is so awesome, thank you all so very much for all the replies! :)
edit: also, it would seem that Blizzard coders really need to better-organize their code. |
All times are GMT -6. The time now is 09:53 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI