Mercurial > wow > devian
view Devian.xml @ 40:02e4a69afad5 v2.0-beta-r40
and more prints
author | Nenue |
---|---|
date | Sun, 27 Dec 2015 08:55:12 -0500 |
parents | bec37163b7fe |
children | dcc57a7cabc9 |
line wrap: on
line source
<Ui> <!--@no-lib-strip@--> <Script file="Libs\LibStub\LibStub.lua" /> <Include file="Libs\AceAddon-3.0\AceAddon-3.0.xml" /> <Include file="Libs\AceAddon-3.0\Console-3.0.xml" /> <!--@end-no-lib-strip@--> <Texture virtual="true" name="DevianBorder" setAllPoints="false"> <Color r="1" g="0" b="0" a="1" /> <Size x="2" y="2" /> </Texture> <Texture virtual="true" name="DevianHeader" alphaMode="BLEND"> <Anchors> <Anchor point="TOPLEFT" /> <Anchor point="TOPRIGHT" /> </Anchors> <Size y="20" /> <Color r="0.3" g="0.3" b="0.3" a="1" /> <Gradient orientation="VERTICAL"> <MinColor r="0" g="0" b="0" a="0.7"/> <MaxColor r="0.3" g="0.3" b="0.3" a="0.7"/> </Gradient> </Texture> <Button virtual="true" name="DevianDDButton" alphaMode="BLEND"> <Scripts> <OnClick> ToggleDropDownMenu(1, nil, self:GetParent().menuFrame, self, 0, 0); </OnClick> </Scripts> <Size x="32" y="16" /> <Layers> <Layer level="ARTWORK"> <Texture parentKey="icon" file="Interface\Addons\Devian\menu-button.blp" setAllPoints="true" alphaMode="ADD"> <Color a="1" r="1" g="1" b="1" /> <TexCoords top="0.47" left="0" bottom="0.9" right="1" /> </Texture> </Layer> </Layers> </Button> <Frame name="DevianDDMenu" virtual="true" inherits="UIDropDownMenuTemplate" id="1"> <Scripts> <OnLoad> </OnLoad> </Scripts> </Frame> <ScrollingMessageFrame name="DevianBuffer" maxLines="500" fade="false" displayduration="2147483647" insertMode="BOTTOM" virtual="true"> <Anchors> <Anchor point="TOPLEFT" y="-20" /> <Anchor point="BOTTOMRIGHT" /> </Anchors> <FontString font="Interface\Addons\Devian\font\SourceCodePro-Regular.ttf" wordwrap="true" justifyH="LEFT" indented="true" setAllPoints="true"> <FontHeight> <AbsValue val="13"/> </FontHeight> </FontString> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentBackdrop" parentKey="backdrop" setAllPoints="true" alphaMode="BLEND"> <Color r="1" g="1" b="1" a="1"/> <Gradient orientation="VERTICAL"> <MinColor r="0" g="0" b="0" a="0.7"/> <MaxColor r="0" g="0" b="0" a="0.3"/> </Gradient> </Texture> </Layer> <Layer level="OVERLAY"> <Texture name="DevianGripperRight" file="Interface\Addons\Devian\corner.blp" parentKey="grip" strata="HIGH" alphaMode="ADD"> <Anchors> <Anchor point="BOTTOMRIGHT" x="-1" y="1" /> </Anchors> <Size x="18" y="18" /> <Color r="0.4" g="0.4" b="0.4" a="1"/> <Gradient orientation="VERTICAL"> <MaxColor r="0.9" g="0.9" b="0.9" a="1"/> <MinColor r="0.4" g="0.4" b="0.4" a="1"/> </Gradient> </Texture> </Layer> </Layers> </ScrollingMessageFrame> <Frame name="DevianConsole" parent="UIParent" enableMouse="true" enableMouseWheel="true" clampedToScreen="true" movable="true" resizable="true" toplevel="true" hidden="true" virtual="true"> <ResizeBounds> <minResize x="200" y="20" /> <maxResize x="1920" y="1200" /> </ResizeBounds> <Scripts> <OnShow> self.title:SetText(self.index..' '.. self.signature) </OnShow> <OnMouseWheel> local up = delta > 0 if IsControlKeyDown() then if up then self.out:ScrollToTop() else self.out:ScrollToBottom() end elseif IsShiftKeyDown() then if up then self.out:PageUp() else self.out:PageDown() end else if up then self.out:ScrollUp() else self.out:ScrollDown() end end </OnMouseWheel> </Scripts> <Layers> <Layer level="OVERLAY"> <Texture parentKey="header" inherits="DevianHeader"> <Anchors> <Anchor point="TOPLEFT" /> <Anchor point="TOPRIGHT" /> <Size y="20" /> </Anchors> </Texture> <FontString parentKey="title" font="Interface\Addons\Devian\font\SourceCodePro-Bold.ttf" wordwrap="true" justifyH="LEFT" indented="true"> <Anchors> <Anchor point="TOPLEFT" x="4" y="0" /> </Anchors> <Size y="20" /> <FontHeight> <AbsValue val="12"/> </FontHeight> </FontString> </Layer> <Layer level="BORDER"> <Texture name="DevBorderUR" parentArray="border" parentkey="topright" inherits="DevianBorder"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPRIGHT" /> </Anchors> </Texture> <Texture name="DevBorderU" parentArray="border" parentKey="top" inherits="DevianBorder"> <Anchors> <Anchor point="TOPLEFT" y="2" /> <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" /> </Anchors> </Texture> <Texture name="DevBorderUL" parentArray="border" parentKey="topleft" inherits="DevianBorder"> <Anchors> <Anchor point="BOTTOMRIGHT" parentArray="border" relativePoint="TOPLEFT" /> </Anchors> </Texture> <Texture name="DevBorderL" parentArray="border" parentKey="left" inherits="DevianBorder"> <Anchors> <Anchor point="TOPLEFT" x="-2" /> <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" /> </Anchors> </Texture> <Texture name="DevBorderBL" parentArray="border" inherits="DevianBorder"> <Anchors> <Anchor point="TOPRIGHT" relativePoint="BOTTOMLEFT" /> </Anchors> </Texture> <Texture name="DevBorderB" parentArray="border" inherits="DevianBorder"> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" /> <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" y="-2" /> </Anchors> </Texture> <Texture name="DevBorderBR" parentArray="border" inherits="DevianBorder"> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMRIGHT" /> </Anchors> </Texture> <Texture name="DevBorderR" parentArray="border" parentKey="right" inherits="DevianBorder"> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" /> <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="2" /> </Anchors> </Texture> </Layer> </Layers> <Frames> <Button name="$parentMenuButton" parentKey="dropmenu" inherits="DevianDDButton" enableMouse="true"> <Anchors> <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-4" y="0" /> </Anchors> </Button> <Frame name="$parentDDMenu" parentKey="menuFrame" inherits="DevianDDMenu" /> <ScrollingMessageFrame parentKey="out" inherits="DevianBuffer" /> </Frames> </Frame> <Frame name="DevianDockFrame" inherits="DevianConsole" virtual="true"> <Layers> <Layer level="ARTWORK"> <Texture name="$parentHeader" parentKey="headerbar" inherits="DevianHeader"> <Anchors> <Anchor point="TOPLEFT" /> <Size x="150" y="20" /> </Anchors> </Texture> <!-- channel headers are moved here --> </Layer> </Layers> <Frames> <!-- channel scrollers are moved in here --> </Frames> </Frame> </Ui>