vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <!--
2 Set Wrangler Options
3 -->
4 <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/
5 ..\FrameXML\UI.xsd">
6 <Script file="localization.lua"/>
7 <Script file="SetWrangler.lua"/>
8 <CheckButton name="SWOptionsCheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
9 <Scripts>
10 <OnClick>
11  
12 </OnClick>
13 </Scripts>
14 </CheckButton>
15 <Frame name="SWOptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
16 <Size>
17 <AbsDimension x="310" y="230"/>
18 </Size>
19 <Anchors>
20 <Anchor point="CENTER"/>
21 </Anchors>
22 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
23 <BackgroundInsets>
24 <AbsInset left="11" right="12" top="12" bottom="11"/>
25 </BackgroundInsets>
26 <TileSize>
27 <AbsValue val="32"/>
28 </TileSize>
29 <EdgeSize>
30 <AbsValue val="32"/>
31 </EdgeSize>
32 </Backdrop>
33 <Layers>
34 <Layer level="ARTWORK">
35 <Texture name="SWOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
36 <Size>
37 <AbsDimension x="400" y="64"/>
38 </Size>
39 <Anchors>
40 <Anchor point="TOP">
41 <Offset>
42 <AbsDimension x="0" y="12"/>
43 </Offset>
44 </Anchor>
45 </Anchors>
46 </Texture>
47 <FontString inherits="GameFontNormal" text="SW_TEXT_OPTIONS_TITLE">
48 <Anchors>
49 <Anchor point="TOP" relativeTo="SWOptionsFrameHeader">
50 <Offset>
51 <AbsDimension x="0" y="-14"/>
52 </Offset>
53 </Anchor>
54 </Anchors>
55 </FontString>
56 </Layer>
57 </Layers>
58 <Frames>
59 <Frame name="SWToggleFrame" enableMouse="true">
60 <Size>
61 <AbsDimension x="280" y="150"/>
62 </Size>
63 <Anchors>
64 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
65 <Offset>
66 <AbsDimension x="15" y="-34"/>
67 </Offset>
68 </Anchor>
69 </Anchors>
70 <Layers>
71 <Layer level="BACKGROUND">
72 <FontString name="SWLocalCacheText" inherits="GameFontNormalSmall" text="SW_TEXT_CACHE">
73 <Anchors>
74 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
75 <Offset>
76 <AbsDimension x="35" y="-15"/>
77 </Offset>
78 </Anchor>
79 </Anchors>
80 </FontString>
81 <FontString name="SWDropDownText" inherits="GameFontNormalSmall" text="SW_TEXT_DROPDOWN">
82 <Anchors>
83 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
84 <Offset>
85 <AbsDimension x="35" y="-40"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 </FontString>
90 <FontString name="SWDisconnectText" inherits="GameFontNormalSmall" text="SW_TEXT_DISCONNECTFREE">
91 <Anchors>
92 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
93 <Offset>
94 <AbsDimension x="35" y="-65"/>
95 </Offset>
96 </Anchor>
97 </Anchors>
98 </FontString>
99 </Layer>
100 </Layers>
101 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
102 <BackgroundInsets>
103 <AbsInset left="4" right="4" top="4" bottom="4"/>
104 </BackgroundInsets>
105 <TileSize>
106 <AbsValue val="32"/>
107 </TileSize>
108 <EdgeSize>
109 <AbsValue val="18"/>
110 </EdgeSize>
111 </Backdrop>
112 <Frames>
113 <CheckButton name="SWOptionsLocalCacheCheckButton" inherits="SWOptionsCheckButtonTemplate" id="1">
114 <Anchors>
115 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
116 <Offset>
117 <AbsDimension x="5" y="-5"/>
118 </Offset>
119 </Anchor>
120 </Anchors>
121 <Scripts>
122 <OnEnter>
123 SetWranglerFunctionButton_OnEnter();
124 </OnEnter>
125 <OnLeave>
126 GameTooltip:Hide();
127 </OnLeave>
128 </Scripts>
129 </CheckButton>
130 <CheckButton name="SWOptionsDropDownCheckButton" inherits="SWOptionsCheckButtonTemplate" id="2">
131 <Anchors>
132 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
133 <Offset>
134 <AbsDimension x="5" y="-30"/>
135 </Offset>
136 </Anchor>
137 </Anchors>
138 <Scripts>
139 <OnEnter>
140 SetWranglerFunctionButton_OnEnter();
141 </OnEnter>
142 <OnLeave>
143 GameTooltip:Hide();
144 </OnLeave>
145 </Scripts>
146 </CheckButton>
147 <CheckButton name="SWOptionsDisconnectFreeCheckButton" inherits="SWOptionsCheckButtonTemplate" id="3">
148 <Anchors>
149 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
150 <Offset>
151 <AbsDimension x="5" y="-55"/>
152 </Offset>
153 </Anchor>
154 </Anchors>
155 <Scripts>
156 <OnEnter>
157 SetWranglerFunctionButton_OnEnter();
158 </OnEnter>
159 <OnLeave>
160 GameTooltip:Hide();
161 </OnLeave>
162 </Scripts>
163 </CheckButton>
164 </Frames>
165 </Frame>
166 <Frame name="SWOptionsPreviewModeDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
167 <Size>
168 <AbsDimension x="100" y="15"/>
169 </Size>
170 <Anchors>
171 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
172 <Offset>
173 <AbsDimension x="85" y="-130"/>
174 </Offset>
175 </Anchor>
176 </Anchors>
177 <Layers>
178 <Layer level="BACKGROUND">
179 <FontString name="SWOptionsPreviewModeDropDownLeftText" inherits="GameFontNormalSmall" text="SW_TEXT_PREVIEWMODE">
180 <Anchors>
181 <Anchor point="RIGHT" relativePoint="LEFT">
182 <Offset>
183 <AbsDimension x="15" y="3"/>
184 </Offset>
185 </Anchor>
186 </Anchors>
187 </FontString>
188 </Layer>
189 </Layers>
190 <Frames>
191 <Button name="SWOptionsMOFakeButton" enableMouse="true">
192 <Size>
193 <AbsDimension x="100" y="15"/>
194 </Size>
195 <Anchors>
196 <Anchor point="RIGHT" relativePoint="LEFT">
197 <Offset>
198 <AbsDimension x="15" y="3"/>
199 </Offset>
200 </Anchor>
201 </Anchors>
202 <Scripts>
203 <OnEnter>
204 SetWranglerFunctionButton_OnEnter();
205 </OnEnter>
206 <OnLeave>
207 GameTooltip:Hide();
208 </OnLeave>
209 </Scripts>
210 </Button>
211 </Frames>
212 </Frame>
213 <Button name="SWOptionsFrameOkay" inherits="OptionsButtonTemplate" text="Okay">
214 <Anchors>
215 <Anchor point="BOTTOM">
216 <Offset>
217 <AbsDimension x="0" y="16"/>
218 </Offset>
219 </Anchor>
220 </Anchors>
221 <Scripts>
222 <OnClick>
223 PlaySound("gsTitleOptionOK");
224 SWOptionsFrame_OnOK();
225 </OnClick>
226 </Scripts>
227 </Button>
228 </Frames>
229 <Scripts>
230 <OnLoad>
231 SWOptionsFrame_OnLoad();
232 </OnLoad>
233 <OnShow>
234 SWOptionsFrame_OnShow();
235 </OnShow>
236 <OnHide>
237 SWOptionsFrame_OnHide();
238 </OnHide>
239 </Scripts>
240 </Frame>
241 </Ui>