View Single Post
02-11-11, 09:52 AM   #1
Mortilus
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 12
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.

  Reply With Quote