Mercurial > wow > skeletonkey
view 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 |
line wrap: on
line source
<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/ ..\FrameXML\UI.xsd"> <Script file="libKT-1.0.lua" /> <FontString name="LogString" virtual="true" justifyH="LEFT" justifyV="TOP" inherits="GameFontHighlight"> <Anchors> <Anchor point="TOP" /> </Anchors> </FontString> <Font name="KTHeaderFont" virtual="true" inherits="NumberFontNormal"> <FontHeight val="18" /> </Font> <Button name="KTButton" parentArray="controls" virtual="true"> <Scripts> <OnEnter> if self.tooltip then GameTooltip:SetOwner(self) GameTooltip:SetAnchorType('ANCHOR_TOPRIGHT') GameTooltip:SetText(self.tooltip) GameTooltip:Show() end </OnEnter> <OnLeave> GameTooltip:Hide() </OnLeave> </Scripts> <NormalFont style="NumberFontNormal" /> <NormalTexture setAllPoints="true"> <Color a="1" r="0" g=".4" b="1" /> </NormalTexture> <DisabledTexture> <Color a="1" r="0.5" b="0.5" g="0.5" /> </DisabledTexture> <DisabledColor a="0.5" r="1" g="1" b="1" /> <PushedTexture> <Color a="1" r="1" g="0.25" b="0.25" /> </PushedTexture> <HighlightTexture alphaMode="ADD"> <Color a="0.25" r="1" g="0" b=".5" /> </HighlightTexture> <Size x="72" y="28" /> </Button> <!-- style for Blizzard UIPanel activators // The template anchor gets overwritten for successive iterations --> <Button name="KTUIPanelButton" virtual="true" parentArray="UIPanels"> <Scripts> <OnEnter> if self.tooltip then GameTooltip:SetOwner(self) GameTooltip:SetAnchorType('ANCHOR_TOPRIGHT') GameTooltip:SetText(self.tooltip) GameTooltip:Show() end </OnEnter> <OnLeave> GameTooltip:Hide() </OnLeave> </Scripts> <Layers> <Layer level="OVERLAY"> <Texture parentKey="icon"> <Size x="24" y="24" /> <Anchors> <Anchor point="LEFT" x="-12" y="0" /> </Anchors> </Texture> </Layer> </Layers> <NormalFont style="NumberFontNormalRight" /> <NormalTexture> <Color a="1" r=".4" g="0" b="1" /> </NormalTexture> <PushedTexture> <Color a="1" r=".6" g=".2" b="1" /> </PushedTexture> <HighlightTexture> <Size x="3" /> <Anchors> <Anchor point="BOTTOM" /> <Anchor point="TOP" /> <Anchor point="RIGHT" /> </Anchors> <Color a="1" r="1" g="0" b="0.5" /> </HighlightTexture> <Size x="84" y="24" /> </Button> <Button name="KTTabButton" virtual="true" parentArray="tabButtons"> <Scripts> <OnEnter> if not self.tooltip then return end GameTooltip:SetOwner(self) GameTooltip:SetAnchorType('LEFT') GameTooltip:SetText(self.tooltip) GameTooltip:Show() </OnEnter> <OnLeave> if not self.tooltip then return end GameTooltip:Hide() </OnLeave> </Scripts> <Size x="40" y="40" /> <Layers> <Layer level="BACKGROUND"> </Layer> <Layer level="BORDER"> <Texture parentKey="icon"> <Color a="1" r="1" g="0" b="0" /> <Anchors> <Anchor point="TOPLEFT" x="2" y="-2"/> <Anchor point="BOTTOMRIGHT" x="-2" y="2"/> </Anchors> </Texture> </Layer> <Layer level="ARTWORK"> </Layer> </Layers> <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2"> <Anchors> <Anchor point="TOPLEFT" x="-12" y="12"/> <Anchor point="BOTTOMRIGHT" x="13" y="-13"/> </Anchors> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> </Button> <!-- inherited to generate event feedback --> <Frame name="KTDebugTemplate" virtual="true"> <Layers> <Layer level="OVERLAY"> <FontString inherits="GameFontNormal" parentKey="status" text="text thing here"> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" /> </Anchors> </FontString> <FontString inherits="LogString" parentKey="logfirst" text="First"> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" relativeKey="$parent.status" /> </Anchors> </FontString> <FontString inherits="LogString" parentKey="logdiff" text="Different"> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.logfirst" /> </Anchors> </FontString> <FontString inherits="LogString" parentKey="log" text="Last"> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.logdiff" /> </Anchors> </FontString> </Layer> </Layers> </Frame> <Frame name="KTErrorFrame" parent="UIParent" toplevel="true" movable="true" enableMouse="true" hidden="true" clampedToScreen="true"> <Size x="450" y="280" /> <Anchors> <Anchor point="CENTER" /> </Anchors> <Scripts> <OnLoad> self:RegisterForDrag('LeftButton') </OnLoad> <OnDragStart> self:StartMoving() </OnDragStart> <OnDragStop> self:StopMovingOrSizing() </OnDragStop> </Scripts> <Layers> <Layer level="BACKGROUND"> <Texture setAllPoints="true"> <Color a="1" r="0" g="0" b="0" /> </Texture> </Layer> <Layer level="OVERLAY"> <FontString inherits="NumberFont_Outline_Huge" text="KrakTool Error"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" /> </Anchors> </FontString> <FontString inherits="NumberFont_Outline_Large" parentKey="errmsg" justifyH="LEFT" spacing="3"> <Anchors> <Anchor point="TOP" /> <Anchor point="LEFT" /> <Anchor point="RIGHT" /> </Anchors> </FontString> <FontString inherits="NumberFont_Outline_Large" parentKey="debugstack" justifyH="LEFT" spacing="3"> <Anchors> <Anchor point="LEFT" /> <Anchor point="RIGHT" /> <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.errmsg" x="0" y="-8" /> </Anchors> </FontString> </Layer> </Layers> </Frame> <Frame name="KTAuraButton" virtual="true"> <Scripts> <OnLoad> self.count = self.overlay.count </OnLoad> </Scripts> <Layers> <Layer level="ARTWORK"> <Texture setAllPoints="true" name="$parentIcon" parentKey="icon" /> </Layer> <Layer level="OVERLAY"> </Layer> </Layers> <Frames> <Cooldown parentKey="cooldown" setAllPoints="true" inherits="CooldownFrameTemplate"/> <Frame name="$parentOverLayer" parentKey="overlay" setAllPoints="true"> <Layers> <Layer level="OVERLAY"> <FontString parentKey="count" name="$parentCount" inherits="NumberFontNormal" text="count number"> <Anchors> <Anchor point="BOTTOMRIGHT" /> </Anchors> </FontString> </Layer> </Layers> </Frame> </Frames> </Frame> </Ui>