some progress with the new UI

This commit is contained in:
Manuel Simon Hirsig
2015-10-23 02:16:08 +02:00
parent df04b4ec28
commit 7c7b14c246
4 changed files with 779 additions and 563 deletions
+23 -45
View File
@@ -16,61 +16,39 @@
</Scripts>
</Frame>
<ScrollingMessageFrame name="AuxLogFrame" hidden="false" maxLines="500">
<Size><AbsDimension x="400" y="45"/></Size>
<Frame name="AuxFrameBoxTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\AuctionFrame\UI-AuctionItemNameFrame" hidden="true">
<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>
<FontString name="$parentTitle" inherits="GameFontHighlight">
<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>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="9" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/>
</Texture>
</FontString>
</Layer>
</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>
<OnLoad>
Aux.log_frame_load()
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
<!--this:SetBackdropColor(0.5, 0.5, 0.5);-->
</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>
<FontString inherits="ChatFontNormal" justifyH="CENTER"/>
</ScrollingMessageFrame>
</Frame>
<Slider name="AuxSliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true">
<Size>
<AbsDimension x="128" y="17"/>