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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | |||
3 | <Button name="DART_MainMenuButton" inherits="UIPanelButtonTemplate" virtual="true" hidden="false"> |
||
4 | <Size><AbsDimension x="140" y="22"/></Size> |
||
5 | </Button> |
||
6 | |||
7 | <Button name="DART_MainMenuButton2" inherits="UIPanelButtonTemplate" virtual="true" hidden="false"> |
||
8 | <Size><AbsDimension x="130" y="24"/></Size> |
||
9 | </Button> |
||
10 | |||
11 | <Button name="DART_MenuOptionTemplate" inherits="DiscordLib_MenuOptionTemplate" virtual="true"> |
||
12 | <Scripts> |
||
13 | <OnClick> |
||
14 | DART_Menu_OnClick(); |
||
15 | </OnClick> |
||
16 | </Scripts> |
||
17 | </Button> |
||
18 | |||
19 | <Button name="DART_TabButtonTemplate" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="MEDIUM" virtual="true"> |
||
20 | <Size><AbsDimension x="100" y="25"/></Size> |
||
21 | <Layers> |
||
22 | <Layer level="OVERLAY"> |
||
23 | <Texture name="$parent_Texture1"> |
||
24 | <Size><AbsDimension x="100" y="3"/></Size> |
||
25 | <Anchors> |
||
26 | <Anchor point="TOPLEFT"/> |
||
27 | </Anchors> |
||
28 | <Color r=".5" g="0" b="0"/> |
||
29 | </Texture> |
||
30 | <Texture name="$parent_Texture2"> |
||
31 | <Size><AbsDimension x="3" y="25"/></Size> |
||
32 | <Anchors> |
||
33 | <Anchor point="TOPRIGHT"/> |
||
34 | </Anchors> |
||
35 | <Color r=".5" g="0" b="0"/> |
||
36 | </Texture> |
||
37 | <Texture name="$parent_Texture3"> |
||
38 | <Size><AbsDimension x="100" y="3"/></Size> |
||
39 | <Anchors> |
||
40 | <Anchor point="BOTTOMLEFT"/> |
||
41 | </Anchors> |
||
42 | <Color r=".5" g="0" b="0"/> |
||
43 | </Texture> |
||
44 | <Texture name="$parent_Texture4"> |
||
45 | <Size><AbsDimension x="3" y="25"/></Size> |
||
46 | <Anchors> |
||
47 | <Anchor point="TOPLEFT"/> |
||
48 | </Anchors> |
||
49 | <Color r=".5" g="0" b="0"/> |
||
50 | </Texture> |
||
51 | </Layer> |
||
52 | </Layers> |
||
53 | <!-- 2.0 fix --> |
||
54 | <!--<NormalText name="$parentText" inherits="GameFontNormal"/>--> |
||
55 | <ButtonText name="$parentText"/> |
||
56 | <NormalFont inherits="GameFontNormal"/> |
||
57 | <Scripts> |
||
58 | <OnEnter> |
||
59 | this:SetBackdropColor(1, 1, 0); |
||
60 | this:SetTextColor(1, 0, 0); |
||
61 | </OnEnter> |
||
62 | <OnLeave> |
||
63 | this:SetBackdropColor(0, 0, 0); |
||
64 | this:SetTextColor(1, 1, 0); |
||
65 | </OnLeave> |
||
66 | </Scripts> |
||
67 | </Button> |
||
68 | |||
69 | <Slider name="DART_SliderTemplate" inherits="DiscordLib_SliderTemplate" virtual="true"> |
||
70 | <Frames> |
||
71 | <EditBox name="$parent_Display" inherits="DiscordLib_SliderEditBoxTemplate"> |
||
72 | <Scripts> |
||
73 | <OnEnterPressed> |
||
74 | DART_Slider_UpdateFromEditBox(); |
||
75 | </OnEnterPressed> |
||
76 | </Scripts> |
||
77 | </EditBox> |
||
78 | </Frames> |
||
79 | <Scripts> |
||
80 | <OnValueChanged> |
||
81 | DART_Slider_Update(); |
||
82 | </OnValueChanged> |
||
83 | </Scripts> |
||
84 | </Slider> |
||
85 | |||
86 | <CheckButton name="DART_CheckBoxTemplate" inherits="DiscordLib_CheckBoxTemplate" virtual="true"> |
||
87 | <Scripts> |
||
88 | <OnClick> |
||
89 | DART_CheckButton_OnClick(); |
||
90 | </OnClick> |
||
91 | </Scripts> |
||
92 | </CheckButton> |
||
93 | |||
94 | <Button name="DART_ColorPickerTemplate" inherits="DiscordLib_ColorPickerTemplate" virtual="true"> |
||
95 | <Scripts> |
||
96 | <OnClick> |
||
97 | DART_ColorPicker_OnClick(); |
||
98 | </OnClick> |
||
99 | </Scripts> |
||
100 | </Button> |
||
101 | |||
102 | <EditBox name="DART_EditBoxTemplate" inherits="DiscordLib_EditBoxTemplate" virtual="true"> |
||
103 | <Scripts> |
||
104 | <OnEnterPressed> |
||
105 | DART_EditBox_Update(); |
||
106 | </OnEnterPressed> |
||
107 | </Scripts> |
||
108 | </EditBox> |
||
109 | |||
110 | <Button name="DART_NudgeTemplate" inherits="DART_MainMenuButton" virtual="true"> |
||
111 | <Size><AbsDimension x="24" y="24"/></Size> |
||
112 | <Scripts> |
||
113 | <OnLoad> |
||
114 | this:SetText(DART_NUDGE_TEXT[this:GetID()]); |
||
115 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp"); |
||
116 | </OnLoad> |
||
117 | <OnMouseDown> |
||
118 | if (arg1 == "MiddleButton") then |
||
119 | this.moving = true; |
||
120 | end |
||
121 | </OnMouseDown> |
||
122 | <OnMouseUp> |
||
123 | if (arg1 == "MiddleButton") then |
||
124 | this.moving = nil; |
||
125 | else |
||
126 | DART_Nudge_OnClick(arg1); |
||
127 | end |
||
128 | </OnMouseUp> |
||
129 | <OnUpdate> |
||
130 | DART_Nudge_OnUpdate(arg1); |
||
131 | </OnUpdate> |
||
132 | </Scripts> |
||
133 | </Button> |
||
134 | |||
135 | <Frame name="DART_ConditionButtonTemplate" virtual="true"> |
||
136 | <Size><AbsDimension x="290" y="40"/></Size> |
||
137 | <Frames> |
||
138 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
139 | <Size><AbsDimension x="15" y="20"/></Size> |
||
140 | <Anchors> |
||
141 | <Anchor point="TOPLEFT"/> |
||
142 | </Anchors> |
||
143 | <Scripts> |
||
144 | <OnLoad> |
||
145 | this:SetText("^"); |
||
146 | </OnLoad> |
||
147 | <OnClick> |
||
148 | DART_Condition_MoveUp(); |
||
149 | </OnClick> |
||
150 | </Scripts> |
||
151 | </Button> |
||
152 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
153 | <Size><AbsDimension x="15" y="20"/></Size> |
||
154 | <Anchors> |
||
155 | <Anchor point="BOTTOMLEFT"> |
||
156 | <Offset><AbsDimension x="0" y="2"/></Offset> |
||
157 | </Anchor> |
||
158 | </Anchors> |
||
159 | <Scripts> |
||
160 | <OnLoad> |
||
161 | this:SetText("v"); |
||
162 | </OnLoad> |
||
163 | <OnClick> |
||
164 | DART_Condition_MoveDown(); |
||
165 | </OnClick> |
||
166 | </Scripts> |
||
167 | </Button> |
||
168 | <Button name="$parent_Edit" inherits="UIPanelButtonTemplate" hidden="false"> |
||
169 | <Size><AbsDimension x="30" y="20"/></Size> |
||
170 | <Anchors> |
||
171 | <Anchor point="TOPRIGHT"/> |
||
172 | </Anchors> |
||
173 | <Scripts> |
||
174 | <OnLoad> |
||
175 | getglobal(this:GetName().."Text"):SetFont("Fonts\\ARIALN.TTF", 10); |
||
176 | this:SetText(DART_TEXT.Edit); |
||
177 | </OnLoad> |
||
178 | <OnClick> |
||
179 | DART_Condition_Edit(); |
||
180 | </OnClick> |
||
181 | </Scripts> |
||
182 | </Button> |
||
183 | <Button name="$parent_Delete" inherits="UIPanelButtonTemplate" hidden="false"> |
||
184 | <Size><AbsDimension x="30" y="20"/></Size> |
||
185 | <Anchors> |
||
186 | <Anchor point="BOTTOMRIGHT"> |
||
187 | <Offset><AbsDimension x="0" y="2"/></Offset> |
||
188 | </Anchor> |
||
189 | </Anchors> |
||
190 | <Scripts> |
||
191 | <OnLoad> |
||
192 | getglobal(this:GetName().."Text"):SetFont("Fonts\\ARIALN.TTF", 10); |
||
193 | this:SetText(DART_TEXT.Delete2); |
||
194 | </OnLoad> |
||
195 | <OnClick> |
||
196 | DART_Condition_Delete(); |
||
197 | </OnClick> |
||
198 | </Scripts> |
||
199 | </Button> |
||
200 | </Frames> |
||
201 | <Layers> |
||
202 | <Layer level="OVERLAY"> |
||
203 | <FontString name="$parentIndex" font="Fonts\ARIALN.TTF" justifyH="CENTER" justifyV="CENTER"> |
||
204 | <Size><AbsDimension x="20" y="40"/></Size> |
||
205 | <Color r="1" g="1" b="0"/> |
||
206 | <FontHeight> |
||
207 | <AbsValue val="16"/> |
||
208 | </FontHeight> |
||
209 | <Anchors> |
||
210 | <Anchor point="TOPLEFT"> |
||
211 | <Offset><AbsDimension x="15" y="0"/></Offset> |
||
212 | </Anchor> |
||
213 | </Anchors> |
||
214 | </FontString> |
||
215 | <FontString name="$parentConditionText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER"> |
||
216 | <Size><AbsDimension x="220" y="20"/></Size> |
||
217 | <Color r="0" g="1" b="0"/> |
||
218 | <FontHeight> |
||
219 | <AbsValue val="10"/> |
||
220 | </FontHeight> |
||
221 | <Anchors> |
||
222 | <Anchor point="TOPLEFT"> |
||
223 | <Offset><AbsDimension x="40" y="3"/></Offset> |
||
224 | </Anchor> |
||
225 | </Anchors> |
||
226 | </FontString> |
||
227 | <FontString name="$parentResponseText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER"> |
||
228 | <Size><AbsDimension x="220" y="20"/></Size> |
||
229 | <Color r=".4" g=".4" b="1"/> |
||
230 | <FontHeight> |
||
231 | <AbsValue val="10"/> |
||
232 | </FontHeight> |
||
233 | <Anchors> |
||
234 | <Anchor point="TOPLEFT"> |
||
235 | <Offset><AbsDimension x="40" y="-10"/></Offset> |
||
236 | </Anchor> |
||
237 | </Anchors> |
||
238 | </FontString> |
||
239 | <FontString name="$parentOverrideText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER"> |
||
240 | <Size><AbsDimension x="220" y="20"/></Size> |
||
241 | <Color r=".9" g=".4" b=".9"/> |
||
242 | <FontHeight> |
||
243 | <AbsValue val="10"/> |
||
244 | </FontHeight> |
||
245 | <Anchors> |
||
246 | <Anchor point="TOPLEFT"> |
||
247 | <Offset><AbsDimension x="40" y="-23"/></Offset> |
||
248 | </Anchor> |
||
249 | </Anchors> |
||
250 | </FontString> |
||
251 | <Texture> |
||
252 | <Size><AbsDimension x="270" y="1"/></Size> |
||
253 | <Anchors> |
||
254 | <Anchor point="BOTTOM"/> |
||
255 | </Anchors> |
||
256 | <Color r=".3" g=".3" b=".3"/> |
||
257 | </Texture> |
||
258 | </Layer> |
||
259 | </Layers> |
||
260 | </Frame> |
||
261 | |||
262 | </Ui> |