Im having trouble with making a GameMenuButtonTemplate button drag-able, can anyone give me a hand or tell me where I can find a why to do it.
Thanks
Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.blizzard.com/wow/ui/
http://wowprogramming.com/FrameXML/UI.xsd">
<Button name="PointMe_Button"
inherits="GameMenuButtonTemplate"
parent="WorldMapFrame" text="Point Me">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="-213" y="-1"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PointMe_ButtonOnClick(self, button, down)
</OnClick>
</Scripts>
</Button>
<Frame name="PointMe_DropDown" inherits="UIDropDownMenuTemplate" frameStrata="FULLSCREEN_DIALOG">
<Scripts>
<OnLoad>
PointMe_DropDownOnLoad(self)
</OnLoad>
</Scripts>
</Frame>
</Ui>