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