Files
GMGenie/Spawns.xml
2014-07-02 11:06:24 +02:00

632 lines
27 KiB
XML

<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="GMGenie_Spawns_Main" inherits="GMGenie_Window" hidden="true">
<Size>
<AbsDimension x="180" y="267"/>
</Size>
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
<Scripts>
<OnLoad>
GMGenie.loadWindow(self, 'Builder', false, nil);
</OnLoad>
<OnDoubleClick>
self:ClearAllPoints();
self:SetPoint("LEFT");
</OnDoubleClick>
</Scripts>
<Frames>
<Frame name="$parent_Coords">
<Size>
<AbsDimension x="170" y="23"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-19"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_X" inherits="GenieFontNormalSmall" text="X:" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</FontString>
<FontString name="$parent_Y" inherits="GenieFontNormalSmall" text="Y:" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="85" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Z" inherits="GenieFontNormalSmall" text="Z:" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_O" inherits="GenieFontNormalSmall" text="O:" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="85" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parent_ForwardBackward">
<Size>
<AbsDimension x="170" y="19"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Coords" relativePoint="BOTTOM"/>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_Title" inherits="GenieFontNormalSmall" text="Move:" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="$parent_Amount" inherits="GMGenie_Input_Text">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
<Button name="$parent_Direction" inherits="GMGenie_Dropdown" text="forward">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="105" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
ToggleDropDownMenu(1, nil, GMGenie_Spawns_Main_ForwardBackward_Dropdownbuttons,
GMGenie_Spawns_Main_ForwardBackward_Direction, 0, 0);
</OnClick>
</Scripts>
</Button>
<Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="50"/>
</Frames>
</Frame>
<Frame name="$parent_LeftRight">
<Size>
<AbsDimension x="170" y="19"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_ForwardBackward" relativePoint="BOTTOM"/>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_Title" inherits="GenieFontNormalSmall" text="Move:" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="$parent_Amount" inherits="GMGenie_Input_Text">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
<Button name="$parent_Direction" inherits="GMGenie_Dropdown" text="left">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="105" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
ToggleDropDownMenu(1, nil, GMGenie_Spawns_Main_LeftRight_Dropdownbuttons,
GMGenie_Spawns_Main_LeftRight_Direction, 0, 0);
</OnClick>
</Scripts>
</Button>
<Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="50"/>
</Frames>
</Frame>
<Frame name="$parent_UpDown">
<Size>
<AbsDimension x="170" y="19"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_LeftRight" relativePoint="BOTTOM"/>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_Title" inherits="GenieFontNormalSmall" text="Move:" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="$parent_Amount" inherits="GMGenie_Input_Text">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
<Button name="$parent_Direction" inherits="GMGenie_Dropdown" text="up">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="105" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
ToggleDropDownMenu(1, nil, GMGenie_Spawns_Main_UpDown_Dropdownbuttons,
GMGenie_Spawns_Main_UpDown_Direction, 0, 0);
</OnClick>
</Scripts>
</Button>
<Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="50"/>
</Frames>
</Frame>
<Frame name="$parent_Rotate">
<Size>
<AbsDimension x="170" y="19"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_UpDown" relativePoint="BOTTOM"/>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_Title" inherits="GenieFontNormalSmall" text="degrees" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="130" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parent_Direction" inherits="GMGenie_Dropdown" text="Rotate left">
<Size>
<AbsDimension x="80" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
ToggleDropDownMenu(1, nil, GMGenie_Spawns_Main_Rotate_Dropdownbuttons,
GMGenie_Spawns_Main_Rotate_Direction, 0, 0);
</OnClick>
</Scripts>
</Button>
<Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="50"/>
<EditBox name="$parent_Amount" inherits="GMGenie_Input_Text">
<Size>
<AbsDimension x="50" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="80" y="0"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
</Frames>
</Frame>
<Frame name="$parent_Object">
<Size>
<AbsDimension x="170" y="19"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Rotate" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_Title" inherits="GenieFontNormalSmall" text="Object:" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parent_Dropdown" inherits="GMGenie_Dropdown" text="Presets">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
ToggleDropDownMenu(1, nil, GMGenie_Spawns_Main_Object_Dropdownbuttons,
GMGenie_Spawns_Main_Object_Dropdown, 0, 0);
</OnClick>
</Scripts>
</Button>
<Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="50"/>
<EditBox name="$parent_Id" inherits="GMGenie_Input_Text">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="105" y="0"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
</Frames>
</Frame>
<Frame name="$parent_Npc">
<Size>
<AbsDimension x="170" y="19"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Object" relativePoint="BOTTOM"/>
</Anchors>
<Layers>
<Layer>
<FontString name="$parent_Title" inherits="GenieFontNormalSmall" text="Npc:" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parent_Dropdown" inherits="GMGenie_Dropdown" text="Presets">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
ToggleDropDownMenu(1, nil, GMGenie_Spawns_Main_Npc_Dropdownbuttons,
GMGenie_Spawns_Main_Npc_Dropdown, 0, 0);
</OnClick>
</Scripts>
</Button>
<Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="50"/>
<EditBox name="$parent_Id" inherits="GMGenie_Input_Text">
<Size>
<AbsDimension x="65" y="18"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="105" y="0"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
</Frames>
</Frame>
<Frame name="$parent_Buttons">
<Size>
<AbsDimension x="170" y="98"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Npc" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="$parent_Move" inherits="GMGenie_Button" text="Move">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.initiateMove(0);
</OnClick>
</Scripts>
</Button>
<Button name="$parent_MoveBack" inherits="GMGenie_Button" text="Move back">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.initiateMove(-1);
</OnClick>
</Scripts>
</Button>
<Button name="$parent_SpawnObject" inherits="GMGenie_Button" text="Add object">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-19"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.object(GMGenie_Spawns_Main_Object_Id:GetText());
</OnClick>
</Scripts>
</Button>
<Button name="$parent_SpawnNpc" inherits="GMGenie_Button" text="Add npc">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="-19"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.npc(GMGenie_Spawns_Main_Npc_Id:GetText());
</OnClick>
</Scripts>
</Button>
<Button name="$parent_MoveSpawnObject" inherits="GMGenie_Button" text="Move + object">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-38"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.initiateMove(1);
</OnClick>
</Scripts>
</Button>
<Button name="$parent_MoveSpawnNpc" inherits="GMGenie_Button" text="Move + npc">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="-38"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.initiateMove(2);
</OnClick>
</Scripts>
</Button>
<Button name="$parent_DeleteObject" inherits="GMGenie_Button" text="Delete object">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-57"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.targetObject();
</OnClick>
</Scripts>
</Button>
<Button name="$parent_DeleteNpc" inherits="GMGenie_Button" text="Delete npc">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="-57"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.deleteNpc();
</OnClick>
</Scripts>
</Button>
<Button name="$parent_ResetCoords" inherits="GMGenie_Button" text="Reset coords">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-80"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.resetCoords();
</OnClick>
</Scripts>
</Button>
<Button name="$parent_Macros" inherits="GMGenie_Button" text="Macro">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="-80"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.toggleMacroWindow();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
</Button>
<Button name="GMGenie_Spawns_Macro" inherits="GMGenie_Window" hidden="true">
<Size>
<AbsDimension x="180" y="267"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GMGenie_Spawns_Main" relativePoint="RIGHT"/>
</Anchors>
<Scripts>
<OnLoad>
GMGenie.loadWindow(self, 'Spawn Macro', false, nil);
</OnLoad>
<OnDoubleClick>
self:ClearAllPoints();
self:SetPoint("LEFT", "GMGenie_Spawns_Main", "RIGHT");
</OnDoubleClick>
</Scripts>
<Frames>
<Frame name="$parent_Macro" enableMouse="true" inherits="GMGenie_Input_TextArea">
<Size>
<AbsDimension x="146" y="220"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="-19"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
GMGenie.loadEditBox(self);
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_Run" inherits="GMGenie_Button" text="Run macro">
<Size>
<AbsDimension x="85" y="18"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Macro" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="12" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GMGenie.Spawns.runMacro();
</OnClick>
</Scripts>
</Button>
</Frames>
</Button>
<Frame name="GMGenie_Spawns_Hyperlink_Menu" inherits="UIDropDownMenuTemplate" id="51"/>
</Ui>