comparison Console.xml @ 100:790dca545f1d v3.0

- Configuration structure overheal; clearing 'Devian.lua' from SaveVariables will be necessary - Removed dependence on embedded libraries. - Console/dock frames are now implemented as XML mixin structures - Console dropdown menu option to 'Pin' frames - Hold SHIFT while clicking dock buttons will cause all but that tab to be closed
author Nenue
date Tue, 17 Jan 2017 14:25:18 -0500
parents 7d94df3804a7
children c3e7d2a3f4e9
comparison
equal deleted inserted replaced
99:7d94df3804a7 100:790dca545f1d
18 18
19 <Frame name="DevianConsoleTemplate" toplevel="true" parent="UIParent" mixin="DevianConsoleMixin" virtual="true" hidden="true"> 19 <Frame name="DevianConsoleTemplate" toplevel="true" parent="UIParent" mixin="DevianConsoleMixin" virtual="true" hidden="true">
20 <Scripts> 20 <Scripts>
21 <OnLoad method="OnLoad" /> 21 <OnLoad method="OnLoad" />
22 <OnShow method="OnShow" /> 22 <OnShow method="OnShow" />
23 <OnEvent method="OnEvent" />
23 <OnMouseWheel method="OnMouseWheel" /> 24 <OnMouseWheel method="OnMouseWheel" />
24 <OnDragStart method="OnDragStart" /> 25 <OnDragStart method="OnDragStart" />
25 <OnDragStop method="OnDragStop" /> 26 <OnDragStop method="OnDragStop" />
26 <OnMouseDown method="OnMouseDown" /> 27 <OnMouseDown method="OnMouseDown" />
27 <OnMouseUp method="OnMouseUp" /> 28 <OnMouseUp method="OnMouseUp" />
102 </Texture> 103 </Texture>
103 </Layer> 104 </Layer>
104 </Layers> 105 </Layers>
105 <Frames> 106 <Frames>
106 <Button name="$parentMenuButton" parentKey="DropdownButton" enableMouse="true"> 107 <Button name="$parentMenuButton" parentKey="DropdownButton" enableMouse="true">
107 <Size x="24" y="24" /> 108 <Size x="18" y="16" />
108 <Anchors> 109 <Anchors>
109 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-4" y="0" /> 110 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-1" y="-1" />
110 </Anchors> 111 </Anchors>
111 <Layers> 112 <Layers>
112 <Layer level="BACKGROUND"> 113 <Layer level="BACKGROUND">
113 <Texture setAllPoints="true" > 114 <Texture setAllPoints="true" parentKey="Background" >
114 <Color a="1" r="1" g="1" b="1" /> 115 <Color a="1" r="1" g="1" b="1" />
116 <Gradient orientation="VERTICAL">
117 <MaxColor a="1" r=".25" g=".35" b=".65" />
118 <MinColor a="1" r=".05" g=".05" b=".05" />
119 </Gradient>
115 </Texture> 120 </Texture>
116 </Layer> 121 </Layer>
117 </Layers> 122 </Layers>
118 </Button> 123 </Button>
119 124
170 </Layers> 175 </Layers>
171 </Button> 176 </Button>
172 177
173 178
174 <Button name="$parentHorizontalSizer" parentKey="GripSide" inherits="DevianSizeButtonTemplate" frameLevel="25"> 179 <Button name="$parentHorizontalSizer" parentKey="GripSide" inherits="DevianSizeButtonTemplate" frameLevel="25">
175 <Size x="16" /> 180 <Size x="8" />
176 <Anchors> 181 <Anchors>
177 <Anchor point="TOPRIGHT"/> 182 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.DropdownButton" />
178 <Anchor point="BOTTOM" y="24" /> 183 <Anchor point="BOTTOM" y="24" />
179 </Anchors> 184 </Anchors>
180 </Button> 185 </Button>
181 186
182 <Button name="$parentVerticalSizer" parentKey="GripBottom" inherits="DevianSizeButtonTemplate" frameLevel="24"> 187 <Button name="$parentVerticalSizer" parentKey="GripBottom" inherits="DevianSizeButtonTemplate" frameLevel="24">
183 <Size y="16" /> 188 <Size y="8" />
184 <Anchors> 189 <Anchors>
185 <Anchor point="BOTTOMLEFT" /> 190 <Anchor point="BOTTOMLEFT" />
186 <Anchor point="RIGHT" x="-24" /> 191 <Anchor point="RIGHT" x="-24" />
187 </Anchors> 192 </Anchors>
188 </Button> 193 </Button>