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="SM_Options.lua"/>
4 <CheckButton name="SMOptionsCheckButtonTemplate" virtual="true">
5 <Size>
6 <AbsDimension x="32" y="32"/>
7 </Size>
8 <Layers>
9 <Layer level="ARTWORK">
10 <FontString name="$parentText" inherits="GameFontBlack">
11 <Anchors>
12 <Anchor point="LEFT" relativePoint="RIGHT">
13 <Offset>
14 <AbsDimension x="-2" y="0"/>
15 </Offset>
16 </Anchor>
17 </Anchors>
18 </FontString>
19 </Layer>
20 </Layers>
21 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
22 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
23 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
24 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
25 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
26 <Scripts>
27 <OnLeave>
28 GameTooltip:Hide();
29 </OnLeave>
30 </Scripts>
31 </CheckButton>
32 <Frame name="SuperMacroOptionsFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true">
33 <Size>
34 <AbsDimension x="384" y="512"/>
35 </Size>
36 <Anchors>
37 <Anchor point="TOPLEFT">
38 <Offset>
39 <AbsDimension x="0" y="-104"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 <HitRectInsets>
44 <AbsInset left="12" right="40" top="12" bottom="71"/>
45 </HitRectInsets>
46 <Layers>
47 <Layer level="BACKGROUND">
48 <Texture file="Interface\MacroFrame\MacroFrame-Icon">
49 <Size>
50 <AbsDimension x="58" y="58"/>
51 </Size>
52 <Anchors>
53 <Anchor point="TOPLEFT">
54 <Offset>
55 <AbsDimension x="10" y="-8"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </Texture>
60 </Layer>
61 <Layer level="ARTWORK">
62 <Texture file="Interface\Spellbook\UI-SpellbookPanel-TopLeft">
63 <Size>
64 <AbsDimension x="256" y="256"/>
65 </Size>
66 <Anchors>
67 <Anchor point="TOPLEFT"/>
68 </Anchors>
69 </Texture>
70 <Texture file="Interface\Spellbook\UI-SpellbookPanel-TopRight">
71 <Size>
72 <AbsDimension x="128" y="256"/>
73 </Size>
74 <Anchors>
75 <Anchor point="TOPRIGHT"/>
76 </Anchors>
77 </Texture>
78 <Texture file="Interface\Spellbook\UI-SpellbookPanel-BotLeft">
79 <Size>
80 <AbsDimension x="256" y="256"/>
81 </Size>
82 <Anchors>
83 <Anchor point="BOTTOMLEFT"/>
84 </Anchors>
85 </Texture>
86 <Texture file="Interface\Spellbook\UI-SpellbookPanel-BotRight">
87 <Size>
88 <AbsDimension x="128" y="256"/>
89 </Size>
90 <Anchors>
91 <Anchor point="BOTTOMRIGHT"/>
92 </Anchors>
93 </Texture>
94 <FontString name="SuperMacroOptionsTitleText" inherits="GameFontNormal" text="SUPERMACRO_OPTIONS_TITLE">
95 <Anchors>
96 <Anchor point="CENTER">
97 <Offset>
98 <AbsDimension x="6" y="230"/>
99 </Offset>
100 </Anchor>
101 </Anchors>
102 </FontString>
103 </Layer>
104 </Layers>
105 <Frames>
106 <Button name="SuperMacroOptionsCloseButton" inherits="UIPanelCloseButton">
107 <Anchors>
108 <Anchor point="CENTER" relativeTo="SuperMacroOptionsFrame" relativePoint="TOPRIGHT">
109 <Offset>
110 <AbsDimension x="-44" y="-25"/>
111 </Offset>
112 </Anchor>
113 </Anchors>
114 </Button>
115 <Button name="SuperMacroOptionsExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
116 <Size>
117 <AbsDimension x="80" y="22"/>
118 </Size>
119 <Anchors>
120 <Anchor point="CENTER" relativeTo="SuperMacroOptionsFrame" relativePoint="TOPRIGHT">
121 <Offset>
122 <AbsDimension x="-80" y="-422"/>
123 </Offset>
124 </Anchor>
125 </Anchors>
126 <Scripts>
127 <OnClick>
128 HideUIPanel(this:GetParent());
129 </OnClick>
130 </Scripts>
131 </Button>
132 <CheckButton name="SuperMacroOptionsFrameCheckButton1" inherits="SMOptionsCheckButtonTemplate">
133 <Anchors>
134 <Anchor point="TOPLEFT">
135 <Offset>
136 <AbsDimension x="50" y="-85"/>
137 </Offset>
138 </Anchor>
139 </Anchors>
140 <Scripts>
141 <OnClick>
142 SM_VARS.hideAction = this:GetChecked() and 1 or 0;
143 HideActionText();
144 </OnClick>
145 </Scripts>
146 </CheckButton>
147 <CheckButton name="SuperMacroOptionsFrameCheckButton2" inherits="SMOptionsCheckButtonTemplate">
148 <Anchors>
149 <Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton1" relativePoint="BOTTOM">
150 <Offset>
151 <AbsDimension x="0" y="-10"/>
152 </Offset>
153 </Anchor>
154 </Anchors>
155 <Scripts>
156 <OnClick>
157 SM_VARS.macroTip1 = this:GetChecked() and 1 or 0;
158 </OnClick>
159 </Scripts>
160 </CheckButton>
161 <CheckButton name="SuperMacroOptionsFrameCheckButton3" inherits="SMOptionsCheckButtonTemplate">
162 <Anchors>
163 <Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton2" relativePoint="BOTTOM">
164 <Offset>
165 <AbsDimension x="0" y="-10"/>
166 </Offset>
167 </Anchor>
168 </Anchors>
169 <Scripts>
170 <OnClick>
171 SM_VARS.macroTip2 = this:GetChecked() and 1 or 0;
172 GameTooltipTextLeft2:SetText('');
173 </OnClick>
174 </Scripts>
175 </CheckButton>
176 <CheckButton name="SuperMacroOptionsFrameCheckButton4" inherits="SMOptionsCheckButtonTemplate">
177 <Anchors>
178 <Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton3" relativePoint="BOTTOM">
179 <Offset>
180 <AbsDimension x="0" y="-10"/>
181 </Offset>
182 </Anchor>
183 </Anchors>
184 <Scripts>
185 <OnClick>
186 SM_VARS.minimap = this:GetChecked() and 1 or 0;
187 ToggleSMMinimap();
188 </OnClick>
189 </Scripts>
190 </CheckButton>
191 <CheckButton name="SuperMacroOptionsFrameCheckButton5" inherits="SMOptionsCheckButtonTemplate">
192 <Anchors>
193 <Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton4" relativePoint="BOTTOM">
194 <Offset>
195 <AbsDimension x="0" y="-10"/>
196 </Offset>
197 </Anchor>
198 </Anchors>
199 <Scripts>
200 <OnClick>
201 SM_VARS.replaceIcon = this:GetChecked() and 1 or 0;
202 </OnClick>
203 </Scripts>
204 </CheckButton>
205 <CheckButton name="SuperMacroOptionsFrameCheckButton6" inherits="SMOptionsCheckButtonTemplate">
206 <Anchors>
207 <Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton5" relativePoint="BOTTOM">
208 <Offset>
209 <AbsDimension x="0" y="-10"/>
210 </Offset>
211 </Anchor>
212 </Anchors>
213 <Scripts>
214 <OnClick>
215 SM_VARS.checkCooldown = this:GetChecked() and 1 or 0;
216 </OnClick>
217 </Scripts>
218 </CheckButton>
219 <Button name="$parentColorSwatch1">
220 <Size>
221 <AbsDimension x="32" y="32"/>
222 </Size>
223 <Anchors>
224 <Anchor point="TOP" relativeTo="SuperMacroOptionsFrameCheckButton6" relativePoint="BOTTOM">
225 <Offset>
226 <AbsDimension x="0" y="-10"/>
227 </Offset>
228 </Anchor>
229 </Anchors>
230 <Layers>
231 <Layer level="BACKGROUND">
232 <Texture name="$parentSwatchBg">
233 <Size>
234 <AbsDimension x="32" y="32"/>
235 </Size>
236 <Anchors>
237 <Anchor point="CENTER">
238 <Offset>
239 <AbsDimension x="0" y="0"/>
240 </Offset>
241 </Anchor>
242 </Anchors>
243 </Texture>
244 </Layer>
245 <Layer level="ARTWORK">
246 <FontString name="$parentText" inherits="GameFontBlack">
247 <Anchors>
248 <Anchor point="LEFT" relativePoint="RIGHT">
249 <Offset>
250 <AbsDimension x="0" y="0"/>
251 </Offset>
252 </Anchor>
253 </Anchors>
254 </FontString>
255 </Layer>
256 <Layer level="ARTWORK">
257 <FontString name="$parentExampleText" inherits="GameFontBlack">
258 <Anchors>
259 <Anchor point="TOPLEFT" relativeTo="$parentText" relativePoint="BOTTOMLEFT">
260 <Offset>
261 <AbsDimension x="0" y="-10"/>
262 </Offset>
263 </Anchor>
264 </Anchors>
265 </FontString>
266 </Layer>
267 </Layers>
268 <Scripts>
269 <OnLoad>
270 SuperMacroOptionsFrameColorSwatch_OnLoad();
271 </OnLoad>
272 <OnClick>
273 CloseMenus();
274 SuperMacroOptions_OpenColorPicker(this);
275 </OnClick>
276 </Scripts>
277 <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
278 </Button>
279 </Frames>
280 <Scripts>
281 <OnShow>
282 SuperMacroOptionsFrame_OnShow();
283 </OnShow>
284 </Scripts>
285 </Frame>
286 </Ui>