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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
2 <Script file="AutoDingConfig.lua"/>
3  
4 <Frame name="AutoDingConfigFrame" parent="UIParent" enableMouse="true" movable="true" frameStrata="DIALOG" hidden="true" toplevel="true">
5 <Size>
6 <AbsDimension x="400" y="250"/>
7 </Size>
8 <Anchors>
9 <Anchor point="CENTER"/>
10 </Anchors>
11  
12 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
13 <EdgeSize>
14 <AbsValue val="16"/>
15 </EdgeSize>
16 <TileSize>
17 <AbsValue val="16"/>
18 </TileSize>
19 <BackgroundInsets>
20 <AbsInset left="5" right="5" top="5" bottom="5"/>
21 </BackgroundInsets>
22 </Backdrop>
23  
24 <Layers>
25 <Layer level="BACKGROUND">
26 <FontString name="txtADConfigTitle" inherits="GameTooltipHeaderText">
27 <Anchors>
28 <Anchor point="TOPLEFT">
29 <Offset>
30 <AbsDimension x="10" y="-10"/>
31 </Offset>
32 </Anchor>
33 </Anchors>
34 </FontString>
35 <FontString name="txtADEditHeader" inherits="GameFontNormalSmall">
36 <Anchors>
37 <Anchor point="TOPLEFT">
38 <Offset>
39 <AbsDimension x="10" y="-130"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 </FontString>
44 <FontString name="txtADEditTips" inherits="GameFontNormalSmall">
45 <Anchors>
46 <Anchor point="TOPLEFT">
47 <Offset>
48 <AbsDimension x="10" y="-180"/>
49 </Offset>
50 </Anchor>
51 </Anchors>
52 </FontString>
53 </Layer>
54 </Layers>
55  
56 <Frames>
57 <Button name ="butADChannel" inherits="OptionsButtonTemplate" enableMouse="true">
58 <Anchors>
59 <Anchor point="TOPRIGHT" relativeTo="AutoDingConfigFrame" relativePoint="BOTTOMRIGHT">
60 <Offset>
61 <AbsDimension x="-50" y="135"/>
62 </Offset>
63 </Anchor>
64 </Anchors>
65 <Layers>
66 <Layer level="BACKGROUND">
67 <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Channel currently exporting:">
68 <Anchors>
69 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
70 <Offset>
71 <AbsDimension x="-20" y="0"/>
72 </Offset>
73 </Anchor>
74 </Anchors>
75 </FontString>
76 </Layer>
77 </Layers>
78 <Scripts>
79 <OnEnter>
80 GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT");
81 GameTooltip:SetText("Use /ad channel *name*", nil, nil, nil, nil, 1);
82 GameTooltip:AddLine("to set channel, as", nil, nil, nil, nil, 1);
83 GameTooltip:AddLine("I can't do dropdowns.",nil, nil, nil, nil, 1);
84 GameTooltip:Show();
85 </OnEnter>
86 <OnLeave>
87 GameTooltip:Hide();
88 </OnLeave>
89 </Scripts>
90 </Button>
91 <CheckButton name="cbxADEnable" inherits="OptionsCheckButtonTemplate">
92 <Size>
93 <AbsDimension x="24" y="24"/>
94 </Size>
95 <Anchors>
96 <Anchor point="TOPLEFT">
97 <Offset>
98 <AbsDimension x="24" y="-30"/>
99 </Offset>
100 </Anchor>
101 </Anchors>
102 <Scripts>
103 <OnLoad>
104 getglobal(this:GetName().."Text"):SetText("On/Off?");
105 </OnLoad>
106 <OnClick>
107 UniAutoDing_Command("toggle")
108 </OnClick>
109 </Scripts>
110 </CheckButton>
111  
112 <CheckButton name="cbxADPartyDing" inherits="OptionsCheckButtonTemplate">
113 <Size>
114 <AbsDimension x="24" y="24"/>
115 </Size>
116 <Anchors>
117 <Anchor point="TOPLEFT">
118 <Offset>
119 <AbsDimension x="24" y="-50"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 <Scripts>
124 <OnLoad>
125 getglobal(this:GetName().."Text"):SetText("Always ding to Party if grouped?");
126 </OnLoad>
127 <OnClick>
128 UniAutoDing_Command("party")
129 </OnClick>
130 </Scripts>
131 </CheckButton>
132  
133 <CheckButton name="cbxADScreenshot" inherits="OptionsCheckButtonTemplate">
134 <Size>
135 <AbsDimension x="24" y="24"/>
136 </Size>
137 <Anchors>
138 <Anchor point="TOPLEFT">
139 <Offset>
140 <AbsDimension x="24" y="-70"/>
141 </Offset>
142 </Anchor>
143 </Anchors>
144 <Scripts>
145 <OnLoad>
146 getglobal(this:GetName().."Text"):SetText("Take Delayed Screenshot on Dinging?");
147 </OnLoad>
148 <OnClick>
149 UniAutoDing_Command("screenie")
150 </OnClick>
151 </Scripts>
152 </CheckButton>
153  
154 <Button name="btnADDone" inherits="OptionsButtonTemplate" text="Done">
155 <Anchors>
156 <Anchor point="BOTTOM">
157 <Offset>
158 <AbsDimension x="-50" y="20"/>
159 </Offset>
160 </Anchor>
161 </Anchors>
162 <Scripts>
163 <OnClick>
164 AutoDingConfig_btnUTDone_OnClick()
165 </OnClick>
166 </Scripts>
167 </Button>
168  
169 <Button name="btnADDefault" inherits="OptionsButtonTemplate" text="Default">
170 <Anchors>
171 <Anchor point="TOPLEFT">
172 <Offset>
173 <AbsDimension x="260" y="-50"/>
174 </Offset>
175 </Anchor>
176 </Anchors>
177 <Scripts>
178 <OnClick>
179 UniAutoDing_ResetVars();
180 AutoDingConfig_SetValues();
181 </OnClick>
182 </Scripts>
183 </Button>
184  
185  
186  
187 <EditBox name="AutoDing_EditBox" letters="250" historyLines="0" autoFocus="false" virtual="true">
188 <Size>
189 <AbsDimension x="330" y="20"/>
190 </Size>
191 <Anchors>
192 <Anchor point="TOPLEFT">
193 <Offset>
194 <AbsDimension x="20" y="-150" />
195 </Offset>
196 </Anchor>
197 </Anchors>
198 <Layers>
199 <Layer level="BACKGROUND">
200 <FontString name="$parentLabel" inherits="GameFontNormal" justifyH="RIGHT">
201 <Anchors>
202 <Anchor point="LEFT" relativePoint="RIGHT">
203 <Offset>
204 <AbsDimension x="10" y="0"/>
205 </Offset>
206 </Anchor>
207 </Anchors>
208 </FontString>
209 <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
210 <Size>
211 <AbsDimension x="8" y="20"/>
212 </Size>
213 <Anchors>
214 <Anchor point="TOPLEFT">
215 <Offset>
216 <AbsDimension x="-8" y="0"/>
217 </Offset>
218 </Anchor>
219 </Anchors>
220 <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
221 </Texture>
222 <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
223 <Size>
224 <AbsDimension x="325" y="20"/>
225 </Size>
226 <Anchors>
227 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
228 </Anchors>
229 <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
230 </Texture>
231 <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
232 <Size>
233 <AbsDimension x="8" y="20"/>
234 </Size>
235 <Anchors>
236 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
237 </Anchors>
238 <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
239 </Texture>
240 </Layer>
241 </Layers>
242 <Scripts>
243 <OnTextChanged>
244 AutoDing_UpdateString();
245 </OnTextChanged>
246 <OnEditFocusLost>
247 this:HighlightText(0, 0);
248 </OnEditFocusLost>
249 <OnEnterPressed>
250 this:ClearFocus();
251 </OnEnterPressed>
252 <OnEscapePressed>
253 this:ClearFocus();
254 </OnEscapePressed>
255 </Scripts>
256 <FontString inherits="ChatFontNormal"/>
257 </EditBox>
258 </Frames>
259 <Scripts>
260 <OnLoad>
261 AutoDingConfig_OnLoad();
262 </OnLoad>
263 <OnShow>
264 AutoDingConfig_OnShow();
265 </OnShow>
266 <OnHide>
267 AutoDingConfig_OnHide();
268 </OnHide>
269 <OnMouseDown>
270 AutoDingConfig_OnMouseDown(arg1);
271 </OnMouseDown>
272 <OnMouseUp>
273 AutoDingConfig_OnMouseUp(arg1);
274 </OnMouseUp>
275 </Scripts>
276 </Frame>
277 </Ui>