Mercurial > wow > devian
view Devian.xml @ 33:e6650821a2c0
Debugging pass on console code.
author | Nenue |
---|---|
date | Sun, 27 Dec 2015 02:30:46 -0500 |
parents | c6a2c2df4790 |
children | 3304455a3f45 |
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" parentKey="titlebar" 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> <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="ARTWORK"> <FontString parentKey="title" font="Interface\Addons\Devian\font\SourceCodePro-Bold.ttf" wordwrap="true" justifyH="LEFT" indented="true"> <Anchors> <Anchor point="TOPLEFT" x="4" y="-2" /> </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> <Layer level="OVERLAY"> <Texture name="$parentHeader" parentKey="header" inherits="DevianHeader"> <Anchors> <Anchor point="TOPLEFT" /> <Anchor point="TOPRIGHT" /> <Size y="20" /> </Anchors> </Texture> </Layer> </Layers> <Frames> <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>