annotate LibKraken/LibKraken.xml @ 43:0f79d1118eb8

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