<!-- * Copyright (c) 2011 by Adam Hellberg. * * This file is part of KillTrack. * * KillTrack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * KillTrack is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with KillTrack. If not, see <http://www.gnu.org/licenses/>. --> <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"> <Font name="KillTrackFontTemplate" font="Fonts\FRIZQT__.TTF" virtual="true"> <Color a="1" r="1" g="1" b="1" /> <FontHeight> <AbsValue val="10" /> </FontHeight> </Font> <Frame name="KillTrackTimerFrame" hidden="true" movable="true" enableMouse="true"> <Size> <AbsDimension x="200" y="93" /> </Size> <Anchors> <Anchor point="CENTER" /> </Anchors> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16" /> </EdgeSize> <TileSize> <AbsValue val="32" /> </TileSize> <BackgroundInsets> <AbsInset left="2.5" right="2.5" top="2.5" bottom="2.5" /> </BackgroundInsets> </Backdrop> <Scripts> <OnMouseDown>self:StartMoving();</OnMouseDown> <OnMouseUp>self:StopMovingOrSizing();</OnMouseUp> </Scripts> <Layers> <Layer level="OVERLAY"> <FontString name="$parent_CurrentLabel" inherits="KillTrackFontTemplate" text="Number of kills:"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="6" y="-6" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_CurrentCount" inherits="KillTrackFontTemplate" text="0"> <Anchors> <Anchor point="TOPRIGHT"> <Offset> <AbsDimension x="-6" y="-6" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_TimeLabel" inherits="KillTrackFontTemplate" text="Time left:"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent_CurrentLabel" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_TimeCount" inherits="KillTrackFontTemplate" text="00:00:00"> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parent_CurrentCount" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="0" y="-2" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_KillsPerMinuteLabel" inherits="KillTrackFontTemplate" text="Kills Per Minute:"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent_TimeLabel" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_KillsPerMinuteCount" inherits="KillTrackFontTemplate" text="0"> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parent_TimeCount" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="0" y="-2" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_KillsPerSecondLabel" inherits="KillTrackFontTemplate" text="Kills Per Second:"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent_KillsPerMinuteLabel" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_KillsPerSecondCount" inherits="KillTrackFontTemplate" text="0"> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parent_KillsPerMinuteCount" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="0" y="-2" /> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_ProgressLabel" inherits="KillTrackFontTemplate" text="0%"> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="-55" /> </Offset> </Anchor> </Anchors> </FontString> </Layer> <Layer level="ARTWORK"> <Texture name="$parent_ProgressBar" file="Interface\TargetingFrame\UI-StatusBar"> <Color a="1" r="0" g="1" b="0" /> <Size> <AbsDimension x="1" y="12" /> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent_KillsPerSecondLabel" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-1" y="-2" /> </Offset> </Anchor> </Anchors> </Texture> </Layer> </Layers> <Frames> <Button name="$parent_CancelButton" inherits="UIPanelButtonTemplate" text="Cancel"> <Size> <AbsDimension x="60" y="16" /> </Size> <Anchors> <Anchor point="BOTTOM"> <Offset> <AbsDimension x="-40" y="7" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad>self:Disable();</OnLoad> <OnClick>KillTrack.TimerFrame:Cancel();</OnClick> </Scripts> </Button> <Button name="$parent_CloseButton" inherits="UIPanelButtonTemplate" text="Close"> <Size> <AbsDimension x="60" y="16" /> </Size> <Anchors> <Anchor point="BOTTOM"> <Offset> <AbsDimension x="40" y="7" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad>self:Disable();</OnLoad> <OnClick>KillTrack.TimerFrame:Close();</OnClick> </Scripts> </Button> </Frames> </Frame> </Ui>