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="LootTrackerPlayerDetailsUI.lua"/>
    
    
    <Button name="LT_PlayerButtonTemplate" virtual="true" inherits="LT_DetailsButtonTemplate">
        <Scripts>
            <OnClick>
                LT_OnPlayerButtonClicked(this);
            </OnClick>
        </Scripts>
    </Button>
    
    <Frame name="LT_PlayerDetailsTemplate" virtual="true" inherits="OptionFrameBoxTemplate">
        <Size x="210" y="540"/>
        <Frames>
        
            <!-- Close Button -->
            <Button name="LT_Player_CloseButton" inherits="UIPanelCloseButton">
                <Anchors>
                    <Anchor point="TopRIGHT" relativePoint="TopRIGHT" relativeTo="$parent">
                        <Offset x="0" y="0"/>
                    </Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                        LT_PlayerDetails:Hide();
                        LT_SettingsFrame:Show();
                    </OnClick>
                </Scripts>
            </Button>
        
            <Frame name="LT_Player_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_Player_GearLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Player_Description" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_Player_GearLabelText:SetText("Gear");</OnShow>
                </Scripts>
            </Frame>
            
            <ScrollFrame name="LT_Player_GearList" inherits="LT_DetailsScrollerTemplate">
                <Size x="165" y="75"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Player_GearLabel"><Offset x="5" y="-5"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.ItemHeight = 13;
                        this.VisibleCount = 5;
                        this.ButtonName = "LT_Player_GearButton";
                        this.TotalCountHandler = LT_Player_Gear_GetTotal;
                        this.ItemLabelHandler = LT_Player_Gear_GetItemLabel;
                    </OnLoad>
                </Scripts>
            </ScrollFrame>
            
            <Button name="LT_Player_GearButton1" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearList" relativePoint="TopLEFT"><Offset x="2" y="-2"/></Anchor></Anchors></Button>
            <Button name="LT_Player_GearButton2" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton1" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_GearButton3" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton2" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_GearButton4" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton3" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_GearButton5" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton4" relativePoint="BottomLEFT"/></Anchors></Button>
            
            <Button name="LT_Player_UpdateButton" inherits="OptionsButtonTemplate">
                <Size x="190" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Player_GearList" relativePoint="BottomLEFT"><Offset x="-5" y="-6"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                        LT_Player_Update();
                    </OnClick>
                    <OnShow>
                        this:SetText("Update");
                    </OnShow>
                </Scripts>
            </Button>
            
            <Frame name="LT_Player_LootLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Player_UpdateButton" relativePoint="BottomLEFT"><Offset x="-0" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_Player_LootLabelText:SetText("Loot");</OnShow>
                </Scripts>
            </Frame>
            
            <ScrollFrame name="LT_Player_LootList" inherits="LT_DetailsScrollerTemplate">
                <Size x="165" y="140"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Player_LootLabel"><Offset x="5" y="-5"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.ItemHeight = 13;
                        this.VisibleCount = 10;
                        this.ButtonName = "LT_Player_LootButton";
                        this.TotalCountHandler = LT_Player_Loot_GetTotal;
                        this.ItemLabelHandler = LT_Player_Loot_GetItemLabel;
                    </OnLoad>
                </Scripts>
            </ScrollFrame>
            
            <Button name="LT_Player_LootButton1" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootList" relativePoint="TopLEFT"><Offset x="2" y="-2"/></Anchor></Anchors></Button>
            <Button name="LT_Player_LootButton2" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton1" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton3" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton2" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton4" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton3" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton5" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton4" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton6" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton5" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton7" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton6" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton8" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton7" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton9" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton8" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_Player_LootButton10" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton9" relativePoint="BottomLEFT"/></Anchors></Button>
            
            <Frame name="LT_Player_ValueLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Player_LootList" relativePoint="BottomLEFT"><Offset x="-5" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_Player_ValueLabelText:SetText("Total Value");</OnShow>
                </Scripts>
            </Frame>
            
            <Frame name="LT_Player_Value" inherits="LT_LabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Player_ValueLabel" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
                </Anchors>
            </Frame>
        
        </Frames>
    </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.