vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
4  
5 <Script file="LootTrackerKillDetailsUI.lua"/>
6  
7  
8 <Button name="LT_KillButtonTemplate" virtual="true" inherits="LT_DetailsButtonTemplate">
9 <Scripts>
10 <OnClick>
11 LT_OnKillButtonClicked(this);
12 </OnClick>
13 </Scripts>
14 </Button>
15  
16  
17 <Frame name="LT_KillDetailsTemplate" virtual="true" inherits="OptionFrameBoxTemplate">
18 <Size x="210" y="540"/>
19 <Frames>
20  
21 <!-- Close Button -->
22 <Button name="LT_Kill_CloseButton" inherits="UIPanelCloseButton">
23 <Anchors>
24 <Anchor point="TopRIGHT" relativePoint="TopRIGHT" relativeTo="$parent">
25 <Offset x="0" y="0"/>
26 </Anchor>
27 </Anchors>
28 <Scripts>
29 <OnClick>
30 LT_KillDetails:Hide();
31 LT_SettingsFrame:Show();
32 </OnClick>
33 </Scripts>
34 </Button>
35  
36 <Frame name="LT_Kill_Description" inherits="LT_LabelTemplate">
37 <Size x="140" y="52"/>
38 <Anchors>
39 <Anchor point="TopLEFT" relativeTo="$parent" relativePoint="TopLEFT"><Offset x="5" y="-6"/></Anchor>
40 </Anchors>
41 </Frame>
42  
43 <Frame name="LT_Kill_DeathsLabel" inherits="LT_SubLabelTemplate">
44 <Anchors>
45 <Anchor point="TopLEFT" relativeTo="LT_Kill_Description" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
46 </Anchors>
47 <Scripts>
48 <OnShow>LT_Kill_DeathsLabelText:SetText("Deaths");</OnShow>
49 </Scripts>
50 </Frame>
51  
52 <ScrollFrame name="LT_Kill_DeathsList" inherits="LT_DetailsScrollerTemplate">
53 <Size x="165" y="75"/>
54 <Anchors>
55 <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Kill_DeathsLabel"><Offset x="5" y="-5"/></Anchor>
56 </Anchors>
57 <Scripts>
58 <OnLoad>
59 this.ItemHeight = 13;
60 this.VisibleCount = 5;
61 this.ButtonName = "LT_Kill_DeathButton";
62 this.TotalCountHandler = LT_Kill_Deaths_GetTotal;
63 this.ItemLabelHandler = LT_Kill_Deaths_GetItemLabel;
64 </OnLoad>
65 </Scripts>
66 </ScrollFrame>
67  
68 <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>
69 <Button name="LT_Kill_DeathButton2" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton1" relativePoint="BottomLEFT"/></Anchors></Button>
70 <Button name="LT_Kill_DeathButton3" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton2" relativePoint="BottomLEFT"/></Anchors></Button>
71 <Button name="LT_Kill_DeathButton4" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton3" relativePoint="BottomLEFT"/></Anchors></Button>
72 <Button name="LT_Kill_DeathButton5" inherits="LT_DetailsButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DeathButton4" relativePoint="BottomLEFT"/></Anchors></Button>
73  
74 <Button name="LT_Kill_RemoveDeathButton" inherits="OptionsButtonTemplate">
75 <Size x="190" y="20"/>
76 <Anchors>
77 <Anchor point="TopLEFT" relativeTo="LT_Kill_DeathsList" relativePoint="BottomLEFT"><Offset x="-5" y="-6"/></Anchor>
78 </Anchors>
79 <Scripts>
80 <OnClick>
81 LT_Kill_RemoveDeath();
82 </OnClick>
83 <OnShow>
84 this:SetText("Remove death");
85 </OnShow>
86 </Scripts>
87 </Button>
88  
89 <Frame name="LT_Kill_DropsLabel" inherits="LT_SubLabelTemplate">
90 <Anchors>
91 <Anchor point="TopLEFT" relativeTo="LT_Kill_RemoveDeathButton" relativePoint="BottomLEFT"><Offset x="0" y="-12"/></Anchor>
92 </Anchors>
93 <Scripts>
94 <OnShow>LT_Kill_DropsLabelText:SetText("Drops");</OnShow>
95 </Scripts>
96 </Frame>
97  
98 <ScrollFrame name="LT_Kill_DropsList" inherits="LT_DetailsScrollerTemplate">
99 <Size x="165" y="150"/>
100 <Anchors>
101 <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Kill_DropsLabel"><Offset x="5" y="-5"/></Anchor>
102 </Anchors>
103 <Scripts>
104 <OnLoad>
105 this.ItemHeight = 13;
106 this.VisibleCount = 10;
107 this.ButtonName = "LT_Kill_DropButton";
108 this.TotalCountHandler = LT_Kill_Drops_GetTotal;
109 this.ItemLabelHandler = LT_Kill_Drops_GetItemLabel;
110 </OnLoad>
111 </Scripts>
112 </ScrollFrame>
113  
114 <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>
115 <Button name="LT_Kill_DropButton2" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton1" relativePoint="BottomLEFT"/></Anchors></Button>
116 <Button name="LT_Kill_DropButton3" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton2" relativePoint="BottomLEFT"/></Anchors></Button>
117 <Button name="LT_Kill_DropButton4" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton3" relativePoint="BottomLEFT"/></Anchors></Button>
118 <Button name="LT_Kill_DropButton5" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton4" relativePoint="BottomLEFT"/></Anchors></Button>
119 <Button name="LT_Kill_DropButton6" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton5" relativePoint="BottomLEFT"/></Anchors></Button>
120 <Button name="LT_Kill_DropButton7" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton6" relativePoint="BottomLEFT"/></Anchors></Button>
121 <Button name="LT_Kill_DropButton8" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton7" relativePoint="BottomLEFT"/></Anchors></Button>
122 <Button name="LT_Kill_DropButton9" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton8" relativePoint="BottomLEFT"/></Anchors></Button>
123 <Button name="LT_Kill_DropButton10" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Kill_DropButton9" relativePoint="BottomLEFT"/></Anchors></Button>
124  
125 <Frame name="LT_Kill_ValueLabel" inherits="LT_SubLabelTemplate">
126 <Anchors>
127 <Anchor point="TopLEFT" relativeTo="LT_Kill_DropsList" relativePoint="BottomLEFT"><Offset x="-5" y="-12"/></Anchor>
128 </Anchors>
129 <Scripts>
130 <OnShow>LT_Kill_ValueLabelText:SetText("Average Value");</OnShow>
131 </Scripts>
132 </Frame>
133  
134 <Frame name="LT_Kill_Value" inherits="LT_LabelTemplate">
135 <Anchors>
136 <Anchor point="TopLEFT" relativeTo="LT_Kill_ValueLabel" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor>
137 </Anchors>
138 </Frame>
139  
140 </Frames>
141 </Frame>
142  
143 </Ui>