some progress with the new UI
This commit is contained in:
Generated
+47
-46
@@ -2,8 +2,9 @@
|
|||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="3c1af1d3-ae57-470d-8daa-a9295703c6fc" name="Default" comment="">
|
<list default="true" id="3c1af1d3-ae57-470d-8daa-a9295703c6fc" name="Default" comment="">
|
||||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/buy.lua" afterPath="$PROJECT_DIR$/buy.lua" />
|
|
||||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/buy.xml" afterPath="$PROJECT_DIR$/buy.xml" />
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/buy.xml" afterPath="$PROJECT_DIR$/buy.xml" />
|
||||||
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/core.lua" afterPath="$PROJECT_DIR$/core.lua" />
|
||||||
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/core.xml" afterPath="$PROJECT_DIR$/core.xml" />
|
||||||
</list>
|
</list>
|
||||||
<ignored path="Aux-Addon.iws" />
|
<ignored path="Aux-Addon.iws" />
|
||||||
<ignored path=".idea/workspace.xml" />
|
<ignored path=".idea/workspace.xml" />
|
||||||
@@ -69,8 +70,8 @@
|
|||||||
<file leaf-file-name="core.lua" pinned="false" current="false" current-in-tab="false">
|
<file leaf-file-name="core.lua" pinned="false" current="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/core.lua">
|
<entry file="file://$PROJECT_DIR$/core.lua">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="920" max-vertical-offset="8602">
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="8942">
|
||||||
<caret line="85" column="0" selection-start-line="85" selection-start-column="2" selection-end-line="85" selection-end-column="35" />
|
<caret line="106" column="24" selection-start-line="106" selection-start-column="24" selection-end-line="106" selection-end-column="24" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -79,7 +80,7 @@
|
|||||||
<file leaf-file-name="info.lua" pinned="false" current="false" current-in-tab="false">
|
<file leaf-file-name="info.lua" pinned="false" current="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/info.lua">
|
<entry file="file://$PROJECT_DIR$/info.lua">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="-15.892858" vertical-offset="1833" max-vertical-offset="3060">
|
<state vertical-scroll-proportion="-26.821428" vertical-offset="1527" max-vertical-offset="3060">
|
||||||
<caret line="134" column="49" selection-start-line="134" selection-start-column="49" selection-end-line="134" selection-end-column="49" />
|
<caret line="134" column="49" selection-start-line="134" selection-start-column="49" selection-end-line="134" selection-end-column="49" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
@@ -119,8 +120,8 @@
|
|||||||
<file leaf-file-name="list.lua" pinned="false" current="false" current-in-tab="false">
|
<file leaf-file-name="list.lua" pinned="false" current="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/list.lua">
|
<entry file="file://$PROJECT_DIR$/list.lua">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="-11.928572" vertical-offset="4052" max-vertical-offset="4624">
|
<state vertical-scroll-proportion="-10.464286" vertical-offset="2512" max-vertical-offset="4624">
|
||||||
<caret line="258" column="8" selection-start-line="258" selection-start-column="8" selection-end-line="258" selection-end-column="8" />
|
<caret line="165" column="19" selection-start-line="165" selection-start-column="14" selection-end-line="165" selection-end-column="19" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -129,8 +130,8 @@
|
|||||||
<file leaf-file-name="buy.xml" pinned="false" current="true" current-in-tab="true">
|
<file leaf-file-name="buy.xml" pinned="false" current="true" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/buy.xml">
|
<entry file="file://$PROJECT_DIR$/buy.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.5631285" vertical-offset="2012" max-vertical-offset="9826">
|
<state vertical-scroll-proportion="0.5441341" vertical-offset="3049" max-vertical-offset="13515">
|
||||||
<caret line="148" column="33" selection-start-line="148" selection-start-column="33" selection-end-line="148" selection-end-column="33" />
|
<caret line="208" column="46" selection-start-line="208" selection-start-column="46" selection-end-line="208" selection-end-column="46" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -159,8 +160,8 @@
|
|||||||
<file leaf-file-name="core.xml" pinned="false" current="false" current-in-tab="false">
|
<file leaf-file-name="core.xml" pinned="false" current="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/core.xml">
|
<entry file="file://$PROJECT_DIR$/core.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="182" max-vertical-offset="1904">
|
<state vertical-scroll-proportion="0.0" vertical-offset="622" max-vertical-offset="1530">
|
||||||
<caret line="61" column="87" selection-start-line="61" selection-start-column="87" selection-end-line="61" selection-end-column="87" />
|
<caret line="58" column="20" selection-start-line="58" selection-start-column="20" selection-end-line="58" selection-end-column="20" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -183,12 +184,12 @@
|
|||||||
<option value="$PROJECT_DIR$/sell.xml" />
|
<option value="$PROJECT_DIR$/sell.xml" />
|
||||||
<option value="$PROJECT_DIR$/util.lua" />
|
<option value="$PROJECT_DIR$/util.lua" />
|
||||||
<option value="$PROJECT_DIR$/sell.lua" />
|
<option value="$PROJECT_DIR$/sell.lua" />
|
||||||
<option value="$PROJECT_DIR$/core.xml" />
|
|
||||||
<option value="$PROJECT_DIR$/scan.lua" />
|
<option value="$PROJECT_DIR$/scan.lua" />
|
||||||
<option value="$PROJECT_DIR$/info.lua" />
|
<option value="$PROJECT_DIR$/info.lua" />
|
||||||
<option value="$PROJECT_DIR$/list.lua" />
|
<option value="$PROJECT_DIR$/list.lua" />
|
||||||
<option value="$PROJECT_DIR$/core.lua" />
|
|
||||||
<option value="$PROJECT_DIR$/buy.lua" />
|
<option value="$PROJECT_DIR$/buy.lua" />
|
||||||
|
<option value="$PROJECT_DIR$/core.lua" />
|
||||||
|
<option value="$PROJECT_DIR$/core.xml" />
|
||||||
<option value="$PROJECT_DIR$/buy.xml" />
|
<option value="$PROJECT_DIR$/buy.xml" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
@@ -451,14 +452,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/core.xml">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="182" max-vertical-offset="1904">
|
|
||||||
<caret line="61" column="87" selection-start-line="61" selection-start-column="87" selection-end-line="61" selection-end-column="87" />
|
|
||||||
<folding />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/options.lua">
|
<entry file="file://$PROJECT_DIR$/options.lua">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2040">
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2040">
|
||||||
@@ -475,14 +468,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/info.lua">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state vertical-scroll-proportion="-15.892858" vertical-offset="1833" max-vertical-offset="3060">
|
|
||||||
<caret line="134" column="49" selection-start-line="134" selection-start-column="49" selection-end-line="134" selection-end-column="49" />
|
|
||||||
<folding />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/util.lua">
|
<entry file="file://$PROJECT_DIR$/util.lua">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="1224" max-vertical-offset="4420">
|
<state vertical-scroll-proportion="0.0" vertical-offset="1224" max-vertical-offset="4420">
|
||||||
@@ -491,22 +476,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/list.lua">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state vertical-scroll-proportion="-11.928572" vertical-offset="4052" max-vertical-offset="4624">
|
|
||||||
<caret line="258" column="8" selection-start-line="258" selection-start-column="8" selection-end-line="258" selection-end-column="8" />
|
|
||||||
<folding />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/core.lua">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="920" max-vertical-offset="8602">
|
|
||||||
<caret line="85" column="0" selection-start-line="85" selection-start-column="2" selection-end-line="85" selection-end-column="35" />
|
|
||||||
<folding />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/options.xml">
|
<entry file="file://$PROJECT_DIR$/options.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.0" vertical-offset="342" max-vertical-offset="6579">
|
<state vertical-scroll-proportion="0.0" vertical-offset="342" max-vertical-offset="6579">
|
||||||
@@ -523,10 +492,42 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/info.lua">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state vertical-scroll-proportion="-26.821428" vertical-offset="1527" max-vertical-offset="3060">
|
||||||
|
<caret line="134" column="49" selection-start-line="134" selection-start-column="49" selection-end-line="134" selection-end-column="49" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/list.lua">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state vertical-scroll-proportion="-10.464286" vertical-offset="2512" max-vertical-offset="4624">
|
||||||
|
<caret line="165" column="19" selection-start-line="165" selection-start-column="14" selection-end-line="165" selection-end-column="19" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/core.lua">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="8942">
|
||||||
|
<caret line="106" column="24" selection-start-line="106" selection-start-column="24" selection-end-line="106" selection-end-column="24" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/core.xml">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state vertical-scroll-proportion="0.0" vertical-offset="622" max-vertical-offset="1530">
|
||||||
|
<caret line="58" column="20" selection-start-line="58" selection-start-column="20" selection-end-line="58" selection-end-column="20" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/buy.xml">
|
<entry file="file://$PROJECT_DIR$/buy.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.5631285" vertical-offset="2012" max-vertical-offset="9826">
|
<state vertical-scroll-proportion="0.5441341" vertical-offset="3049" max-vertical-offset="13515">
|
||||||
<caret line="148" column="33" selection-start-line="148" selection-start-column="33" selection-end-line="148" selection-end-column="33" />
|
<caret line="208" column="46" selection-start-line="208" selection-start-column="46" selection-end-line="208" selection-end-column="46" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
|||||||
@@ -40,37 +40,132 @@
|
|||||||
</HighlightTexture>
|
</HighlightTexture>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<!--<Frame name="AuxBuyTemplate" virtual="true" hidden="true" inherits="OptionFrameBoxTemplate">-->
|
<Button name="AuxTabTemplate" hidden="false" virtual="true">
|
||||||
<!--<Size><AbsDimension x="694" y="447"/></Size>-->
|
|
||||||
<!--<Anchors><Anchor point="TOPLEFT"/></Anchors> -->
|
|
||||||
<Frame name="AuxBuyPanel" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
|
|
||||||
<Size>
|
<Size>
|
||||||
<AbsDimension x="895" y="425"/>
|
<AbsDimension x="64" y="32"/>
|
||||||
|
</Size>
|
||||||
|
<Layers>
|
||||||
|
<Layer level="BACKGROUND">
|
||||||
|
<Texture name="$parentLeft" file="Interface\ChatFrame\ChatFrameTab">
|
||||||
|
<Size>
|
||||||
|
<AbsDimension x="16" y="32"/>
|
||||||
|
</Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT"/>
|
||||||
|
</Anchors>
|
||||||
|
<TexCoords left="0.0" right="0.25" top="0.0" bottom="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
<Texture name="$parentRight" file="Interface\ChatFrame\ChatFrameTab">
|
||||||
|
<Size>
|
||||||
|
<AbsDimension x="16" y="32"/>
|
||||||
|
</Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="RIGHT"/>
|
||||||
|
</Anchors>
|
||||||
|
<TexCoords left="0.75" right="1.0" top="0.0" bottom="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
<Texture name="$parentMiddle" file="Interface\ChatFrame\ChatFrameTab">
|
||||||
|
<Size>
|
||||||
|
<AbsDimension x="44" y="32"/>
|
||||||
|
</Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<TexCoords left="0.25" right="0.75" top="0.0" bottom="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
</Layer>
|
||||||
|
</Layers>
|
||||||
|
<Scripts>
|
||||||
|
<OnShow>
|
||||||
|
this:SetWidth(getglobal(this:GetName()..'Text'):GetStringWidth()+40)
|
||||||
|
</OnShow>
|
||||||
|
<OnClick>
|
||||||
|
Aux.on_tab_click(arg1)
|
||||||
|
</OnClick>
|
||||||
|
</Scripts>
|
||||||
|
<NormalText name="$parentText" inherits="GameFontNormalSmall">
|
||||||
|
<Size>
|
||||||
|
<AbsDimension x="50" y="8"/>
|
||||||
|
</Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="CENTER">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="-5"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
</NormalText>
|
||||||
|
<HighlightTexture name="$parentHighlight" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" setAllPoints="true">
|
||||||
|
<Size>
|
||||||
|
<AbsDimension x="5" y="32"/>
|
||||||
|
</Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativeTo="$parentLeft">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="-7"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
<Anchor point="RIGHT" relativeTo="$parentRight">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="-7"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
</HighlightTexture>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Frame name="AuxBuyPanel" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent">
|
||||||
|
<Size>
|
||||||
|
<AbsDimension x="890" y="560"/>
|
||||||
</Size>
|
</Size>
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="CENTER"/>
|
<Anchor point="CENTER"/>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnLoad>this:RegisterForDrag('LeftButton')</OnLoad>
|
<OnLoad>
|
||||||
<OnDragStart>this:StartMoving()</OnDragStart>
|
this:RegisterForDrag('LeftButton')
|
||||||
<OnDragStop>this:StopMovingOrSizing()</OnDragStop>
|
</OnLoad>
|
||||||
|
<OnDragStart>
|
||||||
|
this:StartMoving()
|
||||||
|
</OnDragStart>
|
||||||
|
<OnDragStop>
|
||||||
|
this:StopMovingOrSizing()
|
||||||
|
</OnDragStop>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
<Backdrop edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
||||||
<BackgroundInsets>
|
<!--<BackgroundInsets>-->
|
||||||
<AbsInset left="11" right="12" top="12" bottom="11"/>
|
<!--<AbsInset left="11" right="12" top="12" bottom="11"/>-->
|
||||||
</BackgroundInsets>
|
<!--</BackgroundInsets>-->
|
||||||
<TileSize>
|
<!--<TileSize>-->
|
||||||
<AbsValue val="32"/>
|
<!--<AbsValue val="32"/>-->
|
||||||
</TileSize>
|
<!--</TileSize>-->
|
||||||
<EdgeSize>
|
<EdgeSize>
|
||||||
<AbsValue val="32"/>
|
<AbsValue val="32"/>
|
||||||
</EdgeSize>
|
</EdgeSize>
|
||||||
</Backdrop>
|
</Backdrop>
|
||||||
<Layers>
|
<Layers>
|
||||||
|
<Layer level="BACKGROUND">
|
||||||
|
<Texture>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="TOPLEFT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="12" y="-11"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
<Anchor point="BOTTOMRIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="-12" y="11"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Color r="0" g="0" b="0" a="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
</Layer>
|
||||||
<Layer level="ARTWORK">
|
<Layer level="ARTWORK">
|
||||||
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
|
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
|
||||||
<Size>
|
<Size>
|
||||||
<AbsDimension x="256" y="64"/>
|
<AbsDimension x="150" y="64"/>
|
||||||
</Size>
|
</Size>
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="TOP">
|
<Anchor point="TOP">
|
||||||
@@ -80,7 +175,7 @@
|
|||||||
</Anchor>
|
</Anchor>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
</Texture>
|
</Texture>
|
||||||
<FontString inherits="GameFontNormal" text="Aux Buy">
|
<FontString inherits="GameFontNormal" text="Aux">
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="TOP" relativeTo="$parentHeader">
|
<Anchor point="TOP" relativeTo="$parentHeader">
|
||||||
<Offset>
|
<Offset>
|
||||||
@@ -92,176 +187,143 @@
|
|||||||
</Layer>
|
</Layer>
|
||||||
</Layers>
|
</Layers>
|
||||||
<Frames>
|
<Frames>
|
||||||
<Frame name="AuxBuySheetFrame" inherits="OptionFrameBoxTemplate">
|
<Button name="AuctionFrameCloseButton" inherits="UIPanelCloseButton">
|
||||||
<Size>
|
<Anchors>
|
||||||
<AbsDimension x="655" y="326"/>
|
<Anchor point="TOPRIGHT">
|
||||||
</Size>
|
<Offset>
|
||||||
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="220" y="-50"/></Offset></Anchor></Anchors>
|
<AbsDimension x="-6" y="-6"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
</Button>
|
||||||
|
<Frame name="AuxLogFrame" inherits="OptionFrameBoxTemplate">
|
||||||
|
<Size><AbsDimension x="600" y="71"/></Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="20" y="0"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
<Anchor point="RIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="-20" y="0"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
<Anchor point="BOTTOM">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="20"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Frames>
|
||||||
|
<ScrollingMessageFrame name="$parentMessageFrame" maxLines="500">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="TOPLEFT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="7" y="-5"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
<Anchor point="BOTTOMRIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="-7" y="9"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
Aux.log_frame_load()
|
||||||
|
</OnLoad>
|
||||||
|
<OnUpdate>
|
||||||
|
Aux.log_frame_update(arg1)
|
||||||
|
</OnUpdate>
|
||||||
|
<OnHyperlinkClick>
|
||||||
|
ChatFrame_OnHyperlinkShow(arg1)
|
||||||
|
</OnHyperlinkClick>
|
||||||
|
<OnMouseWheel>
|
||||||
|
if arg1 == 1 then
|
||||||
|
this:ScrollUp()
|
||||||
|
elseif arg1 == -1 then
|
||||||
|
this:ScrollDown()
|
||||||
|
end
|
||||||
|
</OnMouseWheel>
|
||||||
|
</Scripts>
|
||||||
|
<FontString inherits="ChatFontNormal" justifyH="LEFT"/>
|
||||||
|
</ScrollingMessageFrame>
|
||||||
|
</Frames>
|
||||||
|
</Frame>
|
||||||
|
<Frame name="AuxBuySubPanel" inherits="AuxFrameBoxTemplate">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-50"/></Offset></Anchor>
|
||||||
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="100"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||||
|
<EdgeSize>
|
||||||
|
<AbsValue val="16"/>
|
||||||
|
</EdgeSize>
|
||||||
|
</Backdrop>
|
||||||
|
<Frames>
|
||||||
|
<Button name="AuxTab1" inherits="AuxTabTemplate" id="1">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="7" y="-2"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
getglobal(this:GetName().."Text"):SetText('Search')
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Button>
|
||||||
|
<Button name="AuxTab2" inherits="AuxTabTemplate" id="2">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativeTo="AuxTab1" relativePoint="RIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="0"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
getglobal(this:GetName().."Text"):SetText('Post')
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Button>
|
||||||
|
<Button name="AuxTab3" inherits="AuxTabTemplate" id="3">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativeTo="AuxTab2" relativePoint="RIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="0"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
getglobal(this:GetName().."Text"):SetText('Auctions')
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Button>
|
||||||
|
<Button name="AuxTab4" inherits="AuxTabTemplate" id="4">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativeTo="AuxTab3" relativePoint="RIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="0" y="0"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
getglobal(this:GetName().."Text"):SetText('Bids')
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Button>
|
||||||
|
<Frame name="AuxBuyFilters" inherits="AuxFrameBoxTemplate">
|
||||||
|
<Size><AbsDimension x="180" y="326"/></Size>
|
||||||
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-35"/></Offset></Anchor></Anchors>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnLoad>
|
<OnLoad>
|
||||||
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
|
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
|
||||||
this:SetBackdropColor(0.15, 0.15, 0.15)
|
|
||||||
getglobal(this:GetName().."Title"):SetText('Search Results')
|
|
||||||
</OnLoad>
|
|
||||||
</Scripts>
|
|
||||||
<Frames>
|
|
||||||
<Frame name="AuxBuyBuyList" hidden="true">
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
||||||
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-40" y="0"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnLoad>
|
|
||||||
local sort_order = Aux.util.map(Aux.buy.modes[1].sort_order, function(column_order) return { column = Aux.buy.modes[1].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
|
|
||||||
this.sheet = Aux.sheet.create(this, Aux.buy.modes[1].columns, sort_order, Aux.buy.modes[1].on_cell_click, Aux.buy.modes[1].on_cell_enter, Aux.buy.modes[1].on_cell_leave)
|
|
||||||
</OnLoad>
|
|
||||||
</Scripts>
|
|
||||||
</Frame>
|
|
||||||
<Frame name="AuxBuyBidList" hidden="true">
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
||||||
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-40" y="0"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnLoad>
|
|
||||||
local sort_order = Aux.util.map(Aux.buy.modes[2].sort_order, function(column_order) return { column = Aux.buy.modes[2].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
|
|
||||||
this.sheet = Aux.sheet.create(this, Aux.buy.modes[2].columns, sort_order, Aux.buy.modes[2].on_cell_click, Aux.buy.modes[2].on_cell_enter, Aux.buy.modes[2].on_cell_leave)
|
|
||||||
</OnLoad>
|
|
||||||
</Scripts>
|
|
||||||
</Frame>
|
|
||||||
<Frame name="AuxBuyFullList" hidden="true">
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
||||||
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-40" y="0"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnLoad>
|
|
||||||
local sort_order = Aux.util.map(Aux.buy.modes[3].sort_order, function(column_order) return { column = Aux.buy.modes[3].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
|
|
||||||
this.sheet = Aux.sheet.create(this, Aux.buy.modes[3].columns, sort_order, Aux.buy.modes[3].on_cell_click, Aux.buy.modes[3].on_cell_enter, Aux.buy.modes[3].on_cell_leave)
|
|
||||||
</OnLoad>
|
|
||||||
</Scripts>
|
|
||||||
</Frame>
|
|
||||||
<Frame name="AuxBuyConfirmation" enableMouse="true" frameStrata="FULLSCREEN_DIALOG" inherits="OptionFrameBoxTemplate" 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>
|
|
||||||
<Scripts>
|
|
||||||
</Scripts>
|
|
||||||
<Frames>
|
|
||||||
<Frame name="$parentItem">
|
|
||||||
<Size><AbsDimension x="193" y="37"/></Size>
|
|
||||||
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-100"/></Offset></Anchor></Anchors>
|
|
||||||
<Layers>
|
|
||||||
<Layer level="BORDER">
|
|
||||||
<Texture name="$parentIconTexture">
|
|
||||||
<Size><AbsDimension x="32" y="32"/></Size>
|
|
||||||
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
|
|
||||||
</Texture>
|
|
||||||
<Texture file="Interface\Buttons\UI-Quickslot2">
|
|
||||||
<Size><AbsDimension x="60" y="60"/></Size>
|
|
||||||
<Anchors><Anchor point="CENTER" relativeTo="$parentIconTexture"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
||||||
</Texture>
|
|
||||||
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT">
|
|
||||||
<Anchors><Anchor point="BOTTOMRIGHT" relativeTo="$parentIconTexture"><Offset><AbsDimension x="-5" y="2"/></Offset></Anchor></Anchors>
|
|
||||||
</FontString>
|
|
||||||
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentIconTexture"><Offset><AbsDimension x="10" y="0"/></Offset></Anchor>
|
|
||||||
<Anchor point="RIGHT"><Offset><AbsDimension x="-10" y="0"/></Offset></Anchor>
|
|
||||||
<Anchor point="TOP"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor>
|
|
||||||
<Anchor point="BOTTOM"><Offset><AbsDimension x="0" y="5"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
</FontString>
|
|
||||||
</Layer>
|
|
||||||
<Layer level="BACKGROUND">
|
|
||||||
<Texture name="$parentLeft" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
|
|
||||||
<Size><AbsDimension x="10" y="37"/></Size>
|
|
||||||
<Anchors><Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentIconTexture"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
|
|
||||||
<TexCoords left="0" right="0.078125" top="0" bottom="1.0"/>
|
|
||||||
</Texture>
|
|
||||||
<Texture name="$parentRight" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
|
|
||||||
<Size><AbsDimension x="10" y="37"/></Size>
|
|
||||||
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<TexCoords left="0.75" right="0.828125" top="0" bottom="1.0"/>
|
|
||||||
</Texture>
|
|
||||||
<Texture file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
|
|
||||||
<Size><AbsDimension x="10" y="37"/></Size>
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
||||||
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/>
|
|
||||||
</Texture>
|
|
||||||
</Layer>
|
|
||||||
</Layers>
|
|
||||||
<Scripts>
|
|
||||||
<OnEnter>
|
|
||||||
Aux.info.set_game_tooltip(this, this:GetParent().tooltip, 'ANCHOR_LEFT', this:GetParent().EnhTooltip_info)
|
|
||||||
</OnEnter>
|
|
||||||
<OnLeave>
|
|
||||||
GameTooltip:Hide()
|
|
||||||
</OnLeave>
|
|
||||||
</Scripts>
|
|
||||||
<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
|
|
||||||
</Frame>
|
|
||||||
<Frame name="$parentBid" inherits="MoneyInputFrameTemplate">
|
|
||||||
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension x="30" y="115"/></Offset></Anchor></Anchors>
|
|
||||||
<Layers>
|
|
||||||
<Layer level="OVERLAY">
|
|
||||||
<FontString inherits="GameFontNormalLarge" text="Price:" justifyH="RIGHT">
|
|
||||||
<Anchors><Anchor point="RIGHT" relativePoint="LEFT"><Offset><AbsDimension x="-10" y="0"/></Offset></Anchor></Anchors>
|
|
||||||
</FontString>
|
|
||||||
</Layer>
|
|
||||||
</Layers>
|
|
||||||
</Frame>
|
|
||||||
<Frame name="$parentBuyoutPrice" inherits="SmallMoneyFrameTemplate">
|
|
||||||
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension x="30" y="130"/></Offset></Anchor></Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnLoad>
|
|
||||||
SmallMoneyFrame_OnLoad()
|
|
||||||
MoneyFrame_SetType("STATIC")
|
|
||||||
</OnLoad>
|
|
||||||
</Scripts>
|
|
||||||
<Layers>
|
|
||||||
<Layer level="OVERLAY">
|
|
||||||
<FontString inherits="GameFontNormal" text="Price:" justifyH="RIGHT">
|
|
||||||
<Anchors><Anchor point="RIGHT" relativePoint="LEFT"><Offset><AbsDimension x="-5" y="0"/></Offset></Anchor></Anchors>
|
|
||||||
</FontString>
|
|
||||||
</Layer>
|
|
||||||
</Layers>
|
|
||||||
</Frame>
|
|
||||||
<Button name="$parentActionButton" inherits="UIPanelButtonTemplate" text="Buy" disabled="true">
|
|
||||||
<Size><AbsDimension x="80" y="21"/> </Size>
|
|
||||||
<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="240" y="90"/></Offset></Anchor></Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnClick>
|
|
||||||
Aux.buy.dialog_action()
|
|
||||||
</OnClick>
|
|
||||||
</Scripts>
|
|
||||||
</Button>
|
|
||||||
<Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="Cancel">
|
|
||||||
<Size><AbsDimension x="80" y="21"/></Size>
|
|
||||||
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-240" y="90"/></Offset></Anchor></Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnClick>
|
|
||||||
Aux.buy.dialog_cancel()
|
|
||||||
</OnClick>
|
|
||||||
</Scripts>
|
|
||||||
</Button>
|
|
||||||
</Frames>
|
|
||||||
</Frame>
|
|
||||||
</Frames>
|
|
||||||
</Frame>
|
|
||||||
|
|
||||||
<Frame name="AuxBuyFilters" inherits="OptionFrameBoxTemplate">
|
|
||||||
<Size><AbsDimension x="180" y="290"/></Size>
|
|
||||||
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="28" y="-50"/></Offset></Anchor></Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnLoad>
|
|
||||||
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
|
|
||||||
this:SetBackdropColor(0.15, 0.15, 0.15)
|
|
||||||
getglobal(this:GetName().."Title"):SetText('Filters')
|
getglobal(this:GetName().."Title"):SetText('Filters')
|
||||||
</OnLoad>
|
</OnLoad>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
@@ -527,10 +589,176 @@
|
|||||||
</Frames>
|
</Frames>
|
||||||
</Frame>
|
</Frame>
|
||||||
|
|
||||||
<Button name="AuxBuySearchButton" inherits="UIPanelButtonTemplate" text="Search">
|
<Frame name="AuxBuySheetFrame" inherits="AuxFrameBoxTemplate">
|
||||||
<Size><AbsDimension x="80" y="22"/></Size>
|
<Size>
|
||||||
|
<AbsDimension x="655" y="326"/>
|
||||||
|
</Size>
|
||||||
|
<Anchors><Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="AuxBuyFilters"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
|
||||||
|
getglobal(this:GetName().."Title"):SetText('Search Results')
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
<Frames>
|
||||||
|
<Frame name="AuxBuyBuyList" hidden="true">
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-99" y="20"/></Offset></Anchor>
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-40" y="0"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
local sort_order = Aux.util.map(Aux.buy.modes[1].sort_order, function(column_order) return { column = Aux.buy.modes[1].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
|
||||||
|
this.sheet = Aux.sheet.create(this, Aux.buy.modes[1].columns, sort_order, Aux.buy.modes[1].on_cell_click, Aux.buy.modes[1].on_cell_enter, Aux.buy.modes[1].on_cell_leave)
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Frame>
|
||||||
|
<Frame name="AuxBuyBidList" hidden="true">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-40" y="0"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
local sort_order = Aux.util.map(Aux.buy.modes[2].sort_order, function(column_order) return { column = Aux.buy.modes[2].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
|
||||||
|
this.sheet = Aux.sheet.create(this, Aux.buy.modes[2].columns, sort_order, Aux.buy.modes[2].on_cell_click, Aux.buy.modes[2].on_cell_enter, Aux.buy.modes[2].on_cell_leave)
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Frame>
|
||||||
|
<Frame name="AuxBuyFullList" hidden="true">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-40" y="0"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
local sort_order = Aux.util.map(Aux.buy.modes[3].sort_order, function(column_order) return { column = Aux.buy.modes[3].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
|
||||||
|
this.sheet = Aux.sheet.create(this, Aux.buy.modes[3].columns, sort_order, Aux.buy.modes[3].on_cell_click, Aux.buy.modes[3].on_cell_enter, Aux.buy.modes[3].on_cell_leave)
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
</Frame>
|
||||||
|
<Frame name="AuxBuyConfirmation" enableMouse="true" frameStrata="FULLSCREEN_DIALOG" inherits="OptionFrameBoxTemplate" 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>
|
||||||
|
<Scripts>
|
||||||
|
</Scripts>
|
||||||
|
<Frames>
|
||||||
|
<Frame name="$parentItem">
|
||||||
|
<Size><AbsDimension x="193" y="37"/></Size>
|
||||||
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-100"/></Offset></Anchor></Anchors>
|
||||||
|
<Layers>
|
||||||
|
<Layer level="BORDER">
|
||||||
|
<Texture name="$parentIconTexture">
|
||||||
|
<Size><AbsDimension x="32" y="32"/></Size>
|
||||||
|
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
|
||||||
|
</Texture>
|
||||||
|
<Texture file="Interface\Buttons\UI-Quickslot2">
|
||||||
|
<Size><AbsDimension x="60" y="60"/></Size>
|
||||||
|
<Anchors><Anchor point="CENTER" relativeTo="$parentIconTexture"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
||||||
|
</Texture>
|
||||||
|
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT">
|
||||||
|
<Anchors><Anchor point="BOTTOMRIGHT" relativeTo="$parentIconTexture"><Offset><AbsDimension x="-5" y="2"/></Offset></Anchor></Anchors>
|
||||||
|
</FontString>
|
||||||
|
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentIconTexture"><Offset><AbsDimension x="10" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-10" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="TOP"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor>
|
||||||
|
<Anchor point="BOTTOM"><Offset><AbsDimension x="0" y="5"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
</FontString>
|
||||||
|
</Layer>
|
||||||
|
<Layer level="BACKGROUND">
|
||||||
|
<Texture name="$parentLeft" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
|
||||||
|
<Size><AbsDimension x="10" y="37"/></Size>
|
||||||
|
<Anchors><Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentIconTexture"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
|
||||||
|
<TexCoords left="0" right="0.078125" top="0" bottom="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
<Texture name="$parentRight" file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
|
||||||
|
<Size><AbsDimension x="10" y="37"/></Size>
|
||||||
|
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<TexCoords left="0.75" right="0.828125" top="0" bottom="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
<Texture file="Interface\AuctionFrame\UI-AuctionItemNameFrame">
|
||||||
|
<Size><AbsDimension x="10" y="37"/></Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
||||||
|
</Anchors>
|
||||||
|
<TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/>
|
||||||
|
</Texture>
|
||||||
|
</Layer>
|
||||||
|
</Layers>
|
||||||
|
<Scripts>
|
||||||
|
<OnEnter>
|
||||||
|
Aux.info.set_game_tooltip(this, this:GetParent().tooltip, 'ANCHOR_LEFT', this:GetParent().EnhTooltip_info)
|
||||||
|
</OnEnter>
|
||||||
|
<OnLeave>
|
||||||
|
GameTooltip:Hide()
|
||||||
|
</OnLeave>
|
||||||
|
</Scripts>
|
||||||
|
<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
|
||||||
|
</Frame>
|
||||||
|
<Frame name="$parentBid" inherits="MoneyInputFrameTemplate">
|
||||||
|
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension x="30" y="115"/></Offset></Anchor></Anchors>
|
||||||
|
<Layers>
|
||||||
|
<Layer level="OVERLAY">
|
||||||
|
<FontString inherits="GameFontNormalLarge" text="Price:" justifyH="RIGHT">
|
||||||
|
<Anchors><Anchor point="RIGHT" relativePoint="LEFT"><Offset><AbsDimension x="-10" y="0"/></Offset></Anchor></Anchors>
|
||||||
|
</FontString>
|
||||||
|
</Layer>
|
||||||
|
</Layers>
|
||||||
|
</Frame>
|
||||||
|
<Frame name="$parentBuyoutPrice" inherits="SmallMoneyFrameTemplate">
|
||||||
|
<Anchors><Anchor point="BOTTOM"><Offset><AbsDimension x="30" y="130"/></Offset></Anchor></Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnLoad>
|
||||||
|
SmallMoneyFrame_OnLoad()
|
||||||
|
MoneyFrame_SetType("STATIC")
|
||||||
|
</OnLoad>
|
||||||
|
</Scripts>
|
||||||
|
<Layers>
|
||||||
|
<Layer level="OVERLAY">
|
||||||
|
<FontString inherits="GameFontNormal" text="Price:" justifyH="RIGHT">
|
||||||
|
<Anchors><Anchor point="RIGHT" relativePoint="LEFT"><Offset><AbsDimension x="-5" y="0"/></Offset></Anchor></Anchors>
|
||||||
|
</FontString>
|
||||||
|
</Layer>
|
||||||
|
</Layers>
|
||||||
|
</Frame>
|
||||||
|
<Button name="$parentActionButton" inherits="UIPanelButtonTemplate" text="Buy" disabled="true">
|
||||||
|
<Size><AbsDimension x="90" y="26"/> </Size>
|
||||||
|
<Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="230" y="90"/></Offset></Anchor></Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnClick>
|
||||||
|
Aux.buy.dialog_action()
|
||||||
|
</OnClick>
|
||||||
|
</Scripts>
|
||||||
|
</Button>
|
||||||
|
<Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="Cancel">
|
||||||
|
<Size><AbsDimension x="90" y="26"/></Size>
|
||||||
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-230" y="90"/></Offset></Anchor></Anchors>
|
||||||
|
<Scripts>
|
||||||
|
<OnClick>
|
||||||
|
Aux.buy.dialog_cancel()
|
||||||
|
</OnClick>
|
||||||
|
</Scripts>
|
||||||
|
</Button>
|
||||||
|
</Frames>
|
||||||
|
</Frame>
|
||||||
|
</Frames>
|
||||||
|
</Frame>
|
||||||
|
|
||||||
|
<Button name="AuxBuySearchButton" inherits="UIPanelButtonTemplate" text="Search">
|
||||||
|
<Size><AbsDimension x="90" y="26"/></Size>
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="BOTTOMRIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="-10" y="10"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnClick>
|
<OnClick>
|
||||||
@@ -540,8 +768,13 @@
|
|||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button name="AuxBuyStopButton" inherits="UIPanelButtonTemplate" text="Stop" hidden="true">
|
<Button name="AuxBuyStopButton" inherits="UIPanelButtonTemplate" text="Stop" hidden="true">
|
||||||
<Size><AbsDimension x="80" y="22"/></Size>
|
<Size><AbsDimension x="90" y="26"/></Size>
|
||||||
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-99" y="20"/></Offset></Anchor>
|
<Anchors>
|
||||||
|
<Anchor point="BOTTOMRIGHT">
|
||||||
|
<Offset>
|
||||||
|
<AbsDimension x="-10" y="10"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnClick>
|
<OnClick>
|
||||||
@@ -549,24 +782,8 @@
|
|||||||
</OnClick>
|
</OnClick>
|
||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
|
</Frames>
|
||||||
<Button name="AuxBuyCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
|
</Frame>
|
||||||
<Size>
|
|
||||||
<AbsDimension x="80" y="22"/>
|
|
||||||
</Size>
|
|
||||||
<Anchors>
|
|
||||||
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
|
|
||||||
<Offset>
|
|
||||||
<AbsDimension x="-20" y="20"/>
|
|
||||||
</Offset>
|
|
||||||
</Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<Scripts>
|
|
||||||
<OnClick>
|
|
||||||
HideUIPanel(this:GetParent())
|
|
||||||
</OnClick>
|
|
||||||
</Scripts>
|
|
||||||
</Button>
|
|
||||||
</Frames>
|
</Frames>
|
||||||
</Frame>
|
</Frame>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|||||||
@@ -86,6 +86,11 @@ function Aux_OnAddonLoaded()
|
|||||||
-- AuctionFrameBrowse,
|
-- AuctionFrameBrowse,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Aux.buy.elements = {
|
||||||
|
AuxBuyFilters,
|
||||||
|
AuxBuySheetFrame,
|
||||||
|
}
|
||||||
|
|
||||||
Aux.tabs.sell.recommendationElements = {
|
Aux.tabs.sell.recommendationElements = {
|
||||||
AuxRecommendText,
|
AuxRecommendText,
|
||||||
AuxRecommendPerItemText,
|
AuxRecommendPerItemText,
|
||||||
@@ -99,6 +104,7 @@ function Aux_OnAddonLoaded()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Aux.log_frame_load()
|
function Aux.log_frame_load()
|
||||||
|
this:SetFading(false)
|
||||||
this:EnableMouseWheel()
|
this:EnableMouseWheel()
|
||||||
-- this.flashTimer = 0 TODO remove
|
-- this.flashTimer = 0 TODO remove
|
||||||
end
|
end
|
||||||
@@ -141,8 +147,8 @@ end
|
|||||||
|
|
||||||
function Aux.log(msg)
|
function Aux.log(msg)
|
||||||
local info = ChatTypeInfo["SYSTEM"]
|
local info = ChatTypeInfo["SYSTEM"]
|
||||||
AuxLogFrame:AddMessage(msg, 1, 1, 0)
|
AuxLogFrameMessageFrame:AddMessage(msg, 1, 1, 0)
|
||||||
if not AuxLogFrame:IsVisible() and DEFAULT_CHAT_FRAME then
|
if not AuxLogFrameMessageFrame:IsVisible() and DEFAULT_CHAT_FRAME then
|
||||||
DEFAULT_CHAT_FRAME:AddMessage(msg, 1, 1, 0)
|
DEFAULT_CHAT_FRAME:AddMessage(msg, 1, 1, 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -241,6 +247,20 @@ function Aux_OnAuctionHouseClosed()
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Aux.on_tab_click(button)
|
||||||
|
|
||||||
|
for i=1,4 do
|
||||||
|
getglobal('AuxTab'..i):SetAlpha(i == this:GetID() and 1 or 0.5)
|
||||||
|
end
|
||||||
|
|
||||||
|
Aux_HideElems(Aux.buy.elements)
|
||||||
|
AuxSellPanel:Hide()
|
||||||
|
if this:GetID() == 1 then
|
||||||
|
Aux_ShowElems(Aux.buy.elements)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
function Aux_AuctionFrameTab_OnClick(index)
|
function Aux_AuctionFrameTab_OnClick(index)
|
||||||
|
|
||||||
if not index then
|
if not index then
|
||||||
|
|||||||
@@ -16,61 +16,39 @@
|
|||||||
</Scripts>
|
</Scripts>
|
||||||
</Frame>
|
</Frame>
|
||||||
|
|
||||||
<ScrollingMessageFrame name="AuxLogFrame" hidden="false" maxLines="500">
|
<Frame name="AuxFrameBoxTemplate" virtual="true">
|
||||||
<Size><AbsDimension x="400" y="45"/></Size>
|
|
||||||
<Layers>
|
<Layers>
|
||||||
<Layer level="BACKGROUND">
|
<Layer level="BACKGROUND">
|
||||||
<Texture name="$parentLeft" file="Interface\AuctionFrame\UI-AuctionItemNameFrame" hidden="true">
|
<FontString name="$parentTitle" inherits="GameFontHighlight">
|
||||||
<Size><AbsDimension x="10" y="60"/></Size>
|
|
||||||
<Anchors><Anchor point="LEFT"><Offset><AbsDimension x="-3" y="-4"/></Offset></Anchor></Anchors>
|
|
||||||
<TexCoords left="0" right="0.078125" top="0" bottom="1.0"/>
|
|
||||||
</Texture>
|
|
||||||
<Texture name="$parentRight" file="Interface\AuctionFrame\UI-AuctionItemNameFrame" hidden="true">
|
|
||||||
<Size><AbsDimension x="10" y="60"/></Size>
|
|
||||||
<Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="-4"/></Offset></Anchor>
|
|
||||||
</Anchors>
|
|
||||||
<TexCoords left="0.75" right="0.828125" top="0" bottom="1.0"/>
|
|
||||||
</Texture>
|
|
||||||
<Texture name="$parentMiddle" file="Interface\AuctionFrame\UI-AuctionItemNameFrame" hidden="true">
|
|
||||||
<Size><AbsDimension x="10" y="60"/></Size>
|
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
|
||||||
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
<Offset>
|
||||||
|
<AbsDimension x="9" y="0"/>
|
||||||
|
</Offset>
|
||||||
|
</Anchor>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
<TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/>
|
</FontString>
|
||||||
</Texture>
|
|
||||||
</Layer>
|
</Layer>
|
||||||
</Layers>
|
</Layers>
|
||||||
|
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
||||||
|
<EdgeSize>
|
||||||
|
<AbsValue val="16"/>
|
||||||
|
</EdgeSize>
|
||||||
|
<!--<TileSize>-->
|
||||||
|
<!--<AbsValue val="16"/>-->
|
||||||
|
<!--</TileSize>-->
|
||||||
|
<!--<BackgroundInsets>-->
|
||||||
|
<!--<AbsInset left="5" right="5" top="5" bottom="5"/>-->
|
||||||
|
<!--</BackgroundInsets>-->
|
||||||
|
</Backdrop>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnLoad>
|
<OnLoad>
|
||||||
Aux.log_frame_load()
|
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
|
||||||
|
<!--this:SetBackdropColor(0.5, 0.5, 0.5);-->
|
||||||
</OnLoad>
|
</OnLoad>
|
||||||
<OnUpdate>
|
|
||||||
Aux.log_frame_update(arg1)
|
|
||||||
</OnUpdate>
|
|
||||||
<OnEnter>
|
|
||||||
getglobal(this:GetName()..'Left'):Show()
|
|
||||||
getglobal(this:GetName()..'Right'):Show()
|
|
||||||
getglobal(this:GetName()..'Middle'):Show()
|
|
||||||
</OnEnter>
|
|
||||||
<OnLeave>
|
|
||||||
getglobal(this:GetName()..'Left'):Hide()
|
|
||||||
getglobal(this:GetName()..'Right'):Hide()
|
|
||||||
getglobal(this:GetName()..'Middle'):Hide()
|
|
||||||
</OnLeave>
|
|
||||||
<OnHyperlinkClick>
|
|
||||||
<!--ChatFrame_OnHyperlinkShow(arg1) TODO not working because of center -->
|
|
||||||
</OnHyperlinkClick>
|
|
||||||
<OnMouseWheel>
|
|
||||||
if arg1 == 1 then
|
|
||||||
this:ScrollUp()
|
|
||||||
elseif arg1 == -1 then
|
|
||||||
this:ScrollDown()
|
|
||||||
end
|
|
||||||
</OnMouseWheel>
|
|
||||||
</Scripts>
|
</Scripts>
|
||||||
<FontString inherits="ChatFontNormal" justifyH="CENTER"/>
|
</Frame>
|
||||||
</ScrollingMessageFrame>
|
|
||||||
<Slider name="AuxSliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true">
|
<Slider name="AuxSliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true">
|
||||||
<Size>
|
<Size>
|
||||||
<AbsDimension x="128" y="17"/>
|
<AbsDimension x="128" y="17"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user