annotate libKT/libKT-1.0.xml @ 2:f7a0898d293c

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