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/ ..\FrameXML\UI.xsd">
2 <Script file="GEM_external.lua"/>
3  
4 <Frame name="GEMExternalFrame" movable="true" frameStrata="HIGH" hidden="true" parent="UIParent" enableMouse="true">
5 <Size>
6 <AbsDimension x="310" y="275"/>
7 </Size>
8 <Anchors>
9 <Anchor point="TOPLEFT">
10 <Offset>
11 <AbsDimension x="100" y="-104"/>
12 </Offset>
13 </Anchor>
14 </Anchors>
15 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
16 <EdgeSize>
17 <AbsValue val="16"/>
18 </EdgeSize>
19 <TileSize>
20 <AbsValue val="16"/>
21 </TileSize>
22 <BackgroundInsets>
23 <AbsInset left="3" right="5" top="3" bottom="5"/>
24 </BackgroundInsets>
25 </Backdrop>
26 <Layers>
27 <Layer level="BACKGROUND">
28 <FontString name="$parentTitle" inherits="GameFontNormal" text="GEM_TEXT_EXTERNAL_HEADER">
29 <Anchors>
30 <Anchor point="TOP" relativePoint="TOP">
31 <Offset>
32 <AbsDimension x="-5" y="-6"/>
33 </Offset>
34 </Anchor>
35 </Anchors>
36 </FontString>
37 </Layer>
38 </Layers>
39 <Frames>
40 <Frame name="GEMExternalClassBorderFrame" inherits="OptionFrameBoxTemplate">
41 <Size>
42 <AbsDimension x="270" y="210"/>
43 </Size>
44 <Anchors>
45 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
46 <Offset>
47 <AbsDimension x="20" y="-26"/>
48 </Offset>
49 </Anchor>
50 </Anchors>
51 <Layers>
52 <Layer level="BACKGROUND">
53 <FontString name="GEMExternalFrame_NameString" inherits="GameFontHighlightSmall" text="GEM_TEXT_EXTERNAL_NAME">
54 <Anchors>
55 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
56 <Offset>
57 <AbsDimension x="18" y="-20"/>
58 </Offset>
59 </Anchor>
60 </Anchors>
61 </FontString>
62 <FontString name="GEMExternalFrame_GuildString" inherits="GameFontHighlightSmall" text="GEM_TEXT_EXTERNAL_GUILD">
63 <Anchors>
64 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="GEMExternalFrame_NameString">
65 <Offset>
66 <AbsDimension x="0" y="-20"/>
67 </Offset>
68 </Anchor>
69 </Anchors>
70 </FontString>
71 <FontString name="GEMExternalFrame_LevelString" inherits="GameFontHighlightSmall" text="GEM_TEXT_EXTERNAL_LEVEL">
72 <Anchors>
73 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="GEMExternalFrame_GuildString">
74 <Offset>
75 <AbsDimension x="0" y="-20"/>
76 </Offset>
77 </Anchor>
78 </Anchors>
79 </FontString>
80 <FontString name="GEMExternalFrame_ClassString" inherits="GameFontHighlightSmall" text="GEM_TEXT_EXTERNAL_CLASS">
81 <Anchors>
82 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="GEMExternalFrame_LevelString">
83 <Offset>
84 <AbsDimension x="0" y="-20"/>
85 </Offset>
86 </Anchor>
87 </Anchors>
88 </FontString>
89 <FontString name="GEMExternalFrame_CommentString" inherits="GameFontHighlightSmall" text="GEM_TEXT_EXTERNAL_COMMENT">
90 <Anchors>
91 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="GEMExternalFrame_ClassString">
92 <Offset>
93 <AbsDimension x="0" y="-22"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 </FontString>
98 <FontString name="GEMExternalFrame_ForcesubString" inherits="GameFontHighlightSmall" text="GEM_TEXT_EXTERNAL_FORCESUB">
99 <Anchors>
100 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="GEMExternalFrame_CommentString">
101 <Offset>
102 <AbsDimension x="0" y="-20"/>
103 </Offset>
104 </Anchor>
105 </Anchors>
106 </FontString>
107 </Layer>
108 </Layers>
109 <Frames>
110 <Frame name="GEMExternalClassDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true" hidden="false">
111 <Anchors>
112 <Anchor point="TOPLEFT" relativeTo="GEMExternalFrame_ClassString" relativePoint="TOPRIGHT">
113 <Offset>
114 <AbsDimension x="26" y="5"/>
115 </Offset>
116 </Anchor>
117 </Anchors>
118 <Scripts>
119 <OnShow> GEMExternalClassDropDown_OnShow(); </OnShow>
120 <OnLoad> GEMExternalClassDropDown_OnShow(); </OnLoad>
121 </Scripts>
122 </Frame>
123  
124 <EditBox name="GEMExternalFrame_Name" letters="30" numeric="false" inherits="GEMEditBoxTemplate">
125 <Size>
126 <AbsDimension x="120" y="26"/>
127 </Size>
128 <Anchors>
129 <Anchor point="TOPLEFT" relativeTo="GEMExternalFrame_NameString" relativePoint="TOPLEFT">
130 <Offset>
131 <AbsDimension x="85" y="5"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 <Scripts>
136 <OnTabPressed>
137 GEMExternalFrame_Guild:SetFocus();
138 </OnTabPressed>
139 </Scripts>
140 </EditBox>
141 <EditBox name="GEMExternalFrame_Guild" letters="30" numeric="false" inherits="GEMEditBoxTemplate">
142 <Size>
143 <AbsDimension x="150" y="26"/>
144 </Size>
145 <Anchors>
146 <Anchor point="TOPLEFT" relativeTo="GEMExternalFrame_GuildString" relativePoint="TOPLEFT">
147 <Offset>
148 <AbsDimension x="85" y="5"/>
149 </Offset>
150 </Anchor>
151 </Anchors>
152 <Scripts>
153 <OnTabPressed>
154 GEMExternalFrame_Level:SetFocus();
155 </OnTabPressed>
156 </Scripts>
157 </EditBox>
158 <EditBox name="GEMExternalFrame_Level" letters="2" numeric="true" inherits="GEMEditBoxTemplate">
159 <Size>
160 <AbsDimension x="30" y="26"/>
161 </Size>
162 <Anchors>
163 <Anchor point="TOPLEFT" relativeTo="GEMExternalFrame_LevelString" relativePoint="TOPLEFT">
164 <Offset>
165 <AbsDimension x="85" y="5"/>
166 </Offset>
167 </Anchor>
168 </Anchors>
169 <Scripts>
170 <OnTabPressed>
171 if(GEMExternalFrame_Comment:IsVisible()) then
172 GEMExternalFrame_Comment:SetFocus();
173 end
174 </OnTabPressed>
175 </Scripts>
176 </EditBox>
177 <EditBox name="GEMExternalFrame_Comment" letters="100" numeric="false" inherits="GEMEditBoxTemplate">
178 <Size>
179 <AbsDimension x="150" y="26"/>
180 </Size>
181 <Anchors>
182 <Anchor point="TOPLEFT" relativeTo="GEMExternalFrame_CommentString" relativePoint="TOPLEFT">
183 <Offset>
184 <AbsDimension x="85" y="5"/>
185 </Offset>
186 </Anchor>
187 </Anchors>
188 </EditBox>
189 <CheckButton name="GEMExternalFrame_Forcesub" hidden="false" inherits="OptionsCheckButtonTemplate">
190 <Anchors>
191 <Anchor point="TOPLEFT" relativeTo="GEMExternalFrame_ForcesubString" relativePoint="TOPRIGHT">
192 <Offset>
193 <AbsDimension x="10" y="5"/>
194 </Offset>
195 </Anchor>
196 </Anchors>
197 <HitRectInsets>
198 <AbsInset left="0" right="0" top="0" bottom="0"/>
199 </HitRectInsets>
200 <Size>
201 <AbsDimension x="26" y="26"/>
202 </Size>
203 </CheckButton>
204 </Frames>
205 <Scripts>
206 <OnLoad>
207 this:SetBackdropColor(1,1,1,0)
208 </OnLoad>
209 </Scripts>
210 </Frame>
211  
212 <Button name="GEMExternalCloseButton" inherits="UIPanelCloseButton">
213 <Anchors>
214 <Anchor point="TOPRIGHT">
215 <Offset>
216 <AbsDimension x="1" y="2"/>
217 </Offset>
218 </Anchor>
219 </Anchors>
220 </Button>
221  
222 <Button name="$parent_Validate" inherits="UIPanelButtonTemplate" text="GEM_TEXT_EXTERNAL_ADD">
223 <Size>
224 <AbsDimension x="100" y="24"/>
225 </Size>
226 <Anchors>
227 <Anchor point="BOTTOMRIGHT" relativeTo="GEMExternalFrame" relativePoint="BOTTOMRIGHT">
228 <Offset>
229 <AbsDimension x="-15" y="10"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 <Scripts>
234 <OnClick>
235 GEMExternalAdd_OnClick();
236 </OnClick>
237 </Scripts>
238 </Button>
239 <Button name="$parent_Target" inherits="UIPanelButtonTemplate" text="GEM_TEXT_EXTERNAL_TARGET">
240 <Size>
241 <AbsDimension x="130" y="24"/>
242 </Size>
243 <Anchors>
244 <Anchor point="BOTTOMLEFT" relativeTo="GEMExternalFrame" relativePoint="BOTTOMLEFT">
245 <Offset>
246 <AbsDimension x="15" y="10"/>
247 </Offset>
248 </Anchor>
249 </Anchors>
250 <Scripts>
251 <OnClick>
252 GEMExternalTarget_OnClick();
253 </OnClick>
254 </Scripts>
255 </Button>
256  
257 </Frames>
258 <Scripts>
259 <OnMouseUp>
260 if ( this.isMoving ) then
261 this:StopMovingOrSizing();
262 this.isMoving = false;
263 end
264 </OnMouseUp>
265 <OnMouseDown>
266 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
267 this:StartMoving();
268 this.isMoving = true;
269 end
270 </OnMouseDown>
271 <OnHide>
272 if ( this.isMoving ) then
273 this:StopMovingOrSizing();
274 this.isMoving = false;
275 end
276 </OnHide>
277 <OnShow>
278 GEMExternal_OnShow();
279 </OnShow>
280 </Scripts>
281 </Frame>
282 </Ui>