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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="ParchmentTack.lua" />
4  
5 <Button name="ParchmentChapterTitleButtonTemplate" virtual="true">
6 <Layers>
7 <Layer level="ARTWORK">
8 <FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
9 <Anchors>
10 <Anchor point="TOPLEFT">
11 </Anchor>
12 </Anchors>
13 </FontString>
14 </Layer>
15 </Layers>
16 <Scripts>
17 <OnLoad>
18 ParchmentChapterTitleButton_OnLoad();
19 </OnLoad>
20 <OnClick>
21 ParchmentChapterTitleButton_OnClick(arg1);
22 </OnClick>
23 </Scripts>
24 </Button>
25  
26 <Button name="ParchmentChapterTextButtonTemplate" virtual="true">
27 <Layers>
28 <Layer level="ARTWORK">
29 <FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
30 <Anchors>
31 <Anchor point="TOPLEFT">
32 </Anchor>
33 </Anchors>
34 </FontString>
35 </Layer>
36 </Layers>
37 </Button>
38  
39 <Frame name="Parchment_Tack_Frame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
40 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
41 <EdgeSize>
42 <AbsValue val="16"/>
43 </EdgeSize>
44 <TileSize>
45 <AbsValue val="16"/>
46 </TileSize>
47 <BackgroundInsets>
48 <AbsInset left="4" right="4" top="4" bottom="4"/>
49 </BackgroundInsets>
50 </Backdrop>
51 <Size>
52 <AbsDimension x="300" y="27"/>
53 </Size>
54 <Anchors>
55 <Anchor point="TOP">
56 <Offset>
57 <AbsDimension x="0" y="-100"/>
58 </Offset>
59 </Anchor>
60 </Anchors>
61 <Layers>
62 <Layer level="ARTWORK">
63 <FontString name="Parchment_Tack_Title" inherits="GameFontNormal" text="Tacked Chapters">
64 <Anchors>
65 <Anchor point="TOP" >
66 <Offset>
67 <AbsDimension x="-8" y="-7" />
68 </Offset>
69 </Anchor>
70 </Anchors>
71 </FontString>
72 </Layer>
73 </Layers>
74 <Frames>
75 <Button name="Parchment_Tack_Close" inherits="UIPanelCloseButton">
76 <Size>
77 <AbsDimension x="16" y="16"/>
78 </Size>
79 <Anchors>
80 <Anchor point="TOPRIGHT" relativeTo="Parchment_Tack_Frame" relativePoint="TOPRIGHT">
81 <Offset>
82 <AbsDimension x="-6" y="-6"/>
83 </Offset>
84 </Anchor>
85 </Anchors>
86 <Scripts>
87 <OnClick>
88 Parchment_SlashCommandHandler("hidetack");
89 </OnClick>
90 </Scripts>
91 <NormalTexture file="Interface\AddOns\Parchment\CloseButton-Up"/>
92 <PushedTexture file="Interface\AddOns\Parchment\CloseButton-Down"/>
93 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
94 </Button>
95 <Button name="Parchment_Tack_Min">
96 <Size>
97 <AbsDimension x="16" y="16"/>
98 </Size>
99 <Anchors>
100 <Anchor point="TOPRIGHT" relativeTo="Parchment_Tack_Close" relativePoint="TOPLEFT">
101 <Offset>
102 <AbsDimension x="-2" y="0"/>
103 </Offset>
104 </Anchor>
105 </Anchors>
106 <Scripts>
107 <OnClick>
108 Parchment_Tack_Minimize();
109 </OnClick>
110 </Scripts>
111 <NormalTexture file="Interface\AddOns\Parchment\MinimizeButton-Up"/>
112 <PushedTexture file="Interface\AddOns\Parchment\MinimizeButton-Down"/>
113 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
114 </Button>
115  
116 <Button name="ParchmentChapterTitleButton1" inherits="ParchmentChapterTitleButtonTemplate" id="1">
117 <Anchors>
118 <Anchor point="TOPLEFT" relativeTo="Parchment_Tack_Frame" relativePoint="TOPLEFT">
119 <Offset>
120 <AbsDimension x="10" y="-25"/>
121 </Offset>
122 </Anchor>
123 </Anchors>
124 </Button>
125 <Button name="ParchmentChapterTextButton1" inherits="ParchmentChapterTextButtonTemplate" id="1">
126 <Anchors>
127 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton1" relativePoint="BOTTOMLEFT">
128 <Offset>
129 <AbsDimension x="15" y="0"/>
130 </Offset>
131 </Anchor>
132 </Anchors>
133 </Button>
134  
135 <Button name="ParchmentChapterTitleButton2" inherits="ParchmentChapterTitleButtonTemplate" id="2">
136 <Anchors>
137 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton1" relativePoint="BOTTOMLEFT">
138 <Offset>
139 <AbsDimension x="-15" y="0"/>
140 </Offset>
141 </Anchor>
142 </Anchors>
143 </Button>
144 <Button name="ParchmentChapterTextButton2" inherits="ParchmentChapterTextButtonTemplate" id="2">
145 <Anchors>
146 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton2" relativePoint="BOTTOMLEFT">
147 <Offset>
148 <AbsDimension x="15" y="0"/>
149 </Offset>
150 </Anchor>
151 </Anchors>
152 </Button>
153  
154 <Button name="ParchmentChapterTitleButton3" inherits="ParchmentChapterTitleButtonTemplate" id="3">
155 <Anchors>
156 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton2" relativePoint="BOTTOMLEFT">
157 <Offset>
158 <AbsDimension x="-15" y="0"/>
159 </Offset>
160 </Anchor>
161 </Anchors>
162 </Button>
163 <Button name="ParchmentChapterTextButton3" inherits="ParchmentChapterTextButtonTemplate" id="3">
164 <Anchors>
165 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton3" relativePoint="BOTTOMLEFT">
166 <Offset>
167 <AbsDimension x="15" y="0"/>
168 </Offset>
169 </Anchor>
170 </Anchors>
171 </Button>
172  
173 <Button name="ParchmentChapterTitleButton4" inherits="ParchmentChapterTitleButtonTemplate" id="4">
174 <Anchors>
175 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton3" relativePoint="BOTTOMLEFT">
176 <Offset>
177 <AbsDimension x="-15" y="0"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 </Button>
182 <Button name="ParchmentChapterTextButton4" inherits="ParchmentChapterTextButtonTemplate" id="4">
183 <Anchors>
184 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton4" relativePoint="BOTTOMLEFT">
185 <Offset>
186 <AbsDimension x="15" y="0"/>
187 </Offset>
188 </Anchor>
189 </Anchors>
190 </Button>
191  
192 <Button name="ParchmentChapterTitleButton5" inherits="ParchmentChapterTitleButtonTemplate" id="5">
193 <Anchors>
194 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton4" relativePoint="BOTTOMLEFT">
195 <Offset>
196 <AbsDimension x="-15" y="0"/>
197 </Offset>
198 </Anchor>
199 </Anchors>
200 </Button>
201 <Button name="ParchmentChapterTextButton5" inherits="ParchmentChapterTextButtonTemplate" id="5">
202 <Anchors>
203 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton5" relativePoint="BOTTOMLEFT">
204 <Offset>
205 <AbsDimension x="15" y="0"/>
206 </Offset>
207 </Anchor>
208 </Anchors>
209 </Button>
210  
211 <Button name="ParchmentChapterTitleButton6" inherits="ParchmentChapterTitleButtonTemplate" id="6">
212 <Anchors>
213 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton5" relativePoint="BOTTOMLEFT">
214 <Offset>
215 <AbsDimension x="-15" y="0"/>
216 </Offset>
217 </Anchor>
218 </Anchors>
219 </Button>
220 <Button name="ParchmentChapterTextButton6" inherits="ParchmentChapterTextButtonTemplate" id="6">
221 <Anchors>
222 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton6" relativePoint="BOTTOMLEFT">
223 <Offset>
224 <AbsDimension x="15" y="0"/>
225 </Offset>
226 </Anchor>
227 </Anchors>
228 </Button>
229  
230 <Button name="ParchmentChapterTitleButton7" inherits="ParchmentChapterTitleButtonTemplate" id="7">
231 <Anchors>
232 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton6" relativePoint="BOTTOMLEFT">
233 <Offset>
234 <AbsDimension x="-15" y="0"/>
235 </Offset>
236 </Anchor>
237 </Anchors>
238 </Button>
239 <Button name="ParchmentChapterTextButton7" inherits="ParchmentChapterTextButtonTemplate" id="7">
240 <Anchors>
241 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton7" relativePoint="BOTTOMLEFT">
242 <Offset>
243 <AbsDimension x="15" y="0"/>
244 </Offset>
245 </Anchor>
246 </Anchors>
247 </Button>
248  
249 <Button name="ParchmentChapterTitleButton8" inherits="ParchmentChapterTitleButtonTemplate" id="8">
250 <Anchors>
251 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton7" relativePoint="BOTTOMLEFT">
252 <Offset>
253 <AbsDimension x="-15" y="0"/>
254 </Offset>
255 </Anchor>
256 </Anchors>
257 </Button>
258 <Button name="ParchmentChapterTextButton8" inherits="ParchmentChapterTextButtonTemplate" id="8">
259 <Anchors>
260 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton8" relativePoint="BOTTOMLEFT">
261 <Offset>
262 <AbsDimension x="15" y="0"/>
263 </Offset>
264 </Anchor>
265 </Anchors>
266 </Button>
267  
268 <Button name="ParchmentChapterTitleButton9" inherits="ParchmentChapterTitleButtonTemplate" id="9">
269 <Anchors>
270 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton8" relativePoint="BOTTOMLEFT">
271 <Offset>
272 <AbsDimension x="-15" y="0"/>
273 </Offset>
274 </Anchor>
275 </Anchors>
276 </Button>
277 <Button name="ParchmentChapterTextButton9" inherits="ParchmentChapterTextButtonTemplate" id="9">
278 <Anchors>
279 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton9" relativePoint="BOTTOMLEFT">
280 <Offset>
281 <AbsDimension x="15" y="0"/>
282 </Offset>
283 </Anchor>
284 </Anchors>
285 </Button>
286  
287 <Button name="ParchmentChapterTitleButton10" inherits="ParchmentChapterTitleButtonTemplate" id="10">
288 <Anchors>
289 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton9" relativePoint="BOTTOMLEFT">
290 <Offset>
291 <AbsDimension x="-15" y="0"/>
292 </Offset>
293 </Anchor>
294 </Anchors>
295 </Button>
296 <Button name="ParchmentChapterTextButton10" inherits="ParchmentChapterTextButtonTemplate" id="10">
297 <Anchors>
298 <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton10" relativePoint="BOTTOMLEFT">
299 <Offset>
300 <AbsDimension x="15" y="0"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </Button>
305  
306 </Frames>
307  
308 <Scripts>
309 <OnDragStart>
310 ParchmentTack_OnDragStart();
311 </OnDragStart>
312 <OnDragStop>
313 ParchmentTack_OnDragStop();
314 </OnDragStop>
315 <OnMouseUp>
316 ParchmentTack_OnDragStop();
317 </OnMouseUp>
318 <OnLoad>
319 Parchment_Tack_OnLoad();
320 </OnLoad>
321 </Scripts>
322 </Frame>
323 </Ui>