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_Player_Buff.lua"/>
4  
5  
6 <Frame name="Perl_Config_Player_Buff_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_Player_Buff_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_PLAYERBUFF">
32 <Anchors>
33 <Anchor point="TOP" relativeTo="Perl_Config_Player_Buff_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_Horizontal_Spacing_Text" inherits="GameFontNormal" text="PERL_LOCALIZED_CONFIG_PLAYERBUFF_HORIZONTAL_SPACING">
52 <Anchors>
53 <Anchor point="LEFT" relativePoint="TOPLEFT">
54 <Offset>
55 <AbsDimension x="20" y="-270"/>
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_CheckButton1" inherits="UICheckButtonTemplate" id="1">
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_PLAYERBUFF_ENABLE);
88 </OnLoad>
89 <OnClick>
90 Perl_Config_Player_Buff_ShowBuffs_Update();
91 </OnClick>
92 </Scripts>
93 </CheckButton>
94  
95 <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
96 <Size>
97 <AbsDimension x="20" y="20"/>
98 </Size>
99 <Anchors>
100 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton1" >
101 <Offset>
102 <AbsDimension x="20" y="-20"/>
103 </Offset>
104 </Anchor>
105 </Anchors>
106 <Scripts>
107 <OnLoad>
108 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PLAYERBUFF_WARNING);
109 </OnLoad>
110 <OnClick>
111 Perl_Config_Player_Buff_Alerts_Update();
112 </OnClick>
113 </Scripts>
114 </CheckButton>
115  
116 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
117 <Size>
118 <AbsDimension x="20" y="20"/>
119 </Size>
120 <Anchors>
121 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton2" >
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_PLAYERBUFF_HIDESECONDS);
130 </OnLoad>
131 <OnClick>
132 Perl_Config_Player_Buff_Hide_Seconds_Update();
133 </OnClick>
134 </Scripts>
135 </CheckButton>
136  
137 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
138 <Size>
139 <AbsDimension x="200" y="15"/>
140 </Size>
141 <Anchors>
142 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
143 <Offset>
144 <AbsDimension x="20" y="-20"/>
145 </Offset>
146 </Anchor>
147 </Anchors>
148 <Scripts>
149 <OnValueChanged>
150 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
151 Perl_Config_Player_Buff_Set_Scale(getglobal(this:GetName()):GetValue());
152 </OnValueChanged>
153 </Scripts>
154 </Slider>
155  
156 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
157 <Size>
158 <AbsDimension x="20" y="20"/>
159 </Size>
160 <Anchors>
161 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
162 <Offset>
163 <AbsDimension x="20" y="0"/>
164 </Offset>
165 </Anchor>
166 </Anchors>
167 <Scripts>
168 <OnLoad>
169 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_SCALING_SET_CURRENT);
170 </OnLoad>
171 <OnClick>
172 Perl_Config_Player_Buff_Set_Scale();
173 </OnClick>
174 </Scripts>
175 </CheckButton>
176  
177 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
178 <Size>
179 <AbsDimension x="200" y="15"/>
180 </Size>
181 <Anchors>
182 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Horizontal_Spacing_Text">
183 <Offset>
184 <AbsDimension x="20" y="-20"/>
185 </Offset>
186 </Anchor>
187 </Anchors>
188 <Scripts>
189 <OnValueChanged>
190 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
191 Perl_Config_Player_Buff_Set_Horizontal_Spacing(getglobal(this:GetName()):GetValue());
192 </OnValueChanged>
193 </Scripts>
194 </Slider>
195 </Frames>
196  
197 </Frame>
198 </Ui>