some ui changes plus working on pregenerating a database of potentially auctionable items which will work for all locales
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</Scripts>
|
||||
</Frame>
|
||||
|
||||
<Button name="AuxTabTemplate" virtual="true">
|
||||
<Button name="AuxTopTabTemplate" virtual="true">
|
||||
<Size>
|
||||
<AbsDimension x="64" y="32"/>
|
||||
</Size>
|
||||
@@ -56,11 +56,8 @@
|
||||
<OnShow>
|
||||
this:SetWidth(getglobal(this:GetName()..'Text'):GetStringWidth()+40)
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
Aux.on_tab_click(this:GetID())
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalText name="$parentText" inherits="GameFontNormalSmall">
|
||||
<NormalText name="$parentText" inherits="GameFontHighlight">
|
||||
<Size>
|
||||
<AbsDimension x="50" y="8"/>
|
||||
</Size>
|
||||
@@ -90,6 +87,80 @@
|
||||
</Anchors>
|
||||
</HighlightTexture>
|
||||
</Button>
|
||||
<Button name="AuxBottomTabTemplate" virtual="true">
|
||||
<Size>
|
||||
<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="1.0" bottom="0.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="1.0" bottom="0.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="1.0" bottom="0.0"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<OnShow>
|
||||
this:SetWidth(getglobal(this:GetName()..'Text'):GetStringWidth()+40)
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
Aux.on_tab_click(this:GetID())
|
||||
</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>
|
||||
|
||||
<CheckButton name="AuxRadioButtonTemplate" virtual="true">
|
||||
<Size>
|
||||
@@ -334,21 +405,24 @@
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="AuxTab1" inherits="AuxTabTemplate" id="1">
|
||||
<Button name="AuxTab1" inherits="AuxBottomTabTemplate" id="1">
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
|
||||
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="7" y="-2"/>
|
||||
<AbsDimension x="7" y="2"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
getglobal(this:GetName().."Text"):SetText('Search')
|
||||
getglobal(this:GetName().."Text"):SetText('Browse')
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
Aux.on_tab_click(this:GetID())
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="AuxTab2" inherits="AuxTabTemplate" id="2">
|
||||
<Button name="AuxTab2" inherits="AuxBottomTabTemplate" id="2">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="AuxTab1" relativePoint="RIGHT">
|
||||
<Offset>
|
||||
@@ -360,9 +434,12 @@
|
||||
<OnLoad>
|
||||
getglobal(this:GetName().."Text"):SetText('Post')
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
Aux.on_tab_click(this:GetID())
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="AuxTab3" inherits="AuxTabTemplate" id="3">
|
||||
<Button name="AuxTab3" inherits="AuxBottomTabTemplate" id="3">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="AuxTab2" relativePoint="RIGHT">
|
||||
<Offset>
|
||||
@@ -374,9 +451,12 @@
|
||||
<OnLoad>
|
||||
getglobal(this:GetName().."Text"):SetText('Manage')
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
Aux.on_tab_click(this:GetID())
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="AuxTab4" inherits="AuxTabTemplate" id="4">
|
||||
<Button name="AuxTab4" inherits="AuxBottomTabTemplate" id="4">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="AuxTab3" relativePoint="RIGHT">
|
||||
<Offset>
|
||||
@@ -388,6 +468,9 @@
|
||||
<OnLoad>
|
||||
getglobal(this:GetName().."Text"):SetText('Scan')
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
Aux.on_tab_click(this:GetID())
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Frame name="AuxLogFrame" inherits="OptionFrameBoxTemplate">
|
||||
|
||||
Reference in New Issue
Block a user