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 ..\FrameXML\UI.xsd">
3 <Script file="Perl_Config_Party_Target.lua"/>
4  
5  
6 <Frame name="Perl_Config_Party_Target_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
7 <Size>
8 <AbsDimension x="600" y="380"/>
9 </Size>
10 <Anchors>
11 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
12 <Offset>
13 <AbsDimension x="0" y="-120"/>
14 </Offset>
15 </Anchor>
16 </Anchors>
17 <Layers>
18 <Layer level="ARTWORK">
19 <Texture name="Perl_Config_Party_Target_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
20 <Size>
21 <AbsDimension x="256" y="64"/>
22 </Size>
23 <Anchors>
24 <Anchor point="TOP">
25 <Offset>
26 <AbsDimension x="0" y="12"/>
27 </Offset>
28 </Anchor>
29 </Anchors>
30 </Texture>
31 <FontString inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_PARTYTARGET">
32 <Anchors>
33 <Anchor point="TOP" relativeTo="Perl_Config_Party_Target_Header">
34 <Offset>
35 <AbsDimension x="0" y="-14"/>
36 </Offset>
37 </Anchor>
38 </Anchors>
39 </FontString>
40  
41 <FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_MISC">
42 <Anchors>
43 <Anchor point="LEFT" relativePoint="TOPLEFT">
44 <Offset>
45 <AbsDimension x="20" y="-30"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 </FontString>
50  
51 <FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_TRANSPARENCY">
52 <Anchors>
53 <Anchor point="LEFT" relativePoint="TOPLEFT">
54 <Offset>
55 <AbsDimension x="350" y="-30"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </FontString>
60  
61 <FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_SCALING">
62 <Anchors>
63 <Anchor point="LEFT" relativePoint="TOPLEFT">
64 <Offset>
65 <AbsDimension x="20" y="-325"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </FontString>
70 </Layer>
71 </Layers>
72  
73 <Frames>
74 <CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
75 <Size>
76 <AbsDimension x="20" y="20"/>
77 </Size>
78 <Anchors>
79 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
80 <Offset>
81 <AbsDimension x="20" y="-20"/>
82 </Offset>
83 </Anchor>
84 </Anchors>
85 <Scripts>
86 <OnLoad>
87 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PARTYTARGET_ENABLE);
88 </OnLoad>
89 <OnClick>
90 Perl_Config_Party_Target_Enabled_Update();
91 </OnClick>
92 </Scripts>
93 </CheckButton>
94  
95 <CheckButton name="$parent_CheckButton7" inherits="UICheckButtonTemplate" id="7">
96 <Size>
97 <AbsDimension x="20" y="20"/>
98 </Size>
99 <Anchors>
100 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
101 <Offset>
102 <AbsDimension x="0" y="-20"/>
103 </Offset>
104 </Anchor>
105 </Anchors>
106 <Scripts>
107 <OnLoad>
108 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_HIDDEN_IN_RAID);
109 </OnLoad>
110 <OnClick>
111 Perl_Config_Party_Target_Hidden_In_Raid_Update();
112 </OnClick>
113 </Scripts>
114 </CheckButton>
115  
116 <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
117 <Size>
118 <AbsDimension x="20" y="20"/>
119 </Size>
120 <Anchors>
121 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton7">
122 <Offset>
123 <AbsDimension x="0" y="-20"/>
124 </Offset>
125 </Anchor>
126 </Anchors>
127 <Scripts>
128 <OnLoad>
129 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_CLASS_COLORED_NAMES);
130 </OnLoad>
131 <OnClick>
132 Perl_Config_Party_Target_Class_Colored_Names_Update();
133 </OnClick>
134 </Scripts>
135 </CheckButton>
136  
137 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
138 <Size>
139 <AbsDimension x="20" y="20"/>
140 </Size>
141 <Anchors>
142 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
143 <Offset>
144 <AbsDimension x="0" y="-20"/>
145 </Offset>
146 </Anchor>
147 </Anchors>
148 <Scripts>
149 <OnLoad>
150 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_HIDE_POWER_BARS);
151 </OnLoad>
152 <OnClick>
153 Perl_Config_Party_Target_Hide_Power_Bars_Update();
154 </OnClick>
155 </Scripts>
156 </CheckButton>
157  
158 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
159 <Size>
160 <AbsDimension x="20" y="20"/>
161 </Size>
162 <Anchors>
163 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton4">
164 <Offset>
165 <AbsDimension x="0" y="-20"/>
166 </Offset>
167 </Anchor>
168 </Anchors>
169 <Scripts>
170 <OnLoad>
171 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_MOBHEALTH);
172 </OnLoad>
173 <OnClick>
174 Perl_Config_Party_Target_MobHealth_Update();
175 </OnClick>
176 </Scripts>
177 </CheckButton>
178  
179 <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
180 <Size>
181 <AbsDimension x="20" y="20"/>
182 </Size>
183 <Anchors>
184 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton3">
185 <Offset>
186 <AbsDimension x="0" y="-20"/>
187 </Offset>
188 </Anchor>
189 </Anchors>
190 <Scripts>
191 <OnLoad>
192 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PARTYTARGET_LOCK);
193 </OnLoad>
194 <OnClick>
195 Perl_Config_Party_Target_Lock_Update();
196 </OnClick>
197 </Scripts>
198 </CheckButton>
199  
200 <Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="PERL_LOCALIZED_CONFIG_RESET_FRAMES">
201 <Size>
202 <AbsDimension x="150" y="22"/>
203 </Size>
204 <Anchors>
205 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
206 <Offset>
207 <AbsDimension x="0" y="-70"/>
208 </Offset>
209 </Anchor>
210 </Anchors>
211 <Scripts>
212 <OnClick>
213 Perl_Party_Target_Allign();
214 </OnClick>
215 </Scripts>
216 </Button>
217  
218 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
219 <Size>
220 <AbsDimension x="200" y="15"/>
221 </Size>
222 <Anchors>
223 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
224 <Offset>
225 <AbsDimension x="20" y="-20"/>
226 </Offset>
227 </Anchor>
228 </Anchors>
229 <Scripts>
230 <OnValueChanged>
231 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
232 Perl_Config_Party_Target_Set_Scale(getglobal(this:GetName()):GetValue());
233 </OnValueChanged>
234 </Scripts>
235 </Slider>
236  
237 <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
238 <Size>
239 <AbsDimension x="20" y="20"/>
240 </Size>
241 <Anchors>
242 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
243 <Offset>
244 <AbsDimension x="20" y="0"/>
245 </Offset>
246 </Anchor>
247 </Anchors>
248 <Scripts>
249 <OnLoad>
250 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_SCALING_SET_CURRENT);
251 </OnLoad>
252 <OnClick>
253 Perl_Config_Party_Target_Set_Scale();
254 </OnClick>
255 </Scripts>
256 </CheckButton>
257  
258 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
259 <Size>
260 <AbsDimension x="200" y="15"/>
261 </Size>
262 <Anchors>
263 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
264 <Offset>
265 <AbsDimension x="20" y="-20"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 <Scripts>
270 <OnValueChanged>
271 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
272 Perl_Config_Party_Target_Set_Transparency(getglobal(this:GetName()):GetValue());
273 </OnValueChanged>
274 </Scripts>
275 </Slider>
276 </Frames>
277  
278 </Frame>
279 </Ui>