annotate LibKraken/LibKraken-1.0.xml @ 35:b627b7a7a65c

packager settings
author Nenue
date Tue, 16 Aug 2016 10:26:01 -0400
parents 34a2e8d93448
children
rev   line source
Nenue@5 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@5 2 ..\FrameXML\UI.xsd">
Nenue@5 3
Nenue@5 4 <Script file="LibKraken-1.0.lua" />
Nenue@5 5
Nenue@5 6 <Font name="KTLogString" font="Fonts\ARIALN.TTF" height="12" justifyH="LEFT" justifyV="TOP" inherits="NumberFontNormal" virtual="true">
Nenue@5 7 <Color a="1" r="1" g="1" b="1" />
Nenue@5 8 </Font>
Nenue@5 9
Nenue@32 10 <Font name="KTHeaderFont" height="18" justifyH="LEFT" justifyV="TOP" virtual="true" inherits="NumberFont_Outline_Huge" />
Nenue@5 11 <Font name="KTHeader2Font" height="14" font="Fonts\skurri.ttf" outline="NORMAL" justifyH="LEFT" justifyV="TOP" virtual="true" />
Nenue@5 12 <Font name="KTUIPanelFont" justifyH="LEFT" virtual="true" inherits="NumberFontNormal" />
Nenue@5 13 <Font name="KTMacroButtonFont" height="12" font="Fonts\ARIALN.TTF" justifyH="LEFT" virtual="true" >
Nenue@5 14 <Color a="1" r="1" g="1" b="1" />
Nenue@5 15 </Font>
Nenue@5 16
Nenue@5 17
Nenue@5 18 <Button name="KTButton" parentArray="controls" virtual="true">
Nenue@5 19 <Size x="72" y="28" />
Nenue@5 20 <Scripts>
Nenue@5 21 <OnEnter>
Nenue@5 22 if self.tooltip then
Nenue@5 23 GameTooltip:SetOwner(self)
Nenue@5 24 GameTooltip:SetAnchorType('ANCHOR_TOPRIGHT')
Nenue@5 25 GameTooltip:SetText(self.tooltip)
Nenue@5 26 GameTooltip:Show()
Nenue@5 27 end
Nenue@5 28 </OnEnter>
Nenue@5 29 <OnLeave>
Nenue@5 30 GameTooltip:Hide()
Nenue@5 31 </OnLeave>
Nenue@5 32 </Scripts>
Nenue@5 33 <NormalFont style="NumberFontNormal" />
Nenue@5 34 <NormalTexture setAllPoints="true">
Nenue@5 35 <Color a="1" r="0" g=".4" b="1" />
Nenue@5 36 </NormalTexture>
Nenue@5 37 <DisabledTexture>
Nenue@5 38 <Color a="1" r="0.5" b="0.5" g="0.5" />
Nenue@5 39 </DisabledTexture>
Nenue@5 40 <DisabledColor a="0.5" r="1" g="1" b="1" />
Nenue@5 41 <PushedTexture>
Nenue@5 42 <Color a="1" r="1" g="0.25" b="0.25" />
Nenue@5 43 </PushedTexture>
Nenue@5 44 <HighlightTexture alphaMode="ADD">
Nenue@5 45 <Color a="0.25" r="1" g="0" b=".5" />
Nenue@5 46 </HighlightTexture>
Nenue@5 47 </Button>
Nenue@5 48
Nenue@5 49 <!-- style for Blizzard UIPanel activators
Nenue@5 50 // The template anchor gets overwritten for successive iterations -->
Nenue@5 51 <Button name="KTUIPanelButton" virtual="true" parentArray="UIPanels">
Nenue@5 52 <Size x="84" y="24" />
Nenue@5 53 <Scripts>
Nenue@5 54 <OnEnter>
Nenue@5 55 if self.tooltip then
Nenue@5 56 GameTooltip:SetOwner(self)
Nenue@5 57 GameTooltip:SetAnchorType('ANCHOR_TOPRIGHT')
Nenue@5 58 GameTooltip:SetText(self.tooltip)
Nenue@5 59 GameTooltip:Show()
Nenue@5 60 end
Nenue@5 61 </OnEnter>
Nenue@5 62 <OnLeave>
Nenue@5 63 GameTooltip:Hide()
Nenue@5 64 </OnLeave>
Nenue@5 65 </Scripts>
Nenue@5 66 <Layers>
Nenue@5 67 <Layer level="OVERLAY">
Nenue@5 68 <Texture parentKey="icon" />
Nenue@5 69 </Layer>
Nenue@5 70 </Layers>
Nenue@5 71
Nenue@5 72 <ButtonText>
Nenue@5 73 <Anchors>
Nenue@5 74 <Anchor point="LEFT" x="14" y="0" />
Nenue@5 75 </Anchors>
Nenue@5 76 </ButtonText>
Nenue@5 77
Nenue@5 78 <NormalFont style="KTUIPanelFont" />
Nenue@5 79 <NormalTexture>
Nenue@5 80 <Color a="1" r=".24" g=".24" b=".24" />
Nenue@5 81 </NormalTexture>
Nenue@5 82 <PushedTexture>
Nenue@5 83 <Color a="1" r="0" g="0" b="0" />
Nenue@5 84 </PushedTexture>
Nenue@5 85 <HighlightTexture alphaMode="ADD">
Nenue@5 86 <Size x="32" />
Nenue@5 87 <Color a="1" r="1" g="1" b="1" />
Nenue@5 88 <Gradient orientation="HORIZONTAL">
Nenue@5 89 <MaxColor r=".25" g=".25" b=".25"/>
Nenue@5 90 <MinColor r="0" g="0" b="0" />
Nenue@5 91 </Gradient>
Nenue@5 92 </HighlightTexture>
Nenue@5 93
Nenue@5 94 </Button>
Nenue@5 95
Nenue@5 96 <Button name="KTTabButton" virtual="true" parentArray="tabButtons">
Nenue@5 97 <Scripts>
Nenue@5 98 <OnEnter>
Nenue@5 99
Nenue@5 100 if not self.tooltip then
Nenue@5 101 return
Nenue@5 102 end
Nenue@5 103 GameTooltip:SetOwner(self)
Nenue@5 104 GameTooltip:SetAnchorType('LEFT')
Nenue@5 105 GameTooltip:SetText(self.tooltip)
Nenue@5 106 GameTooltip:Show()
Nenue@5 107 </OnEnter>
Nenue@5 108 <OnLeave>
Nenue@5 109
Nenue@5 110 if not self.tooltip then
Nenue@5 111 return
Nenue@5 112 end
Nenue@5 113 GameTooltip:Hide()
Nenue@5 114 </OnLeave>
Nenue@5 115 </Scripts>
Nenue@5 116 <Size x="40" y="40" />
Nenue@5 117 <Layers>
Nenue@5 118 <Layer level="BACKGROUND">
Nenue@5 119 </Layer>
Nenue@5 120 <Layer level="BORDER">
Nenue@5 121 <Texture parentKey="icon">
Nenue@5 122 <Color a="1" r="1" g="0" b="0" />
Nenue@5 123 <Anchors>
Nenue@5 124 <Anchor point="TOPLEFT" x="2" y="-2"/>
Nenue@5 125 <Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
Nenue@5 126 </Anchors>
Nenue@5 127 </Texture>
Nenue@5 128 </Layer>
Nenue@5 129 <Layer level="ARTWORK">
Nenue@5 130 </Layer>
Nenue@5 131 </Layers>
Nenue@5 132
Nenue@5 133 <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2">
Nenue@5 134 <Anchors>
Nenue@5 135 <Anchor point="TOPLEFT" x="-12" y="12"/>
Nenue@5 136 <Anchor point="BOTTOMRIGHT" x="13" y="-13"/>
Nenue@5 137 </Anchors>
Nenue@5 138 </NormalTexture>
Nenue@5 139 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
Nenue@5 140 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
Nenue@5 141 </Button>
Nenue@5 142
Nenue@5 143 <!-- inherited to generate event feedback -->
Nenue@5 144 <Frame name="KTDebugTemplate" virtual="true">
Nenue@5 145 <Layers>
Nenue@5 146 <Layer level="OVERLAY">
Nenue@5 147 <FontString inherits="GameFontNormal" parentKey="status" text="text thing here">
Nenue@5 148 <Anchors>
Nenue@5 149 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" />
Nenue@5 150 </Anchors>
Nenue@5 151 </FontString>
Nenue@5 152 <FontString inherits="KTLogString" parentKey="logfirst" text="First">
Nenue@5 153 <Anchors>
Nenue@5 154 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" relativeKey="$parent.status" />
Nenue@5 155 </Anchors>
Nenue@5 156 </FontString>
Nenue@5 157 <FontString inherits="KTLogString" parentKey="logdiff" text="Different">
Nenue@5 158 <Anchors>
Nenue@5 159 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.logfirst" />
Nenue@5 160 </Anchors>
Nenue@5 161 </FontString>
Nenue@5 162 <FontString inherits="KTLogString" parentKey="log" text="Last">
Nenue@5 163 <Anchors>
Nenue@5 164 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.logdiff" />
Nenue@5 165 </Anchors>
Nenue@5 166 </FontString>
Nenue@5 167 </Layer>
Nenue@5 168 </Layers>
Nenue@5 169 </Frame>
Nenue@5 170
Nenue@5 171
Nenue@5 172
Nenue@5 173 <Frame name="KTErrorFrame" parent="UIParent" toplevel="true" movable="true" enableMouse="true" hidden="true" clampedToScreen="true">
Nenue@5 174 <Size x="450" y="280" />
Nenue@5 175 <Anchors>
Nenue@5 176 <Anchor point="CENTER" />
Nenue@5 177 </Anchors>
Nenue@5 178 <Scripts>
Nenue@5 179 <OnLoad>
Nenue@5 180 self:RegisterForDrag('LeftButton')
Nenue@5 181 </OnLoad>
Nenue@5 182 <OnDragStart>
Nenue@5 183 self:StartMoving()
Nenue@5 184 </OnDragStart>
Nenue@5 185 <OnDragStop>
Nenue@5 186 self:StopMovingOrSizing()
Nenue@5 187 </OnDragStop>
Nenue@5 188 </Scripts>
Nenue@5 189 <Layers>
Nenue@5 190 <Layer level="BACKGROUND">
Nenue@5 191 <Texture setAllPoints="true">
Nenue@5 192 <Color a="1" r="0" g="0" b="0" />
Nenue@5 193 </Texture>
Nenue@5 194 </Layer>
Nenue@5 195 <Layer level="OVERLAY">
Nenue@5 196 <FontString inherits="NumberFont_Outline_Huge" text="KrakTool Error">
Nenue@5 197 <Anchors>
Nenue@5 198 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" />
Nenue@5 199 </Anchors>
Nenue@5 200 </FontString>
Nenue@5 201 <FontString inherits="NumberFont_Outline_Large" parentKey="errmsg" justifyH="LEFT" spacing="3">
Nenue@5 202 <Anchors>
Nenue@5 203 <Anchor point="TOP" />
Nenue@5 204 <Anchor point="LEFT" />
Nenue@5 205 <Anchor point="RIGHT" />
Nenue@5 206 </Anchors>
Nenue@5 207 </FontString>
Nenue@5 208 <FontString inherits="NumberFont_Outline_Large" parentKey="debugstack" justifyH="LEFT" spacing="3">
Nenue@5 209 <Anchors>
Nenue@5 210 <Anchor point="LEFT" />
Nenue@5 211 <Anchor point="RIGHT" />
Nenue@5 212 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.errmsg" x="0" y="-8" />
Nenue@5 213 </Anchors>
Nenue@5 214 </FontString>
Nenue@5 215 </Layer>
Nenue@5 216 </Layers>
Nenue@5 217 </Frame>
Nenue@5 218 </Ui>