vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
||
4 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
5 | |||
6 | |||
7 | <Frame name="LazyRogueInterruptExceptionCriteriaEditFrame" toplevel="true" enableMouse="true" |
||
8 | movable="true" parent="UIParent" hidden="true"> |
||
9 | <Size> |
||
10 | <AbsDimension x="500" y="430"/> |
||
11 | </Size> |
||
12 | <Anchors> |
||
13 | <Anchor point="CENTER"/> |
||
14 | </Anchors> |
||
15 | |||
16 | <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" |
||
17 | edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
18 | <EdgeSize> |
||
19 | <AbsValue val="32"/> |
||
20 | </EdgeSize> |
||
21 | <TileSize> |
||
22 | <AbsValue val="32"/> |
||
23 | </TileSize> |
||
24 | <BackgroundInsets> |
||
25 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
26 | </BackgroundInsets> |
||
27 | </Backdrop> |
||
28 | |||
29 | <Layers> |
||
30 | <Layer level="ARTWORK"> |
||
31 | |||
32 | <FontString name="$parentTitle" inherits="GameFontHighlightLarge" justifyH="CENTER" text="Interrupt EXCEPTION Criteria Editor"> |
||
33 | <Size> |
||
34 | <AbsDimension x="400" y="15"/> |
||
35 | </Size> |
||
36 | <Anchors> |
||
37 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
38 | <Offset> |
||
39 | <AbsDimension x="25" y="-20"/> |
||
40 | </Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | </FontString> |
||
44 | |||
45 | <FontString name="$parentFormNameInfo" inherits="GameFontHighlight" justifyH="LEFT" text="If any of the following are true, LR will NOT interrupt the spellcast."> |
||
46 | <Size> |
||
47 | <AbsDimension x="450" y="18"/> |
||
48 | </Size> |
||
49 | <Anchors> |
||
50 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
51 | <Offset> |
||
52 | <AbsDimension x="15" y="-41"/> |
||
53 | </Offset> |
||
54 | </Anchor> |
||
55 | </Anchors> |
||
56 | </FontString> |
||
57 | |||
58 | </Layer> |
||
59 | </Layers> |
||
60 | |||
61 | <Frames> |
||
62 | |||
63 | |||
64 | <ScrollFrame name="LazyRogueInterruptExceptionCriteriaScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
65 | <Size> |
||
66 | <AbsDimension x="450" y="316"/> |
||
67 | </Size> |
||
68 | <Anchors> |
||
69 | <Anchor point="TOPLEFT"> |
||
70 | <Offset> |
||
71 | <AbsDimension x="15" y="-70"/> |
||
72 | </Offset> |
||
73 | </Anchor> |
||
74 | </Anchors> |
||
75 | |||
76 | <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" |
||
77 | edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true" alpha="1.0"> |
||
78 | <EdgeSize> |
||
79 | <AbsValue val="8"/> |
||
80 | </EdgeSize> |
||
81 | <TileSize> |
||
82 | <AbsValue val="8"/> |
||
83 | </TileSize> |
||
84 | <BackgroundInsets> |
||
85 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
86 | </BackgroundInsets> |
||
87 | </Backdrop> |
||
88 | |||
89 | |||
90 | <ScrollChild> |
||
91 | <Frame name="$parentScrollChild"> |
||
92 | <Size> |
||
93 | <AbsDimension x="435" y="305"/> |
||
94 | </Size> |
||
95 | <Anchors> |
||
96 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
97 | <Offset> |
||
98 | <AbsDimension x="5" y="-5"/> |
||
99 | </Offset> |
||
100 | </Anchor> |
||
101 | </Anchors> |
||
102 | <Frames> |
||
103 | |||
104 | |||
105 | <EditBox name="LazyRogueInterruptExceptionCriteriaEditFrameForm" letters="7000" enableMouse="true" autoFocus="true" multiLine="true"> |
||
106 | <Size> |
||
107 | <AbsDimension x="435" y="305"/> |
||
108 | </Size> |
||
109 | <Anchors> |
||
110 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
111 | <Offset> |
||
112 | <AbsDimension x="5" y="-5"/> |
||
113 | </Offset> |
||
114 | </Anchor> |
||
115 | </Anchors> |
||
116 | |||
117 | <Scripts> |
||
118 | <OnEscapePressed> |
||
119 | HideUIPanel(LazyRogueInterruptExceptionCriteriaEditFrame) |
||
120 | HideUIPanel(LazyRogueFormHelp) |
||
121 | </OnEscapePressed> |
||
122 | <OnEnterPressed> |
||
123 | HideUIPanel(LazyRogueInterruptExceptionCriteriaEditFrame) |
||
124 | HideUIPanel(LazyRogueFormHelp) |
||
125 | </OnEnterPressed> |
||
126 | <OnClick> |
||
127 | this:SetFocus() |
||
128 | </OnClick> |
||
129 | <OnShow> |
||
130 | LAZYROGUEHELP_SCROLLBAR_HACK3 = false |
||
131 | </OnShow> |
||
132 | <OnMouseUp> |
||
133 | LAZYROGUEHELP_SCROLLBAR_HACK3 = true |
||
134 | </OnMouseUp> |
||
135 | <OnTextChanged> |
||
136 | ScrollingEdit_OnTextChanged(LazyRogueInterruptExceptionCriteriaScrollFrame) |
||
137 | </OnTextChanged> |
||
138 | <OnCursorChanged> |
||
139 | ScrollingEdit_OnCursorChanged(arg1, arg2-10, arg3, arg4) |
||
140 | </OnCursorChanged> |
||
141 | <OnUpdate> |
||
142 | if (LAZYROGUEHELP_SCROLLBAR_HACK3) then |
||
143 | ScrollingEdit_OnUpdate(LazyRogueInterruptExceptionCriteriaScrollFrame) |
||
144 | end |
||
145 | </OnUpdate> |
||
146 | |||
147 | </Scripts> |
||
148 | <FontString inherits="GameFontHighlight"/> |
||
149 | <Color r=".2" g=".2" b=".2" /> |
||
150 | </EditBox> |
||
151 | |||
152 | </Frames> |
||
153 | </Frame> |
||
154 | </ScrollChild> |
||
155 | <Scripts> |
||
156 | <OnClick> |
||
157 | LazyRogueInterruptExceptionCriteriaEditFrameForm:SetFocus() |
||
158 | </OnClick> |
||
159 | </Scripts> |
||
160 | </ScrollFrame> |
||
161 | |||
162 | |||
163 | <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> |
||
164 | <Anchors> |
||
165 | <Anchor point="TOPRIGHT"> |
||
166 | <Offset> |
||
167 | <AbsDimension x="-5" y="-5"/> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | <Scripts> |
||
172 | <OnClick> |
||
173 | HideUIPanel(LazyRogueInterruptExceptionCriteriaEditFrame) |
||
174 | HideUIPanel(LazyRogueFormHelp) |
||
175 | </OnClick> |
||
176 | </Scripts> |
||
177 | </Button> |
||
178 | |||
179 | <Button name="$parentHelpButton" inherits="GameMenuButtonTemplate" text="Help"> |
||
180 | <Size> |
||
181 | <AbsDimension x="100" y="25"/> |
||
182 | </Size> |
||
183 | <Anchors> |
||
184 | <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> |
||
185 | <Offset> |
||
186 | <AbsDimension x="10" y="10"/> |
||
187 | </Offset> |
||
188 | </Anchor> |
||
189 | </Anchors> |
||
190 | <Scripts> |
||
191 | <OnClick> |
||
192 | if (LazyRogueFormHelp:IsVisible()) then |
||
193 | LazyRogueFormHelp:Hide() |
||
194 | else |
||
195 | LazyRogueFormHelp:Show() |
||
196 | end |
||
197 | </OnClick> |
||
198 | </Scripts> |
||
199 | </Button> |
||
200 | |||
201 | <Button name="$parentCancelButton" inherits="GameMenuButtonTemplate" text="Cancel"> |
||
202 | <Size> |
||
203 | <AbsDimension x="100" y="25"/> |
||
204 | </Size> |
||
205 | <Anchors> |
||
206 | <Anchor point="BOTTOMRIGHT"> |
||
207 | <Offset> |
||
208 | <AbsDimension x="-10" y="10"/> |
||
209 | </Offset> |
||
210 | </Anchor> |
||
211 | </Anchors> |
||
212 | <Scripts> |
||
213 | <OnClick> |
||
214 | lazyr.iceb.cancelEdit = true |
||
215 | HideUIPanel(LazyRogueInterruptExceptionCriteriaEditFrame) |
||
216 | HideUIPanel(LazyRogueFormHelp) |
||
217 | </OnClick> |
||
218 | </Scripts> |
||
219 | </Button> |
||
220 | |||
221 | <Button name="$parentOkayButton" inherits="GameMenuButtonTemplate" text="Okay"> |
||
222 | <Size> |
||
223 | <AbsDimension x="100" y="25"/> |
||
224 | </Size> |
||
225 | <Anchors> |
||
226 | <Anchor point="RIGHT" relativeTo="$parentCancelButton" relativePoint="LEFT"> |
||
227 | <Offset> |
||
228 | <AbsDimension x="0" y="0"/> |
||
229 | </Offset> |
||
230 | </Anchor> |
||
231 | </Anchors> |
||
232 | <Scripts> |
||
233 | <OnClick> |
||
234 | HideUIPanel(LazyRogueInterruptExceptionCriteriaEditFrame) |
||
235 | HideUIPanel(LazyRogueFormHelp) |
||
236 | </OnClick> |
||
237 | </Scripts> |
||
238 | </Button> |
||
239 | |||
240 | </Frames> |
||
241 | |||
242 | <Scripts> |
||
243 | <OnShow> |
||
244 | lazyr.iceb.OnShow() |
||
245 | </OnShow> |
||
246 | <OnHide> |
||
247 | lazyr.iceb.OnHide() |
||
248 | </OnHide> |
||
249 | <OnLoad> |
||
250 | this:RegisterForDrag("LeftButton") |
||
251 | </OnLoad> |
||
252 | <OnDragStart> |
||
253 | this:StartMoving() |
||
254 | </OnDragStart> |
||
255 | <OnDragStop> |
||
256 | this:StopMovingOrSizing() |
||
257 | </OnDragStop> |
||
258 | <OnMouseUp> |
||
259 | this:StopMovingOrSizing() |
||
260 | </OnMouseUp> |
||
261 | </Scripts> |
||
262 | |||
263 | </Frame> |
||
264 | |||
265 | </Ui> |