vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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="LootTrackerKillDetailsUI.lua"/>
    
    
    <Button name="LT_KillButtonTemplate" virtual="true" inherits="LT_DetailsButtonTemplate">
        <Scripts>
            <OnClick>
                LT_OnKillButtonClicked(this);
            </OnClick>
        </Scripts>
    </Button>
    
    
    <Frame name="LT_KillDetailsTemplate" virtual="true" inherits="OptionFrameBoxTemplate">
        <Size x="210" y="540"/>
        <Frames>
        
            <!-- Close Button -->
            <Button name="LT_Kill_CloseButton" inherits="UIPanelCloseButton">
                <Anchors>
                    <Anchor point="TopRIGHT" relativePoint="TopRIGHT" relativeTo="$parent">
                        <Offset x="0" y="0"/>
                    </Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                        LT_KillDetails:Hide();
                        LT_SettingsFrame:Show();
                    </OnClick>
                </Scripts>
            </Button>
        
            <Frame name="LT_Kill_Description" inherits="LT_LabelTemplate">
                <Size x="140" y="52"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="$parent" relativePoint="TopLEFT"><Offset x="5" y="-6"/></Anchor>
                </Anchors>
            </Frame>
            
            <Frame name="LT_Kill_DeathsLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Kill_Description" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_Kill_DeathsLabelText:SetText("Deaths");</OnShow>
                </Scripts>
            </Frame>
            
            <ScrollFrame name="LT_Kill_DeathsList" inherits="LT_DetailsScrollerTemplate">
                <Size x="165" y="75"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Kill_DeathsLabel"><Offset x="5" y="-5"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.ItemHeight = 13;
                        this.VisibleCount = 5;
                        this.ButtonName = "LT_Kill_DeathButton";
                        this.TotalCountHandler = LT_Kill_Deaths_GetTotal;
                        this.ItemLabelHandler = LT_Kill_Deaths_GetItemLabel;
                    </OnLoad>
                </Scripts>
            </ScrollFrame>
            
            <Button name="LT_Kill_DeathButton1" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathsList" relativePoint="TopLEFT"><Offset x="2" y="-2"/></Anchor></Anchors></Button>
            <Button name="LT_Kill_DeathButton2" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton1" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DeathButton3" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton2" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DeathButton4" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton3" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DeathButton5" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton4" relativePoint="BottomLEFT"/></Anchors></Button>
            
            <Button name="LT_Kill_RemoveDeathButton" inherits="OptionsButtonTemplate">
                <Size x="190" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Kill_DeathsList" relativePoint="BottomLEFT"><Offset x="-5" y="-6"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                        LT_Kill_RemoveDeath();
                    </OnClick>
                    <OnShow>
                        this:SetText("Remove death");
                    </OnShow>
                </Scripts>
            </Button>
            
            <Frame name="LT_Kill_DropsLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Kill_RemoveDeathButton" relativePoint="BottomLEFT"><Offset x="0" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_Kill_DropsLabelText:SetText("Drops");</OnShow>
                </Scripts>
            </Frame>
            
            <ScrollFrame name="LT_Kill_DropsList" inherits="LT_DetailsScrollerTemplate">
                <Size x="165" y="150"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Kill_DropsLabel"><Offset x="5" y="-5"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.ItemHeight = 13;
                        this.VisibleCount = 10;
                        this.ButtonName = "LT_Kill_DropButton";
                        this.TotalCountHandler = LT_Kill_Drops_GetTotal;
                        this.ItemLabelHandler = LT_Kill_Drops_GetItemLabel;
                    </OnLoad>
                </Scripts>
            </ScrollFrame>
            
            <Button name="LT_Kill_DropButton1" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropsList" relativePoint="TopLEFT"><Offset x="2" y="-2"/></Anchor></Anchors></Button>
            <Button name="LT_Kill_DropButton2" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton1" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton3" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton2" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton4" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton3" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton5" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton4" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton6" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton5" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton7" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton6" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton8" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton7" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton9" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton8" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Kill_DropButton10" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton9" relativePoint="BottomLEFT"/></Anchors></Button>
            
            <Frame name="LT_Kill_ValueLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Kill_DropsList" relativePoint="BottomLEFT"><Offset x="-5" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_Kill_ValueLabelText:SetText("Average Value");</OnShow>
                </Scripts>
            </Frame>
            
            <Frame name="LT_Kill_Value" inherits="LT_LabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Kill_ValueLabel" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
                </Anchors>
            </Frame>
        
        </Frames>
    </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.