vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by () --> |
2 | <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/ |
||
3 | D:\UI.xsd"> |
||
4 | <Frame name="BEBOptions_MenuEditboxFrameTemplate" virtual="true"> |
||
5 | <Size> |
||
6 | <AbsDimension y="24" x="290"/> |
||
7 | </Size> |
||
8 | <Layers> |
||
9 | <Layer level="ARTWORK"> |
||
10 | <FontString name="$parent_Label" inherits="GameFontNormal"> |
||
11 | <Anchors> |
||
12 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
13 | </Anchor> |
||
14 | </Anchors> |
||
15 | </FontString> |
||
16 | </Layer> |
||
17 | </Layers> |
||
18 | <Frames> |
||
19 | <EditBox name="$parentEditBox" inherits="InputBoxTemplate" autoFocus="false" multiLine="false" numeric="false" letters="240"> |
||
20 | <Anchors> |
||
21 | <Anchor point="TOPLEFT" relativeTo="$parent"> |
||
22 | </Anchor> |
||
23 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent"> |
||
24 | <Offset> |
||
25 | <AbsDimension y="4" x="-10"/> |
||
26 | </Offset> |
||
27 | </Anchor> |
||
28 | </Anchors> |
||
29 | <Scripts> |
||
30 | <OnEditFocusGained> |
||
31 | this.prevvals = this:GetText() |
||
32 | </OnEditFocusGained> |
||
33 | <OnEnterPressed> |
||
34 | BEBOPTIONS.MenuEditBoxChangeText() |
||
35 | this:ClearFocus() |
||
36 | </OnEnterPressed> |
||
37 | <OnEscapePressed> |
||
38 | if (this.prevvals) then |
||
39 | this:SetText(this.prevvals) |
||
40 | end |
||
41 | this:ClearFocus() |
||
42 | </OnEscapePressed> |
||
43 | </Scripts> |
||
44 | </EditBox> |
||
45 | <Button name="$parentButton" inherits="UIPanelButtonTemplate" text="v" frameLevel="7"> |
||
46 | <Size> |
||
47 | <AbsDimension x="20" y="20"/> |
||
48 | </Size> |
||
49 | <Anchors> |
||
50 | <Anchor point="TOPRIGHT"> |
||
51 | </Anchor> |
||
52 | </Anchors> |
||
53 | <Scripts> |
||
54 | <OnLoad> |
||
55 | this.controlboxtype = "editbox" |
||
56 | this.controlbox = this:GetParent():GetName().."EditBox" |
||
57 | </OnLoad> |
||
58 | <OnClick> |
||
59 | BEBOPTIONS.ShowMenu(); |
||
60 | </OnClick> |
||
61 | </Scripts> |
||
62 | </Button> |
||
63 | </Frames> |
||
64 | </Frame> |
||
65 | <Button name="BEB_MenuOptionTemplate" virtual="true"> |
||
66 | <Size> |
||
67 | <AbsDimension x="170" y="15"/> |
||
68 | </Size> |
||
69 | <Scripts> |
||
70 | <OnEnter> |
||
71 | this:GetParent().timer = nil; |
||
72 | </OnEnter> |
||
73 | <OnClick> |
||
74 | BEBOPTIONS.MenuOptionOnClick() |
||
75 | </OnClick> |
||
76 | </Scripts> |
||
77 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-Button-Highlight"> |
||
78 | <TexCoords left="0" right="0.625" top="0.1" bottom="0.6875"/> |
||
79 | </HighlightTexture> |
||
80 | <NormalText name="$parentText" inherits="GameFontNormalSmall"/> |
||
81 | </Button> |
||
82 | <Button name="BEBSelectorTemplate" virtual="true" inherits="UIPanelButtonTemplate"> |
||
83 | <Size> |
||
84 | <AbsDimension y="25" x="100"/> |
||
85 | </Size> |
||
86 | <Scripts> |
||
87 | <OnClick> |
||
88 | BEBOPTIONS.SelectFrame(); |
||
89 | </OnClick> |
||
90 | </Scripts> |
||
91 | </Button> |
||
92 | <Button name="BEBOptionsColorButtonTemplate" virtual="true"> |
||
93 | <Size> |
||
94 | <AbsDimension x="25" y="25"/> |
||
95 | </Size> |
||
96 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border"> |
||
97 | <EdgeSize> |
||
98 | <AbsValue val="16"/> |
||
99 | </EdgeSize> |
||
100 | </Backdrop> |
||
101 | <Layers> |
||
102 | <Layer level="ARTWORK"> |
||
103 | <FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
104 | <Anchors> |
||
105 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
106 | <Offset> |
||
107 | <AbsDimension x="5" y="0"/> |
||
108 | </Offset> |
||
109 | </Anchor> |
||
110 | </Anchors> |
||
111 | </FontString> |
||
112 | </Layer> |
||
113 | </Layers> |
||
114 | <Scripts> |
||
115 | <OnLoad> |
||
116 | getglobal(this:GetName().."Text"):SetWidth(105); |
||
117 | </OnLoad> |
||
118 | <OnClick> |
||
119 | BEBOPTIONS.ColorPicker_OnClick(); |
||
120 | </OnClick> |
||
121 | </Scripts> |
||
122 | <HighlightTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"> |
||
123 | </HighlightTexture> |
||
124 | </Button> |
||
125 | <Button name="BEBNudgeTemplate" virtual="true" inherits="UIPanelButtonTemplate"> |
||
126 | <Size> |
||
127 | <AbsDimension x="24" y="24"/> |
||
128 | </Size> |
||
129 | <Scripts> |
||
130 | <OnLoad> |
||
131 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
132 | </OnLoad> |
||
133 | <OnMouseDown> |
||
134 | if (arg1 == "MiddleButton") then |
||
135 | BEBNudging = this:GetName(); |
||
136 | BEBNudgeTime = 0 |
||
137 | end |
||
138 | </OnMouseDown> |
||
139 | <OnMouseUp> |
||
140 | if (arg1 == "MiddleButton") then |
||
141 | BEBNudging = nil; |
||
142 | BEBNudgeTime = nil |
||
143 | else |
||
144 | BEBOPTIONS.Nudge(arg1); |
||
145 | end |
||
146 | </OnMouseUp> |
||
147 | </Scripts> |
||
148 | </Button> |
||
149 | <Button name="BEBOptions_DMMButtonTemplate" virtual="true"> |
||
150 | <Size> |
||
151 | <AbsDimension x="100" y="24"/> |
||
152 | </Size> |
||
153 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
154 | <EdgeSize> |
||
155 | <AbsValue val="16"/> |
||
156 | </EdgeSize> |
||
157 | <TileSize> |
||
158 | <AbsValue val="16"/> |
||
159 | </TileSize> |
||
160 | <BackgroundInsets> |
||
161 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
162 | </BackgroundInsets> |
||
163 | </Backdrop> |
||
164 | <Layers> |
||
165 | <Layer level="ARTWORK"> |
||
166 | <FontString name="$parent_Label" inherits="GameFontNormalSmall"> |
||
167 | <Anchors> |
||
168 | <Anchor point="BOTTOM" relativePoint="TOP"> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </FontString> |
||
172 | </Layer> |
||
173 | </Layers> |
||
174 | <Scripts> |
||
175 | <OnLoad> |
||
176 | this.controlboxtype = "fontstring" |
||
177 | </OnLoad> |
||
178 | <OnClick> |
||
179 | BEBOPTIONS.ShowMenu(); |
||
180 | </OnClick> |
||
181 | </Scripts> |
||
182 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-Button-Highlight"> |
||
183 | <TexCoords left="0" right="0.625" top="0.1" bottom="0.6875"/> |
||
184 | </HighlightTexture> |
||
185 | <NormalText name="$parentText" inherits="GameFontNormal"/> |
||
186 | </Button> |
||
187 | <Button name="BEBProfileButtonTemplate" virtual="true" inherits="UIPanelButtonTemplate"> |
||
188 | <Size> |
||
189 | <AbsDimension y="24" x="80"/> |
||
190 | </Size> |
||
191 | <Frames> |
||
192 | <Button name="$parentDDMButton" inherits="BEBOptions_DMMButtonTemplate"> |
||
193 | <Anchors> |
||
194 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
195 | <Offset> |
||
196 | <AbsDimension y="0" x="10"/> |
||
197 | </Offset> |
||
198 | </Anchor> |
||
199 | </Anchors> |
||
200 | <Scripts> |
||
201 | <OnLoad> |
||
202 | this.table = "PROFILETABLE" |
||
203 | this.controlboxtype = "fontstring" |
||
204 | this.func = "DDM_SetText" |
||
205 | </OnLoad> |
||
206 | </Scripts> |
||
207 | </Button> |
||
208 | </Frames> |
||
209 | </Button> |
||
210 | <CheckButton name="BEBOptionsCheckButtonTemplate" virtual="true"> |
||
211 | <Size> |
||
212 | <AbsDimension x="32" y="32"/> |
||
213 | </Size> |
||
214 | <Layers> |
||
215 | <Layer level="ARTWORK"> |
||
216 | <FontString name="$parentText" inherits="GameFontNormalSmall" maxLines="2" justifyH="LEFT" justifyV="MIDDLE"> |
||
217 | <Size> |
||
218 | <AbsDimension y="28" x="120"/> |
||
219 | </Size> |
||
220 | <Anchors> |
||
221 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
222 | <Offset> |
||
223 | <AbsDimension x="-2" y="0"/> |
||
224 | </Offset> |
||
225 | </Anchor> |
||
226 | </Anchors> |
||
227 | </FontString> |
||
228 | </Layer> |
||
229 | </Layers> |
||
230 | <HitRectInsets> |
||
231 | <AbsInset left="0" right="-100" top="0" bottom="0"/> |
||
232 | </HitRectInsets> |
||
233 | <Scripts> |
||
234 | <OnClick> |
||
235 | BEBOPTIONS.CheckButton_OnClick() |
||
236 | if ( this:GetChecked() ) then |
||
237 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
238 | else |
||
239 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
240 | end |
||
241 | </OnClick> |
||
242 | </Scripts> |
||
243 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
244 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
245 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
246 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
247 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
248 | </CheckButton> |
||
249 | <Slider name="BEBOptionsSliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true"> |
||
250 | <Size> |
||
251 | <AbsDimension x="128" y="17"/> |
||
252 | </Size> |
||
253 | <HitRectInsets> |
||
254 | <AbsInset left="0" right="0" top="-10" bottom="-10"/> |
||
255 | </HitRectInsets> |
||
256 | <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> |
||
257 | <EdgeSize> |
||
258 | <AbsValue val="8"/> |
||
259 | </EdgeSize> |
||
260 | <TileSize> |
||
261 | <AbsValue val="8"/> |
||
262 | </TileSize> |
||
263 | <BackgroundInsets> |
||
264 | <AbsInset left="3" right="3" top="6" bottom="6"/> |
||
265 | </BackgroundInsets> |
||
266 | </Backdrop> |
||
267 | <Layers> |
||
268 | <Layer level="ARTWORK"> |
||
269 | <FontString name="$parentText" inherits="GameFontNormalSmall"> |
||
270 | <Anchors> |
||
271 | <Anchor point="BOTTOM" relativePoint="TOP"/> |
||
272 | </Anchors> |
||
273 | </FontString> |
||
274 | <FontString name="$parentLow" inherits="GameFontNormalSmall"> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="2" y="3"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | </FontString> |
||
283 | <FontString name="$parentHigh" inherits="GameFontNormalSmall"> |
||
284 | <Anchors> |
||
285 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="-2" y="3"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | </FontString> |
||
292 | </Layer> |
||
293 | </Layers> |
||
294 | <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal"> |
||
295 | <Size> |
||
296 | <AbsDimension x="32" y="32"/> |
||
297 | </Size> |
||
298 | </ThumbTexture> |
||
299 | </Slider> |
||
300 | </Ui> |