1
0
Garpu 0
This repository has been archived on 2020-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
wow-vanilla-addon-random-mount/Random_Mount.xml

260 baris
5.7 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/
..\FrameXML\UI.xsd">
<CheckButton name="EasyPotionUse_TabTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\SpellBook\SpellBook-SkillLineTab">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-3" y="11"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
if(EasyPotionUse_OptionsFrame) then EasyPotionUse_TabClick(); end
</OnClick>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(this.tipinfo);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<NormalTexture/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
</CheckButton>
<Script file="EasyPotionUse.lua"/>
<Frame name="EasyPotionUse_OptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
<scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
EasyPotionUse_onLoad();
</OnLoad>
<OnDragStart>
this:StartMoving();
this.isMoving = true;
</OnDragStart>
<OnDragStop>
this:StopMovingOrSizing();
this.isMoving = false;
</OnDragStop>
<OnEvent>
EPU_OnEvent();
</OnEvent>
</scripts>
<Size>
<AbsDimension x="300" y="400"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="600" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="Asto's EasyPotionUse Addon">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<FontString name="$parent_Type_Text" inherits="GameFontNormal" text="Potiontype to Use first:">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-40"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Order_Text" inherits="GameFontNormal" text="Potion Use Order:">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-100"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="EasyPotionUse_OptionsFrame_Tab0" inherits="EasyPotionUse_TabTemplate" id="0" hidden="false">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="-35"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="EasyPotionUse_OptionsFrame_Tab1" inherits="EasyPotionUse_TabTemplate" id="1" hidden="false">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EasyPotionUse_OptionsFrame_Tab0" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="-3" y="-17"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<Button name="$parent_Type_DropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-60"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
</Scripts>
</Button>
<Button name="$parent_Order0_DropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-120"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
</Scripts>
</Button>
<Button name="$parent_Order1_DropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-150"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
</Scripts>
</Button>
<Button name="$parent_Order2_DropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-180"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
</Scripts>
</Button>
<Button name="$parent_Done" inherits="OptionsButtonTemplate" text="Done">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
EasyPotionUse_OptionsFrame:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>