vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui>
        <Script file="DeathEstimator.lua"/>
        <Frame name="DeathEstimatorFrame" hidden="false" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
                <Size>
                        <AbsDimension x="128" y="64"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                </Backdrop>
                <Frames>
                        <Button name="DeathEstimatorPlayerButton">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorPlayerLabel" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorPlayerText" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                        <Button name="DeathEstimatorPetButton">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="2" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorPetLabel" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorPetText" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                        <Button name="DeathEstimatorTargetButton">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="2" y="-32"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorTargetLabel" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorTargetText" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                DeathEstimator_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                DeathEstimator_OnEvent(event);
                        </OnEvent>
                        <OnUpdate>
                                DeathEstimator_OnUpdate();
                        </OnUpdate>
                        <OnMouseDown>
                                if ( arg1 == "LeftButton" ) then
                                        DeathEstimatorFrame:StartMoving();
                                end
                        </OnMouseDown>
                        <OnMouseUp>
                                if ( arg1 == "LeftButton" ) then
                                        DeathEstimatorFrame:StopMovingOrSizing();
                                end
      </OnMouseUp>
                </Scripts>
        </Frame>
        <Frame name="DeathEstimatorPartyFrame" hidden="true" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="DeathEstimatorFrame">
                <Size>
                        <AbsDimension x="128" y="80"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="DeathEstimatorFrame">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                </Backdrop>
                <Frames>
                        <Button name="DeathEstimatorParty1Button">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorParty1Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorParty1Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                        <Button name="DeathEstimatorParty2Button">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorParty2Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorParty2Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                        <Button name="DeathEstimatorParty3Button">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-32"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorParty3Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorParty3Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                        <Button name="DeathEstimatorParty4Button">
                                <Size>
                                        <AbsDimension x="128" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-48"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="DeathEstimatorParty4Label" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="64" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="DeathEstimatorParty4Text" justifyH="RIGHT" justifyV="CENTER" inherits="GameFontNormalSmall">
                                                        <Size>
                                                                <AbsDimension x="52" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="64" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                if ( arg1 == "LeftButton" ) then
                                                        DeathEstimatorFrame:StopMovingOrSizing();
                                                end
                </OnMouseUp>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                DeathEstimator_PartyOnLoad();
                        </OnLoad>
                        <OnEvent>
                                DeathEstimator_OnEvent();
                        </OnEvent>
                        <OnMouseDown>
                                if ( arg1 == "LeftButton" ) then
                                        DeathEstimatorFrame:StartMoving();
                                end
                        </OnMouseDown>
                        <OnMouseUp>
                                if ( arg1 == "LeftButton" ) then
                                        DeathEstimatorFrame:StopMovingOrSizing();
                                end
      </OnMouseUp>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.