annotate Devian.xml @ 95:7a9de82c01f1 v2.2.96

7.1 TOC
author Nenue
date Tue, 25 Oct 2016 12:27:02 -0400
parents f6fae1a4c66c
children 33bc8baba858
rev   line source
Nenue@93 1 <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/
Nenue@93 2 ..\FrameXML\UI.xsd">
Nenue@32 3 <!--@no-lib-strip@-->
Nenue@32 4 <Script file="Libs\LibStub\LibStub.lua" />
Nenue@32 5 <Include file="Libs\AceAddon-3.0\AceAddon-3.0.xml" />
Nenue@64 6 <Include file="Libs\AceConsole-3.0\Console-3.0.xml" />
Nenue@35 7 <!--@end-no-lib-strip@-->
Nenue@35 8
Nenue@14 9
Nenue@33 10 <Texture virtual="true" name="DevianBorder" setAllPoints="false">
Nenue@14 11 <Color r="1" g="0" b="0" a="1" />
Nenue@14 12 <Size x="2" y="2" />
Nenue@14 13 </Texture>
Nenue@14 14
Nenue@33 15
Nenue@36 16 <Texture virtual="true" name="DevianHeader" alphaMode="BLEND">
Nenue@33 17 <Anchors>
Nenue@33 18 <Anchor point="TOPLEFT" />
Nenue@33 19 <Anchor point="TOPRIGHT" />
Nenue@33 20 </Anchors>
Nenue@33 21 <Size y="20" />
Nenue@33 22 <Color r="0.3" g="0.3" b="0.3" a="1" />
Nenue@33 23 <Gradient orientation="VERTICAL">
Nenue@33 24 <MinColor r="0" g="0" b="0" a="0.7"/>
Nenue@33 25 <MaxColor r="0.3" g="0.3" b="0.3" a="0.7"/>
Nenue@33 26 </Gradient>
Nenue@33 27 </Texture>
Nenue@33 28
Nenue@47 29
Nenue@47 30 <Button virtual="true" name="DevianButton" alphaMode="BLEND">
Nenue@36 31 <Size x="32" y="16" />
Nenue@35 32 <Layers>
Nenue@35 33 <Layer level="ARTWORK">
Nenue@47 34 <Texture name="$parentIcon" parentKey="icon" file="Interface\Addons\Devian\menu-button.blp" setAllPoints="true" alphaMode="ADD">
Nenue@35 35 <Color a="1" r="1" g="1" b="1" />
Nenue@36 36 <TexCoords top="0.47" left="0" bottom="0.9" right="1" />
Nenue@35 37 </Texture>
Nenue@93 38
Nenue@35 39 </Layer>
Nenue@35 40 </Layers>
Nenue@35 41 </Button>
Nenue@35 42
Nenue@47 43 <Button virtual="true" name="DevianDDButton" inherits="DevianButton" alphaMode="BLEND">
Nenue@47 44 <Scripts>
Nenue@47 45 <OnClick>
Nenue@47 46 ToggleDropDownMenu(1, nil, self:GetParent().menuFrame, self, 0, 0);
Nenue@47 47 </OnClick>
Nenue@47 48 </Scripts>
Nenue@47 49 </Button>
Nenue@35 50
Nenue@93 51 <Font name="DevianDockHeader" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true" height="14" />
Nenue@93 52
Nenue@47 53 <Font name="DevianText" font="Interface\Addons\Devian\font\SourceCodePro-Regular.ttf" outline="NORMAL" virtual="true">
Nenue@47 54 <FontHeight>
Nenue@47 55 <AbsValue val="13" />
Nenue@47 56 </FontHeight>
Nenue@47 57 <Color r="1" g="1" b="1" a="1" />
Nenue@47 58 </Font>
Nenue@35 59
Nenue@35 60 <Frame name="DevianDDMenu" virtual="true" inherits="UIDropDownMenuTemplate" id="1">
Nenue@35 61 <Scripts>
Nenue@35 62 <OnLoad>
Nenue@36 63 </OnLoad>
Nenue@35 64 </Scripts>
Nenue@35 65 </Frame>
Nenue@35 66
Nenue@33 67 <ScrollingMessageFrame
Nenue@33 68 name="DevianBuffer"
Nenue@33 69 maxLines="500"
Nenue@33 70 fade="false"
Nenue@33 71 displayduration="2147483647"
Nenue@33 72 insertMode="BOTTOM"
Nenue@33 73 virtual="true">
Nenue@33 74 <Anchors>
Nenue@33 75 <Anchor point="TOPLEFT" y="-20" />
Nenue@33 76 <Anchor point="BOTTOMRIGHT" />
Nenue@33 77 </Anchors>
Nenue@47 78 <FontString inherits="DevianFont" wordwrap="true"
Nenue@33 79 justifyH="LEFT"
Nenue@33 80 indented="true"
Nenue@58 81 setAllPoints="true"
Nenue@58 82 parentArray="_msg">
Nenue@33 83 <FontHeight>
Nenue@33 84 <AbsValue val="13"/>
Nenue@33 85 </FontHeight>
Nenue@33 86 </FontString>
Nenue@33 87
Nenue@33 88 <Layers>
Nenue@55 89 <Layer level="ARTWORK">
Nenue@33 90 <Texture name="$parentBackdrop" parentKey="backdrop" setAllPoints="true" alphaMode="BLEND">
Nenue@33 91 <Color r="1" g="1" b="1" a="1"/>
Nenue@33 92 <Gradient orientation="VERTICAL">
Nenue@33 93 <MinColor r="0" g="0" b="0" a="0.7"/>
Nenue@33 94 <MaxColor r="0" g="0" b="0" a="0.3"/>
Nenue@33 95 </Gradient>
Nenue@33 96 </Texture>
Nenue@33 97 </Layer>
Nenue@33 98 <Layer level="OVERLAY">
Nenue@33 99 <Texture name="DevianGripperRight" file="Interface\Addons\Devian\corner.blp" parentKey="grip" strata="HIGH" alphaMode="ADD">
Nenue@33 100 <Anchors>
Nenue@33 101 <Anchor point="BOTTOMRIGHT" x="-1" y="1" />
Nenue@33 102 </Anchors>
Nenue@33 103 <Size x="18" y="18" />
Nenue@33 104 <Color r="0.4" g="0.4" b="0.4" a="1"/>
Nenue@33 105 <Gradient orientation="VERTICAL">
Nenue@33 106 <MaxColor r="0.9" g="0.9" b="0.9" a="1"/>
Nenue@33 107 <MinColor r="0.4" g="0.4" b="0.4" a="1"/>
Nenue@33 108 </Gradient>
Nenue@33 109 </Texture>
Nenue@33 110 </Layer>
Nenue@33 111 </Layers>
Nenue@33 112 </ScrollingMessageFrame>
Nenue@33 113
Nenue@13 114 <Frame
Nenue@13 115 name="DevianConsole"
Nenue@13 116 parent="UIParent"
Nenue@13 117 enableMouse="true"
Nenue@13 118 enableMouseWheel="true"
Nenue@13 119 clampedToScreen="true"
Nenue@13 120 movable="true"
Nenue@13 121 resizable="true"
Nenue@13 122 toplevel="true"
Nenue@13 123 hidden="true"
Nenue@13 124 virtual="true">
Nenue@5 125 <ResizeBounds>
Nenue@5 126 <minResize x="200" y="20" />
Nenue@5 127 <maxResize x="1920" y="1200" />
Nenue@5 128 </ResizeBounds>
Nenue@4 129 <Scripts>
Nenue@32 130 <OnShow>
Nenue@33 131 self.title:SetText(self.index..' '.. self.signature)
Nenue@32 132 </OnShow>
Nenue@4 133 <OnMouseWheel>
Nenue@4 134 local up = delta > 0
Nenue@4 135 if IsControlKeyDown() then
Nenue@13 136 if up then self.out:ScrollToTop()
Nenue@13 137 else self.out:ScrollToBottom() end
Nenue@4 138 elseif IsShiftKeyDown() then
Nenue@13 139 if up then self.out:PageUp()
Nenue@13 140 else self.out:PageDown() end
Nenue@4 141 else
Nenue@13 142 if up then self.out:ScrollUp()
Nenue@13 143 else self.out:ScrollDown() end
Nenue@4 144 end
Nenue@4 145 </OnMouseWheel>
Nenue@4 146 </Scripts>
Nenue@4 147 <Layers>
Nenue@36 148 <Layer level="OVERLAY">
Nenue@36 149 <Texture parentKey="header" inherits="DevianHeader">
Nenue@36 150 <Anchors>
Nenue@36 151 <Anchor point="TOPLEFT" />
Nenue@36 152 <Anchor point="TOPRIGHT" />
Nenue@36 153 <Size y="20" />
Nenue@36 154 </Anchors>
Nenue@36 155 </Texture>
Nenue@33 156 <FontString parentKey="title" font="Interface\Addons\Devian\font\SourceCodePro-Bold.ttf" wordwrap="true"
Nenue@4 157 justifyH="LEFT"
Nenue@4 158 indented="true">
Nenue@4 159 <Anchors>
Nenue@36 160 <Anchor point="TOPLEFT" x="4" y="0" />
Nenue@4 161 </Anchors>
Nenue@4 162 <Size y="20" />
Nenue@4 163 <FontHeight>
Nenue@4 164 <AbsValue val="12"/>
Nenue@4 165 </FontHeight>
Nenue@4 166 </FontString>
Nenue@4 167 </Layer>
Nenue@14 168 <Layer level="BORDER">
Nenue@32 169 <Texture name="DevBorderUR" parentArray="border" parentkey="topright" inherits="DevianBorder">
Nenue@4 170 <Anchors>
Nenue@14 171 <Anchor point="BOTTOMLEFT" relativePoint="TOPRIGHT" />
Nenue@4 172 </Anchors>
Nenue@14 173 </Texture>
Nenue@32 174 <Texture name="DevBorderU" parentArray="border" parentKey="top" inherits="DevianBorder">
Nenue@14 175 <Anchors>
Nenue@14 176 <Anchor point="TOPLEFT" y="2" />
Nenue@14 177 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" />
Nenue@14 178 </Anchors>
Nenue@14 179 </Texture>
Nenue@32 180 <Texture name="DevBorderUL" parentArray="border" parentKey="topleft" inherits="DevianBorder">
Nenue@14 181 <Anchors>
Nenue@14 182 <Anchor point="BOTTOMRIGHT" parentArray="border" relativePoint="TOPLEFT" />
Nenue@14 183 </Anchors>
Nenue@14 184 </Texture>
Nenue@32 185 <Texture name="DevBorderL" parentArray="border" parentKey="left" inherits="DevianBorder">
Nenue@14 186 <Anchors>
Nenue@14 187 <Anchor point="TOPLEFT" x="-2" />
Nenue@14 188 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" />
Nenue@14 189 </Anchors>
Nenue@14 190 </Texture>
Nenue@14 191 <Texture name="DevBorderBL" parentArray="border" inherits="DevianBorder">
Nenue@14 192 <Anchors>
Nenue@14 193 <Anchor point="TOPRIGHT" relativePoint="BOTTOMLEFT" />
Nenue@14 194 </Anchors>
Nenue@14 195 </Texture>
Nenue@14 196 <Texture name="DevBorderB" parentArray="border" inherits="DevianBorder">
Nenue@14 197 <Anchors>
Nenue@14 198 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" />
Nenue@14 199 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" y="-2" />
Nenue@14 200 </Anchors>
Nenue@14 201 </Texture>
Nenue@14 202 <Texture name="DevBorderBR" parentArray="border" inherits="DevianBorder">
Nenue@14 203 <Anchors>
Nenue@14 204 <Anchor point="TOPLEFT" relativePoint="BOTTOMRIGHT" />
Nenue@14 205 </Anchors>
Nenue@14 206 </Texture>
Nenue@32 207 <Texture name="DevBorderR" parentArray="border" parentKey="right" inherits="DevianBorder">
Nenue@14 208 <Anchors>
Nenue@14 209 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" />
Nenue@14 210 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="2" />
Nenue@14 211 </Anchors>
Nenue@4 212 </Texture>
Nenue@4 213 </Layer>
Nenue@4 214 </Layers>
Nenue@33 215 <Frames>
Nenue@36 216 <Button name="$parentMenuButton" parentKey="dropmenu" inherits="DevianDDButton" enableMouse="true">
Nenue@35 217 <Anchors>
Nenue@35 218 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-4" y="0" />
Nenue@35 219 </Anchors>
Nenue@35 220 </Button>
Nenue@36 221 <Frame name="$parentDDMenu" parentKey="menuFrame" inherits="DevianDDMenu" />
Nenue@33 222 <ScrollingMessageFrame parentKey="out" inherits="DevianBuffer" />
Nenue@33 223 </Frames>
Nenue@60 224 <Animations>
Nenue@60 225 <AnimationGroup name="moveFade" parentKey="moveFade" setToFinalAlpha="true" ignoreFramerateThrottle="true">
Nenue@60 226 <Alpha parentKey="alphaOut" duration="0.5" order="1" />
Nenue@60 227 <Translation parentKey="translateOut" duration="0.5" order="1" />
Nenue@60 228 </AnimationGroup>
Nenue@60 229 </Animations>
Nenue@33 230 </Frame>
Nenue@33 231
Nenue@33 232 <Frame
Nenue@46 233 name="DevianDock"
Nenue@47 234 parent="UIParent"
Nenue@47 235 enableMouse="true"
Nenue@47 236 alpha="0.1"
Nenue@47 237 hidden="true"
Nenue@47 238 frameStrata="LOW">
Nenue@47 239 <Scripts>
Nenue@93 240 <OnMouseWheel>
Nenue@93 241 Devian.Dock_OnMouseWheel(self, delta)
Nenue@93 242 </OnMouseWheel>
Nenue@47 243 </Scripts>
Nenue@47 244 <Size x="32" y="20" />
Nenue@33 245 <Layers>
Nenue@33 246 <Layer level="ARTWORK">
Nenue@50 247 <Texture name="$parentBar" parent="DevianDock" setAllPoints="true" parentKey="caption" alphaMode="BLEND">
Nenue@46 248 <Color r="1" g="1" b="1" a="1" />
Nenue@46 249 <Gradient orientation="VERTICAL">
Nenue@50 250 <MaxColor r="0.15" g=".15" b="0.15" a="0.4" />
Nenue@47 251 <MinColor r="0" g="0" b="0" a="0" />
Nenue@46 252 </Gradient>
Nenue@33 253 </Texture>
Nenue@46 254
Nenue@46 255 </Layer>
Nenue@46 256 <Layer level="OVERLAY">
Nenue@46 257
Nenue@33 258 </Layer>
Nenue@33 259 </Layers>
Nenue@4 260 </Frame>
Nenue@55 261 <Button name="DevianExecButton" parent="UIParent" hidden="true">
Nenue@55 262 <Size x="32" y="32" />
Nenue@55 263 <Anchors>
Nenue@55 264 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="DevianDock" x="-4"/>
Nenue@55 265 </Anchors>
Nenue@55 266
Nenue@55 267 <NormalTexture file="Interface/Addons/Devian/arrow.blp" setAllPoints="true" alphaMode="ADD">
Nenue@55 268 <Color r="1" g="1" b="1" a="1" />
Nenue@55 269 </NormalTexture>
Nenue@55 270 <PushedTexture file="Interface/Addons/Devian/arrow.blp" setAllPoints="true" alphaMode="ADD">
Nenue@55 271 <Anchors>
Nenue@55 272 <Anchor point="TOPRIGHT" x="-1" y="-1" />
Nenue@55 273 <Anchor point="BOTTOMLEFT" x="1" y="1" />
Nenue@55 274 </Anchors>
Nenue@55 275 <Color r="1" g="0" b="0.5" a="1" />
Nenue@55 276 </PushedTexture>
Nenue@55 277
Nenue@55 278
Nenue@55 279
Nenue@55 280 <Layers>
Nenue@55 281 <Layer level="ARTWORK">
Nenue@55 282
Nenue@55 283 </Layer>
Nenue@55 284 </Layers>
Nenue@55 285 </Button>
Nenue@47 286
Nenue@93 287 <Button name="DevianBeacon" hidden="true" virtual="true" enableMouse="true" alpha="1" frameStrata="MEDIUM" mixin="DevianDockButtonMixin">
Nenue@93 288 <Size x="64" y="24" />
Nenue@47 289
Nenue@47 290 <Scripts>
Nenue@93 291 <OnShow method="OnShow" />
Nenue@93 292 <OnEnter method="OnEnter" />
Nenue@93 293 <OnMouseDown method="OnMouseDown" />
Nenue@93 294 <OnClick method="Select" />
Nenue@47 295 </Scripts>
Nenue@47 296 <Layers>
Nenue@93 297 <Layer level="BACKGROUND">
Nenue@93 298 <Texture parentKey="Background" setAllPoints="true">
Nenue@93 299 <Color a="0.5" r="0" g="0" b="0" />
Nenue@93 300 </Texture>
Nenue@93 301 </Layer>
Nenue@47 302 <Layer level="OVERLAY">
Nenue@93 303 <Texture parentKey="Stripe">
Nenue@93 304 <Anchors>
Nenue@93 305 <Anchor point="TOPLEFT" />
Nenue@93 306 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-3" />
Nenue@93 307 </Anchors>
Nenue@93 308 </Texture>
Nenue@47 309 </Layer>
Nenue@47 310 </Layers>
Nenue@47 311 <Frames>
Nenue@93 312 <Frame name="$parentText" parentKey="caption" alpha="1" blendMode="BLEND" enableMouse="false">
Nenue@93 313 <Size x="64" y="24" />
Nenue@47 314 <Anchors>
Nenue@47 315 <Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="0" />
Nenue@47 316 </Anchors>
Nenue@47 317 <Layers>
Nenue@47 318 <Layer level="OVERLAY">
Nenue@93 319 <FontString text="Test String" inherits="DevianDockHeader" parentKey="name" wordwrap="false" setAllPoints="true">
Nenue@93 320 <Anchors>
Nenue@93 321 <Anchor point="BOTTOM" />
Nenue@93 322 </Anchors>
Nenue@47 323 <Color r="1" g="1" b="1" a="1" />
Nenue@47 324 <Shadow>
Nenue@47 325 <Color r="0" g="0" b="0" a="1" />
Nenue@47 326 <Offset x="0" y="-2" />
Nenue@47 327 </Shadow>
Nenue@47 328 </FontString>
Nenue@47 329 </Layer>
Nenue@47 330 </Layers>
Nenue@93 331 <Animations>
Nenue@93 332 <AnimationGroup parentKey="pulse" looping="BOUNCE" setToFinalAlpha="false">
Nenue@93 333 <Alpha fromAlpha=".5" toAlpha="1" duration="0.4" endDelay="0.6" order="1" childKey="name" />
Nenue@93 334
Nenue@93 335 </AnimationGroup>
Nenue@93 336 </Animations>
Nenue@47 337 </Frame>
Nenue@47 338 </Frames>
Nenue@47 339 </Button>
Nenue@47 340
Nenue@4 341 </Ui>