382 lines
12 KiB
XML
382 lines
12 KiB
XML
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
|
|
|
|
<Script file="options.lua"/>
|
|
|
|
<Frame name="AuxOptionsButtonTemplate" virtual="true" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="1" y="1"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="210" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Frames>
|
|
<Button name="AuxOptionsButton" inherits="UIPanelButtonTemplate" text="Aux">
|
|
<Size><AbsDimension x="50" y="22"/></Size>
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="758" y="-12"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Aux.options.show()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="AuxOptionsFrame" frameStrata="HIGH" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
|
|
<Size><AbsDimension x="400" y="440"/></Size>
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-170"/></Offset></Anchor></Anchors>
|
|
|
|
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-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="AuxOptionsHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
|
|
<Size x="120" y="64"/>
|
|
<Anchors><Anchor point="TOP"><Offset x="0" y="12"/></Anchor></Anchors>
|
|
</Texture>
|
|
<FontString inherits="GameFontNormal" text="Aux">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsHeader">
|
|
<Offset x="0" y="-14"/>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<Frame name="AuxOptionsAboutTitle">
|
|
<Size><AbsDimension y="30" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP"><Offset><AbsDimension y="-50"/></Offset></Anchor>
|
|
<Anchor point="LEFT"><Offset><AbsDimension x="30"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-30"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontNormal" text="About Aux" justifyH="LEFT" justifyV="TOP"></FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
|
|
<Frame>
|
|
<Size><AbsDimension y="35" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsAboutTitle" relativePoint="BOTTOM"><Offset><AbsDimension y="-5"/></Offset></Anchor>
|
|
<Anchor point="LEFT"><Offset><AbsDimension x="30"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-30"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="AuxOptionsSummary" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP" >
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Button inherits="UIPanelButtonTemplate" text="Read More">
|
|
<Size><AbsDimension x="80" y="18"/> </Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="AuxOptionsSummary" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="-3" y="-5"/></Offset></Anchor>
|
|
</Anchors>
|
|
<NormalFont inherits="GameFontNormalSmall"/>
|
|
<HighlightFont inherits="GameFontHighlightSmall"/>
|
|
<Scripts>
|
|
<OnClick>
|
|
Aux.options.show_description()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Frame name="AuxOptionsConfigTitle">
|
|
<Size><AbsDimension y="30" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" ><Offset><AbsDimension y="-180"/></Offset></Anchor>
|
|
<Anchor point="LEFT" ><Offset><AbsDimension x="30"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-30"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="AuxOptionsConfigTitleText" inherits="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="Options">
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame name="AuxOptionsSellShortcutBox">
|
|
<Size><AbsDimension y="40" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsConfigTitle" relativePoint="BOTTOM" ><Offset><AbsDimension y="-5"/></Offset></Anchor>
|
|
<Anchor point="LEFT" ><Offset><AbsDimension x="40"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-20"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_sell_shortcut_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<Frames>
|
|
<CheckButton name="AuxOptionsSellShortcut" inherits="UICheckButtonTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontHighlight" text="Aux Sell shortcut">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxOptionsSellShortcut">
|
|
<Offset><AbsDimension x="8" y="1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_sell_shortcut_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="AuxOptionsBuyShortcutBox">
|
|
<Size><AbsDimension y="40" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsConfigTitle" relativePoint="BOTTOM" ><Offset><AbsDimension y="-35"/></Offset></Anchor>
|
|
<Anchor point="LEFT" ><Offset><AbsDimension x="40"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-20"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_buy_shortcut_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<Frames>
|
|
<CheckButton name="AuxOptionsBuyShortcut" inherits="UICheckButtonTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontHighlight" text="Aux Buy Shortcut">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxOptionsBuyShortcut">
|
|
<Offset><AbsDimension x="8" y="1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_buy_shortcut_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="AuxOptionsOpenSellBox">
|
|
<Size><AbsDimension y="40" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsConfigTitle" relativePoint="BOTTOM" ><Offset><AbsDimension y="-65"/></Offset></Anchor>
|
|
<Anchor point="LEFT" ><Offset><AbsDimension x="40"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-20"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_open_sell_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<Frames>
|
|
<CheckButton name="AuxOptionsOpenSell" inherits="UICheckButtonTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontHighlight" text="Start on Aux Sell panel">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxOptionsOpenSell">
|
|
<Offset><AbsDimension x="8" y="1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
if this:GetChecked() then
|
|
AuxOptionsOpenBuy:SetChecked(false)
|
|
end
|
|
</OnClick>
|
|
<OnEnter>
|
|
Aux.options.show_open_sell_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="AuxOptionsOpenBuyBox">
|
|
<Size><AbsDimension y="40" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsConfigTitle" relativePoint="BOTTOM" ><Offset><AbsDimension y="-95"/></Offset></Anchor>
|
|
<Anchor point="LEFT" ><Offset><AbsDimension x="40"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-20"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_open_buy_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<Frames>
|
|
<CheckButton name="AuxOptionsOpenBuy" inherits="UICheckButtonTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontHighlight" text="Start on Aux Buy panel">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxOptionsOpenBuy">
|
|
<Offset><AbsDimension x="8" y="1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
if this:GetChecked() then
|
|
AuxOptionsOpenSell:SetChecked(false)
|
|
end
|
|
</OnClick>
|
|
<OnEnter>
|
|
Aux.options.show_open_buy_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="AuxOptionsInstantBuyoutBox">
|
|
<Size><AbsDimension y="40" /></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="AuxOptionsConfigTitle" relativePoint="BOTTOM" ><Offset><AbsDimension y="-125"/></Offset></Anchor>
|
|
<Anchor point="LEFT" ><Offset><AbsDimension x="40"/></Offset></Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-20"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_instant_buyout_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<Frames>
|
|
<CheckButton name="AuxOptionsInstantBuyout" inherits="UICheckButtonTemplate">
|
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GameFontHighlight" text="Instant buyout">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxOptionsInstantBuyout">
|
|
<Offset><AbsDimension x="8" y="1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
Aux.options.show_instant_buyout_tooltip()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame>
|
|
<Size><AbsDimension x="150" y="40" /></Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="25" y="5"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="AuxOptionsVersionText" inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP"></FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Button name="AuxOptionsCancelButton" inherits="UIPanelButtonTemplate" text="Cancel">
|
|
<Size><AbsDimension x="80" y="22"/> </Size>
|
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="15"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AuxOptionsFrame:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button inherits="UIPanelButtonTemplate" text="Okay">
|
|
<Size><AbsDimension x="80" y="22"/> </Size>
|
|
<Anchors><Anchor point="RIGHT" relativePoint="LEFT" relativeTo="AuxOptionsCancelButton"><Offset><AbsDimension x="-3" y="0"/></Offset></Anchor></Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Aux.options.save()
|
|
AuxOptionsFrame:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
</Ui> |