some progress with the new UI
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user