Files
aux-addon-ClassicAPI/post_frame.xml
T
2016-01-28 13:27:23 +01:00

170 lines
9.2 KiB
XML

<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Script file="post_frame.lua"/>
<Frame>
<Scripts>
<OnUpdate>
Aux.post_frame.on_update()
</OnUpdate>
</Scripts>
</Frame>
<Frame name="AuxPostFrame" parent="AuxFrame" hidden="true">
<Anchors>
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
</Anchors>
<Frames>
<Frame name="AuxSellInventory" inherits="AuxFrameBoxTemplate">
<Size><AbsDimension x="260" y="326"/></Size>
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-35"/></Offset></Anchor></Anchors>
<Frames>
<Frame name="$parentListing">
<Anchors>
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
<Anchor point="BOTTOM"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
</Anchors>
</Frame>
</Frames>
</Frame>
<frame name="AuxSellParameters" inherits="AuxFrameBoxTemplate">
<Size><AbsDimension x="213" y="326"/></Size>
<Anchors><Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="AuxSellInventory"><Offset><AbsDimension x="3" y="0"/></Offset></Anchor></Anchors>
<frames>
<Frame name="$parentItem" inherits="AuxItemTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-10"/></Offset></Anchor></Anchors>
</Frame>
<!--<EditBox name="AuxSellStackSize" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate">-->
<!--<Size><AbsDimension x="30" y="16"/></Size>-->
<!--<Anchors><Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxSellStackSizeSlider"><Offset><AbsDimension x="10" y="0"/></Offset></Anchor></Anchors>-->
<!--<Scripts>-->
<!--<OnTextChanged>-->
<!--if AuxSellStackSizeSlider.charge_classes then-->
<!--local charge_slider_value = Aux.util.index_of(this:GetNumber(), AuxSellStackSizeSlider.charge_classes)-->
<!--if charge_slider_value then-->
<!--AuxSellStackSizeSlider:SetValue(charge_slider_value)-->
<!--end-->
<!--else-->
<!--AuxSellStackSizeSlider:SetValue(this:GetNumber())-->
<!--end-->
<!--Aux.post_frame.quantity_update()-->
<!--</OnTextChanged>-->
<!--<OnTabPressed>-->
<!--&lt;!&ndash; if (IsShiftKeyDown()) then-->
<!--getglobal(this:GetParent():GetName().."BuyoutPriceCopper"):SetFocus();-->
<!--else-->
<!--getglobal(this:GetParent():GetName().."StackCount"):SetFocus();-->
<!--end &ndash;&gt;-->
<!--</OnTabPressed>-->
<!--<OnEditFocusLost>-->
<!--this:HighlightText(0, 0)-->
<!--</OnEditFocusLost>-->
<!--<OnEditFocusGained>-->
<!--this:HighlightText()-->
<!--</OnEditFocusGained>-->
<!--</Scripts>-->
<!--</EditBox>-->
<!--<EditBox name="AuxSellStackCount" numeric="true" autoFocus="false" inherits="InputBoxTemplate">-->
<!--<Size><AbsDimension x="30" y="16"/></Size>-->
<!--<Anchors><Anchor point="LEFT" relativePoint="RIGHT" relativeTo="AuxSellStackCountSlider"><Offset><AbsDimension x="10" y="0"/></Offset></Anchor></Anchors>-->
<!--<Scripts>-->
<!--<OnTextChanged>-->
<!--if AuxSellStackCountSlider.charge_classes then-->
<!--local index = Aux.util.index_of(this:GetNumber(), AuxSellStackCountSlider.charge_classes)-->
<!--if index then-->
<!--AuxSellStackCountSlider:SetValue(index)-->
<!--end-->
<!--else-->
<!--AuxSellStackCountSlider:SetValue(this:GetNumber())-->
<!--end-->
<!--Aux.post_frame.quantity_update()-->
<!--</OnTextChanged>-->
<!--<OnTabPressed>-->
<!--&lt;!&ndash; if (IsShiftKeyDown()) then-->
<!--getglobal(this:GetParent():GetName().."StackSize"):SetFocus();-->
<!--else-->
<!--getglobal(this:GetParent():GetName().."StartPriceGold"):SetFocus();-->
<!--end &ndash;&gt;-->
<!--</OnTabPressed>-->
<!--<OnEditFocusLost>-->
<!--this:HighlightText(0, 0)-->
<!--</OnEditFocusLost>-->
<!--<OnEditFocusGained>-->
<!--this:HighlightText()-->
<!--</OnEditFocusGained>-->
<!--</Scripts>-->
<!--</EditBox>-->
<CheckButton name="$parentShortDurationRadio" inherits="AuxRadioButtonTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="14" y="-170"/></Offset></Anchor></Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("2h")
</OnLoad>
<OnClick>
Aux.post_frame.duration_radio_button_on_click(1)
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parentMediumDurationRadio" inherits="AuxRadioButtonTemplate">
<Anchors><Anchor point="LEFT" relativeTo="$parentShortDurationRadio" relativePoint="RIGHT"><Offset><AbsDimension x="30" y="0"/></Offset></Anchor></Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName()..'Text'):SetText("8h")
</OnLoad>
<OnClick>
Aux.post_frame.duration_radio_button_on_click(2)
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="$parentLongDurationRadio" inherits="AuxRadioButtonTemplate">
<Anchors><Anchor point="LEFT" relativeTo="$parentMediumDurationRadio" relativePoint="RIGHT"><Offset><AbsDimension x="30" y="0"/></Offset></Anchor></Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText("24h")
</OnLoad>
<OnClick>
Aux.post_frame.duration_radio_button_on_click(3)
</OnClick>
</Scripts>
</CheckButton>
<!--<Frame name="$parentStrategyDropDown" inherits="UIDropDownMenuTemplate">-->
<!--<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-11" y="-180" /></Offset></Anchor></Anchors>-->
<!--<Layers>-->
<!--<Layer level="BACKGROUND">-->
<!--<FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Suggestion Based On">-->
<!--<Anchors><Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"><Offset><AbsDimension x="21" y="0"/></Offset></Anchor></Anchors>-->
<!--</FontString>-->
<!--<FontString name="$parentStaleWarning" inherits="GameFontRedSmall">-->
<!--<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset><AbsDimension x="-6" y="3"/></Offset></Anchor></Anchors>-->
<!--</FontString>-->
<!--</Layer>-->
<!--</Layers>-->
<!--<Scripts>-->
<!--<OnLoad>-->
<!--UIDropDownMenu_SetWidth(100)-->
<!--UIDropDownMenu_Initialize(this, Aux.post_frame.initialize_strategy_dropdown)-->
<!--</OnLoad>-->
<!--<OnShow>-->
<!--UIDropDownMenu_Initialize(this, Aux.post_frame.initialize_strategy_dropdown)-->
<!--</OnShow>-->
<!--</Scripts>-->
<!--</Frame>-->
</frames>
</frame>
<Frame name="AuxSellAuctions" inherits="AuxFrameBoxTemplate">
<Size><AbsDimension x="361" y="326"/></Size>
<Anchors><Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="AuxSellParameters"><Offset><AbsDimension x="3" y="0"/></Offset></Anchor></Anchors>
<Frames>
<Frame name="$parentListing">
<Anchors>
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
<Anchor point="BOTTOM"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
</Anchors>
</Frame>
</Frames>
</Frame>
</Frames>
</Frame>
</Ui>