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="profiles.lua"/> |
||
6 | |||
7 | <Button name="BongosOptionsProfileButton" virtual="true"> |
||
8 | <Scripts> |
||
9 | <OnClick> |
||
10 | BOptionsProfileButton_OnClick(this); |
||
11 | </OnClick> |
||
12 | <OnMouseWheel> |
||
13 | BOptionsProfilesButton_OnMousewheel(BOptionsPanelProfilesScrollFrame, arg1); |
||
14 | </OnMouseWheel> |
||
15 | </Scripts> |
||
16 | |||
17 | <ButtonText setAllPoints="true"/> |
||
18 | <NormalFont font="GameFontNormal" justifyH="LEFT"/> |
||
19 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
20 | </Button> |
||
21 | |||
22 | <!-- Profiles Panel --> |
||
23 | <Frame name="BongosOptionsProfiles" inherits="BongosOptionsPanel" enableMouse="true" virtual="true"> |
||
24 | <Frames> |
||
25 | <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
26 | <Anchors> |
||
27 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
28 | <Offset x="-48" y="-4"/> |
||
29 | </Anchor> |
||
30 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT"> |
||
31 | <Offset x="-24" y="36"/> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | <Scripts> |
||
35 | <OnVerticalScroll> |
||
36 | FauxScrollFrame_OnVerticalScroll(10, BOptionsProfilesScrollBar_Update); |
||
37 | </OnVerticalScroll> |
||
38 | </Scripts> |
||
39 | </ScrollFrame> |
||
40 | |||
41 | <!--List Items--> |
||
42 | <Button name="$parent1" inherits="BongosOptionsProfileButton" id="1"> |
||
43 | <Anchors> |
||
44 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
45 | <Offset x="5" y="-1"/> |
||
46 | </Anchor> |
||
47 | <Anchor point="BOTTOMRIGHT" relativeTo="$parentScrollFrame" relativePoint="TOPLEFT"> |
||
48 | <Offset x="24" y="-16"/> |
||
49 | </Anchor> |
||
50 | </Anchors> |
||
51 | </Button> |
||
52 | |||
53 | <Button name="$parent2" inherits="BongosOptionsProfileButton" id="2"> |
||
54 | <Anchors> |
||
55 | <Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT"> |
||
56 | <Offset x="0" y="-1"/> |
||
57 | </Anchor> |
||
58 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent1" relativePoint="BOTTOMRIGHT"> |
||
59 | <Offset x="0" y="-19"/> |
||
60 | </Anchor> |
||
61 | </Anchors> |
||
62 | </Button> |
||
63 | |||
64 | <Button name="$parent3" inherits="BongosOptionsProfileButton" id="3"> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT"> |
||
67 | <Offset x="0" y="-1"/> |
||
68 | </Anchor> |
||
69 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent2" relativePoint="BOTTOMRIGHT"> |
||
70 | <Offset x="0" y="-19"/> |
||
71 | </Anchor> |
||
72 | </Anchors> |
||
73 | </Button> |
||
74 | |||
75 | <Button name="$parent4" inherits="BongosOptionsProfileButton" id="4"> |
||
76 | <Anchors> |
||
77 | <Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT"> |
||
78 | <Offset x="0" y="-1"/> |
||
79 | </Anchor> |
||
80 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent3" relativePoint="BOTTOMRIGHT"> |
||
81 | <Offset x="0" y="-19"/> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </Button> |
||
85 | |||
86 | <Button name="$parent5" inherits="BongosOptionsProfileButton" id="5"> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT"> |
||
89 | <Offset x="0" y="-1"/> |
||
90 | </Anchor> |
||
91 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent4" relativePoint="BOTTOMRIGHT"> |
||
92 | <Offset x="0" y="-19"/> |
||
93 | </Anchor> |
||
94 | </Anchors> |
||
95 | </Button> |
||
96 | |||
97 | <Button name="$parent6" inherits="BongosOptionsProfileButton" id="6"> |
||
98 | <Anchors> |
||
99 | <Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT"> |
||
100 | <Offset x="0" y="-1"/> |
||
101 | </Anchor> |
||
102 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent5" relativePoint="BOTTOMRIGHT"> |
||
103 | <Offset x="0" y="-19"/> |
||
104 | </Anchor> |
||
105 | </Anchors> |
||
106 | </Button> |
||
107 | |||
108 | <Button name="$parent7" inherits="BongosOptionsProfileButton" id="7"> |
||
109 | <Anchors> |
||
110 | <Anchor point="TOPLEFT" relativeTo="$parent6" relativePoint="BOTTOMLEFT"> |
||
111 | <Offset x="0" y="-1"/> |
||
112 | </Anchor> |
||
113 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent6" relativePoint="BOTTOMRIGHT"> |
||
114 | <Offset x="0" y="-19"/> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | </Button> |
||
118 | |||
119 | <Button name="$parent8" inherits="BongosOptionsProfileButton" id="8"> |
||
120 | <Anchors> |
||
121 | <Anchor point="TOPLEFT" relativeTo="$parent7" relativePoint="BOTTOMLEFT"> |
||
122 | <Offset x="0" y="-1"/> |
||
123 | </Anchor> |
||
124 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent7" relativePoint="BOTTOMRIGHT"> |
||
125 | <Offset x="0" y="-19"/> |
||
126 | </Anchor> |
||
127 | </Anchors> |
||
128 | </Button> |
||
129 | |||
130 | <Button name="$parent9" inherits="BongosOptionsProfileButton" id="9"> |
||
131 | <Anchors> |
||
132 | <Anchor point="TOPLEFT" relativeTo="$parent8" relativePoint="BOTTOMLEFT"> |
||
133 | <Offset x="0" y="-1"/> |
||
134 | </Anchor> |
||
135 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent8" relativePoint="BOTTOMRIGHT"> |
||
136 | <Offset x="0" y="-19"/> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | </Button> |
||
140 | |||
141 | <Button name="$parent10" inherits="BongosOptionsProfileButton" id="10"> |
||
142 | <Anchors> |
||
143 | <Anchor point="TOPLEFT" relativeTo="$parent9" relativePoint="BOTTOMLEFT"> |
||
144 | <Offset x="0" y="-1"/> |
||
145 | </Anchor> |
||
146 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent9" relativePoint="BOTTOMRIGHT"> |
||
147 | <Offset x="0" y="-19"/> |
||
148 | </Anchor> |
||
149 | </Anchors> |
||
150 | </Button> |
||
151 | |||
152 | <Button name="$parent11" inherits="BongosOptionsProfileButton" id="11"> |
||
153 | <Anchors> |
||
154 | <Anchor point="TOPLEFT" relativeTo="$parent10" relativePoint="BOTTOMLEFT"> |
||
155 | <Offset x="0" y="-1"/> |
||
156 | </Anchor> |
||
157 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent10" relativePoint="BOTTOMRIGHT"> |
||
158 | <Offset x="0" y="-19"/> |
||
159 | </Anchor> |
||
160 | </Anchors> |
||
161 | </Button> |
||
162 | |||
163 | <Button name="$parent12" inherits="BongosOptionsProfileButton" id="12"> |
||
164 | <Anchors> |
||
165 | <Anchor point="TOPLEFT" relativeTo="$parent11" relativePoint="BOTTOMLEFT"> |
||
166 | <Offset x="0" y="-1"/> |
||
167 | </Anchor> |
||
168 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent11" relativePoint="BOTTOMRIGHT"> |
||
169 | <Offset x="0" y="-19"/> |
||
170 | </Anchor> |
||
171 | </Anchors> |
||
172 | </Button> |
||
173 | |||
174 | <Button name="$parentLoad" inherits="UIPanelButtonTemplate" text="Load"> |
||
175 | <Size x="42" y="24"/> |
||
176 | |||
177 | <Anchors> |
||
178 | <Anchor point="BOTTOMLEFT"> |
||
179 | <Offset x="2" y="2"/> |
||
180 | </Anchor> |
||
181 | </Anchors> |
||
182 | |||
183 | <Scripts> |
||
184 | <OnClick> |
||
185 | BOptionsProfiles_LoadProfile(); |
||
186 | </OnClick> |
||
187 | </Scripts> |
||
188 | </Button> |
||
189 | |||
190 | <Button name="$parentSave" inherits="UIPanelButtonTemplate" text="Save"> |
||
191 | <Size x="44" y="24"/> |
||
192 | |||
193 | <Anchors> |
||
194 | <Anchor point="LEFT" relativeTo="$parentLoad" relativePoint="RIGHT"> |
||
195 | <Offset x="2" y="0"/> |
||
196 | </Anchor> |
||
197 | </Anchors> |
||
198 | |||
199 | <Scripts> |
||
200 | <OnClick> |
||
201 | BOptionsProfiles_SaveProfile(); |
||
202 | </OnClick> |
||
203 | </Scripts> |
||
204 | </Button> |
||
205 | |||
206 | <Button name="$parentDelete" inherits="UIPanelButtonTemplate" text="Delete"> |
||
207 | <Size x="52" y="24"/> |
||
208 | |||
209 | <Anchors> |
||
210 | <Anchor point="LEFT" relativeTo="$parentSave" relativePoint="RIGHT"> |
||
211 | <Offset x="2" y="0"/> |
||
212 | </Anchor> |
||
213 | </Anchors> |
||
214 | |||
215 | <Scripts> |
||
216 | <OnClick> |
||
217 | BOptionsProfiles_DeleteProfile(); |
||
218 | </OnClick> |
||
219 | </Scripts> |
||
220 | </Button> |
||
221 | |||
222 | <Button name="$parentSetDefault" inherits="UIPanelButtonTemplate" text="Set Default"> |
||
223 | <Size x="80" y="24"/> |
||
224 | |||
225 | <Anchors> |
||
226 | <Anchor point="LEFT" relativeTo="$parentDelete" relativePoint="RIGHT"> |
||
227 | <Offset x="2" y="0"/> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | |||
231 | <Scripts> |
||
232 | <OnClick> |
||
233 | BOptionsProfiles_SetDefaultProfile(); |
||
234 | </OnClick> |
||
235 | </Scripts> |
||
236 | </Button> |
||
237 | </Frames> |
||
238 | <Scripts> |
||
239 | <OnShow> |
||
240 | BOptionsProfiles_OnShow(); |
||
241 | </OnShow> |
||
242 | </Scripts> |
||
243 | </Frame> |
||
244 | </Ui> |