Mercurial > wow > devian
view Dock.xml @ 99:7d94df3804a7
- Console drag buttons for resizing
- While dragging a console frame, other frames are ghosted out
- Dropdown menu includes Toggle, Pin, and MinMax
author | Nenue |
---|---|
date | Thu, 27 Oct 2016 06:11:04 -0400 |
parents | 33bc8baba858 |
children | 790dca545f1d |
line wrap: on
line source
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> <Script file="Dock.lua" /> <Font name="DevianDockHeader" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true" height="14" /> <Frame name="DevianDock" parent="UIParent" enableMouse="true" alpha="0.1" hidden="true" mixin="DevianDockHandler" frameStrata="DIALOG"> <Scripts> <OnMouseWheel method="OnMouseWheel" /> </Scripts> <Size x="32" y="20" /> <Layers> <Layer level="ARTWORK"> <Texture name="$parentBar" parent="DevianDock" setAllPoints="true" parentKey="caption" alphaMode="BLEND"> <Color r="1" g="1" b="1" a="1" /> <Gradient orientation="VERTICAL"> <MaxColor r="0.15" g=".15" b="0.15" a="0.4" /> <MinColor r="0" g="0" b="0" a="0" /> </Gradient> </Texture> </Layer> <Layer level="OVERLAY"> </Layer> </Layers> </Frame> <Button name="DevianDockTabTemplate" hidden="true" virtual="true" enableMouse="true" alpha="1" frameStrata="MEDIUM" mixin="DevianDockTabMixin"> <Size x="64" y="24" /> <Scripts> <OnShow method="OnShow" /> <OnEnter method="OnEnter" /> <OnMouseDown method="OnMouseDown" /> <OnClick method="Select" /> </Scripts> <Layers> <Layer level="BACKGROUND"> <Texture parentKey="Background" setAllPoints="true"> <Color a="0.5" r="0" g="0" b="0" /> </Texture> </Layer> <Layer level="OVERLAY"> <Texture parentKey="Stripe"> <Anchors> <Anchor point="TOPLEFT" /> <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-3" /> </Anchors> </Texture> </Layer> </Layers> <Frames> <Frame name="$parentText" parentKey="caption" alpha="1" blendMode="BLEND" enableMouse="false"> <Size x="64" y="24" /> <Anchors> <Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="0" /> </Anchors> <Layers> <Layer level="OVERLAY"> <FontString text="Test String" inherits="DevianDockHeader" parentKey="name" wordwrap="false" setAllPoints="true"> <Anchors> <Anchor point="BOTTOM" x="0" y="2" /> </Anchors> <Color r="1" g="1" b="1" a="1" /> <Shadow> <Color r="0" g="0" b="0" a="1" /> <Offset x="0" y="-2" /> </Shadow> </FontString> </Layer> </Layers> <Animations> <AnimationGroup parentKey="pulse" looping="BOUNCE" setToFinalAlpha="false"> <Alpha fromAlpha=".5" toAlpha="1" duration="0.4" endDelay="0.6" order="1" childKey="name" /> </AnimationGroup> </Animations> </Frame> </Frames> </Button> </Ui>