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="LootTrackerItemDetailsUI.lua"/>
    
    
    <Button name="LT_ItemButtonTemplate" virtual="true" inherits="LT_DetailsButtonTemplate">
        <Scripts>
            <OnClick>
                LT_OnItemButtonClicked(this);
            </OnClick>
        </Scripts>
    </Button>

    
        <Frame name="LT_DropdownTemplate" inherits="UIDropDownMenuTemplate" virtual="true">
                <Size x="128" y="16"/>
                <Layers>
                        <Layer level="BACKGROUND">
                                <FontString name="$parentLabel" inherits="GameFontNormalSmall">
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
                                                        <Offset x="21" y="0"/>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                UIDropDownMenu_Initialize(this, LT_InitializeDropDown);
                        </OnLoad>
                </Scripts>
        </Frame>


    <Frame name="LT_ItemDetailsTemplate" virtual="true" inherits="OptionFrameBoxTemplate">
        <Size x="210" y="540"/>
        <Frames>
        
            <!-- Close Button -->
            <Button name="LT_Item_CloseButton" inherits="UIPanelCloseButton">
                <Anchors>
                    <Anchor point="TopRIGHT" relativePoint="TopRIGHT" relativeTo="$parent">
                        <Offset x="0" y="0"/>
                    </Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                        LT_ItemDetails:Hide();
                        LT_SettingsFrame:Show();
                    </OnClick>
                </Scripts>
            </Button>
        
            <Frame name="LT_Item_Description" inherits="LT_LabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="$parent" relativePoint="TopLEFT"><Offset x="5" y="-6"/></Anchor>
                </Anchors>
            </Frame>
            
            <Frame name="LT_ValueLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_Item_Description" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_ValueLabelText:SetText("Value");</OnShow>
                </Scripts>
            </Frame>
            
            <EditBox name="LT_GoldEditBox" letters="4" autoFocus="false" inherits="InputBoxTemplate">
                <Size x="40" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_ValueLabel" relativePoint="BottomLEFT"><Offset x="10" y="-2"/></Anchor>
                </Anchors>
                <FontString inherits="ChatFontHighlight" font="Fonts\ARIALN.TTF">
                    <Color r="1" g="1" b="0"/>
                    <FontHeight>
                        <AbsValue val="12"/>
                    </FontHeight>
                </FontString>
            </EditBox>
            
            <EditBox name="LT_SilverEditBox" letters="4" autoFocus="false" inherits="InputBoxTemplate">
                <Size x="40" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_GoldEditBox" relativePoint="TopRIGHT"><Offset x="4" y="0"/></Anchor>
                </Anchors>
                <FontString inherits="ChatFontHighlight" font="Fonts\ARIALN.TTF">
                    <Color r="1" g="1" b="0"/>
                    <FontHeight>
                        <AbsValue val="12"/>
                    </FontHeight>
                </FontString>
            </EditBox>
            
            <EditBox name="LT_CopperEditBox" letters="4" autoFocus="false" inherits="InputBoxTemplate">
                <Size x="40" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_SilverEditBox" relativePoint="TopRIGHT"><Offset x="4" y="0"/></Anchor>
                </Anchors>
                <FontString inherits="ChatFontHighlight" font="Fonts\ARIALN.TTF">
                    <Color r="1" g="1" b="0"/>
                    <FontHeight>
                        <AbsValue val="12"/>
                    </FontHeight>
                </FontString>
            </EditBox>
            
            <Button name="LT_SetValueButton" inherits="OptionsButtonTemplate">
                <Size x="190" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_GoldEditBox" relativePoint="BottomLEFT"><Offset x="-10" y="-2"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                        LT_ItemDetails_SetValue();
                    </OnClick>
                    <OnShow>
                        this:SetText("Set Value");
                    </OnShow>
                </Scripts>
            </Button>
            
            <Frame name="LT_RecipientsLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_SetValueButton" relativePoint="BottomLEFT"><Offset x="0" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_RecipientsLabelText:SetText("Recipients");</OnShow>
                </Scripts>
            </Frame>
            
            <ScrollFrame name="LT_RecipientsList" inherits="LT_DetailsScrollerTemplate">
                <Size x="165" y="75"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_RecipientsLabel"><Offset x="5" y="-5"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.ItemHeight = 13;
                        this.VisibleCount = 5;
                        this.ButtonName = "LT_RecipientButton";
                        this.TotalCountHandler = LT_Recipients_GetTotal;
                        this.ItemLabelHandler = LT_Recipients_GetItemLabel;
                    </OnLoad>
                </Scripts>
            </ScrollFrame>
            
            <Button name="LT_RecipientButton1" inherits="LT_PlayerButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_RecipientsList" relativePoint="TopLEFT"><Offset x="2" y="-2"/></Anchor></Anchors></Button>
            <Button name="LT_RecipientButton2" inherits="LT_PlayerButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_RecipientButton1" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_RecipientButton3" inherits="LT_PlayerButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_RecipientButton2" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_RecipientButton4" inherits="LT_PlayerButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_RecipientButton3" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_RecipientButton5" inherits="LT_PlayerButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_RecipientButton4" relativePoint="BottomLEFT"/></Anchors></Button>
            
            
            <Frame name="LT_SourcesLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_RecipientsList" relativePoint="BottomLEFT"><Offset x="-5" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_SourcesLabelText:SetText("Sources");</OnShow>
                </Scripts>
            </Frame>
            
            <ScrollFrame name="LT_SourcesList" inherits="LT_DetailsScrollerTemplate">
                <Size x="165" y="75"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_SourcesLabel"><Offset x="5" y="-5"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.ItemHeight = 13;
                        this.VisibleCount = 5;
                        this.ButtonName = "LT_SourceButton";
                        this.TotalCountHandler = LT_Sources_GetTotal;
                        this.ItemLabelHandler = LT_Sources_GetItemLabel;
                    </OnLoad>
                </Scripts>
            </ScrollFrame>
            
            <Button name="LT_SourceButton1" inherits="LT_KillButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_SourcesList" relativePoint="TopLEFT"><Offset x="2" y="-2"/></Anchor></Anchors></Button>
            <Button name="LT_SourceButton2" inherits="LT_KillButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_SourceButton1" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_SourceButton3" inherits="LT_KillButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_SourceButton2" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_SourceButton4" inherits="LT_KillButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_SourceButton3" relativePoint="BottomLEFT"/></Anchors></Button>
            <Button name="LT_SourceButton5" inherits="LT_KillButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_SourceButton4" relativePoint="BottomLEFT"/></Anchors></Button>
            
            <!--
            <Frame name="LT_TransferLabel" inherits="LT_SubLabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_SourcesList" relativePoint="BottomLEFT"><Offset x="-5" y="-12"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_TransferLabelText:SetText("Transfer");</OnShow>
                </Scripts>
            </Frame>
            
            <Frame name="LT_FromLabel" inherits="LT_LabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_TransferLabel" relativePoint="BottomLEFT"><Offset x="0" y="-2"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_FromLabelText:SetText("From:");</OnShow>
                </Scripts>
            </Frame>
            
            <Frame name="LT_FromDropDown" inherits="SCTDropdownTemplate">
                                <Anchors>
                                        <Anchor point="TopLEFT" relativePoint="TopRIGHT" relativeTo="LT_FromLabel">
                                                <Offset x="10" y="00"/>
                                        </Anchor>
                                </Anchors>
                        </Frame>
            
            <Frame name="LT_ToLabel" inherits="LT_LabelTemplate">
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_FromLabel" relativePoint="BottomLEFT"><Offset x="0" y="-2"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnShow>LT_ToLabelText:SetText("To:");</OnShow>
                </Scripts>
            </Frame>
            
            <Button name="TransferButton" inherits="OptionsButtonTemplate">
                <Size x="190" y="20"/>
                <Anchors>
                    <Anchor point="TopLEFT" relativeTo="LT_ToLabel" relativePoint="BottomLEFT"><Offset x="0" y="-2"/></Anchor>
                </Anchors>
                <Scripts>
                    <OnClick>
                    </OnClick>
                    <OnShow>
                        this:SetText("Transfer item");
                    </OnShow>
                </Scripts>
            </Button>
            -->
        
        </Frames>
    </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.