vanilla-wow-addons – Blame information for rev 1
?pathlinks?
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="LootTrackerPlayerDetailsUI.lua"/> |
||
6 | |||
7 | |||
8 | <Button name="LT_PlayerButtonTemplate" virtual="true" inherits="LT_DetailsButtonTemplate"> |
||
9 | <Scripts> |
||
10 | <OnClick> |
||
11 | LT_OnPlayerButtonClicked(this); |
||
12 | </OnClick> |
||
13 | </Scripts> |
||
14 | </Button> |
||
15 | |||
16 | <Frame name="LT_PlayerDetailsTemplate" virtual="true" inherits="OptionFrameBoxTemplate"> |
||
17 | <Size x="210" y="540"/> |
||
18 | <Frames> |
||
19 | |||
20 | <!-- Close Button --> |
||
21 | <Button name="LT_Player_CloseButton" inherits="UIPanelCloseButton"> |
||
22 | <Anchors> |
||
23 | <Anchor point="TopRIGHT" relativePoint="TopRIGHT" relativeTo="$parent"> |
||
24 | <Offset x="0" y="0"/> |
||
25 | </Anchor> |
||
26 | </Anchors> |
||
27 | <Scripts> |
||
28 | <OnClick> |
||
29 | LT_PlayerDetails:Hide(); |
||
30 | LT_SettingsFrame:Show(); |
||
31 | </OnClick> |
||
32 | </Scripts> |
||
33 | </Button> |
||
34 | |||
35 | <Frame name="LT_Player_Description" inherits="LT_LabelTemplate"> |
||
36 | <Size x="140" y="52"/> |
||
37 | <Anchors> |
||
38 | <Anchor point="TopLEFT" relativeTo="$parent" relativePoint="TopLEFT"><Offset x="5" y="-6"/></Anchor> |
||
39 | </Anchors> |
||
40 | </Frame> |
||
41 | |||
42 | <Frame name="LT_Player_GearLabel" inherits="LT_SubLabelTemplate"> |
||
43 | <Anchors> |
||
44 | <Anchor point="TopLEFT" relativeTo="LT_Player_Description" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor> |
||
45 | </Anchors> |
||
46 | <Scripts> |
||
47 | <OnShow>LT_Player_GearLabelText:SetText("Gear");</OnShow> |
||
48 | </Scripts> |
||
49 | </Frame> |
||
50 | |||
51 | <ScrollFrame name="LT_Player_GearList" inherits="LT_DetailsScrollerTemplate"> |
||
52 | <Size x="165" y="75"/> |
||
53 | <Anchors> |
||
54 | <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Player_GearLabel"><Offset x="5" y="-5"/></Anchor> |
||
55 | </Anchors> |
||
56 | <Scripts> |
||
57 | <OnLoad> |
||
58 | this.ItemHeight = 13; |
||
59 | this.VisibleCount = 5; |
||
60 | this.ButtonName = "LT_Player_GearButton"; |
||
61 | this.TotalCountHandler = LT_Player_Gear_GetTotal; |
||
62 | this.ItemLabelHandler = LT_Player_Gear_GetItemLabel; |
||
63 | </OnLoad> |
||
64 | </Scripts> |
||
65 | </ScrollFrame> |
||
66 | |||
67 | <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> |
||
68 | <Button name="LT_Player_GearButton2" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton1" relativePoint="BottomLEFT"/></Anchors></Button> |
||
69 | <Button name="LT_Player_GearButton3" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton2" relativePoint="BottomLEFT"/></Anchors></Button> |
||
70 | <Button name="LT_Player_GearButton4" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton3" relativePoint="BottomLEFT"/></Anchors></Button> |
||
71 | <Button name="LT_Player_GearButton5" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_GearButton4" relativePoint="BottomLEFT"/></Anchors></Button> |
||
72 | |||
73 | <Button name="LT_Player_UpdateButton" inherits="OptionsButtonTemplate"> |
||
74 | <Size x="190" y="20"/> |
||
75 | <Anchors> |
||
76 | <Anchor point="TopLEFT" relativeTo="LT_Player_GearList" relativePoint="BottomLEFT"><Offset x="-5" y="-6"/></Anchor> |
||
77 | </Anchors> |
||
78 | <Scripts> |
||
79 | <OnClick> |
||
80 | LT_Player_Update(); |
||
81 | </OnClick> |
||
82 | <OnShow> |
||
83 | this:SetText("Update"); |
||
84 | </OnShow> |
||
85 | </Scripts> |
||
86 | </Button> |
||
87 | |||
88 | <Frame name="LT_Player_LootLabel" inherits="LT_SubLabelTemplate"> |
||
89 | <Anchors> |
||
90 | <Anchor point="TopLEFT" relativeTo="LT_Player_UpdateButton" relativePoint="BottomLEFT"><Offset x="-0" y="-12"/></Anchor> |
||
91 | </Anchors> |
||
92 | <Scripts> |
||
93 | <OnShow>LT_Player_LootLabelText:SetText("Loot");</OnShow> |
||
94 | </Scripts> |
||
95 | </Frame> |
||
96 | |||
97 | <ScrollFrame name="LT_Player_LootList" inherits="LT_DetailsScrollerTemplate"> |
||
98 | <Size x="165" y="140"/> |
||
99 | <Anchors> |
||
100 | <Anchor point="TopLEFT" relativePoint="BottomLEFT" relativeTo="LT_Player_LootLabel"><Offset x="5" y="-5"/></Anchor> |
||
101 | </Anchors> |
||
102 | <Scripts> |
||
103 | <OnLoad> |
||
104 | this.ItemHeight = 13; |
||
105 | this.VisibleCount = 10; |
||
106 | this.ButtonName = "LT_Player_LootButton"; |
||
107 | this.TotalCountHandler = LT_Player_Loot_GetTotal; |
||
108 | this.ItemLabelHandler = LT_Player_Loot_GetItemLabel; |
||
109 | </OnLoad> |
||
110 | </Scripts> |
||
111 | </ScrollFrame> |
||
112 | |||
113 | <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> |
||
114 | <Button name="LT_Player_LootButton2" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton1" relativePoint="BottomLEFT"/></Anchors></Button> |
||
115 | <Button name="LT_Player_LootButton3" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton2" relativePoint="BottomLEFT"/></Anchors></Button> |
||
116 | <Button name="LT_Player_LootButton4" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton3" relativePoint="BottomLEFT"/></Anchors></Button> |
||
117 | <Button name="LT_Player_LootButton5" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton4" relativePoint="BottomLEFT"/></Anchors></Button> |
||
118 | <Button name="LT_Player_LootButton6" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton5" relativePoint="BottomLEFT"/></Anchors></Button> |
||
119 | <Button name="LT_Player_LootButton7" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton6" relativePoint="BottomLEFT"/></Anchors></Button> |
||
120 | <Button name="LT_Player_LootButton8" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton7" relativePoint="BottomLEFT"/></Anchors></Button> |
||
121 | <Button name="LT_Player_LootButton9" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton8" relativePoint="BottomLEFT"/></Anchors></Button> |
||
122 | <Button name="LT_Player_LootButton10" inherits="LT_ItemButtonTemplate"><Anchors><Anchor point="TopLEFT" relativeTo="LT_Player_LootButton9" relativePoint="BottomLEFT"/></Anchors></Button> |
||
123 | |||
124 | <Frame name="LT_Player_ValueLabel" inherits="LT_SubLabelTemplate"> |
||
125 | <Anchors> |
||
126 | <Anchor point="TopLEFT" relativeTo="LT_Player_LootList" relativePoint="BottomLEFT"><Offset x="-5" y="-12"/></Anchor> |
||
127 | </Anchors> |
||
128 | <Scripts> |
||
129 | <OnShow>LT_Player_ValueLabelText:SetText("Total Value");</OnShow> |
||
130 | </Scripts> |
||
131 | </Frame> |
||
132 | |||
133 | <Frame name="LT_Player_Value" inherits="LT_LabelTemplate"> |
||
134 | <Anchors> |
||
135 | <Anchor point="TopLEFT" relativeTo="LT_Player_ValueLabel" relativePoint="BottomLEFT"><Offset x="0" y="-6"/></Anchor> |
||
136 | </Anchors> |
||
137 | </Frame> |
||
138 | |||
139 | </Frames> |
||
140 | </Frame> |
||
141 | |||
142 | </Ui> |