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 <Frame name="AtlasOptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
4 <Size>
5 <AbsDimension x="300" y="380"/>
6 </Size>
7 <Anchors>
8 <Anchor point="CENTER"/>
9 </Anchors>
10 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
11 <BackgroundInsets>
12 <AbsInset left="11" right="12" top="12" bottom="11"/>
13 </BackgroundInsets>
14 <TileSize>
15 <AbsValue val="32"/>
16 </TileSize>
17 <EdgeSize>
18 <AbsValue val="32"/>
19 </EdgeSize>
20 </Backdrop>
21 <Layers>
22 <Layer level="ARTWORK">
23 <Texture name="AtlasOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
24 <Size>
25 <AbsDimension x="256" y="64"/>
26 </Size>
27 <Anchors>
28 <Anchor point="TOP">
29 <Offset>
30 <AbsDimension x="0" y="12"/>
31 </Offset>
32 </Anchor>
33 </Anchors>
34 </Texture>
35 <FontString inherits="GameFontNormal" text="ATLAS_OPTIONS_TITLE">
36 <Anchors>
37 <Anchor point="TOP" relativeTo="AtlasOptionsFrameHeader">
38 <Offset>
39 <AbsDimension x="0" y="-14"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 </FontString>
44 </Layer>
45 </Layers>
46 <Frames>
47 <CheckButton name="AtlasOptionsFrameToggleButton" inherits="OptionsCheckButtonTemplate">
48 <Anchors>
49 <Anchor point="TOPLEFT">
50 <Offset>
51 <AbsDimension x="40" y="-40"/>
52 </Offset>
53 </Anchor>
54 </Anchors>
55 <Scripts>
56 <OnLoad>
57 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_SHOWBUT);
58 </OnLoad>
59 <OnClick>
60 AtlasButton_Toggle();
61 </OnClick>
62 </Scripts>
63 </CheckButton>
64 <CheckButton name="AtlasOptionsFrameAutoSelect" inherits="OptionsCheckButtonTemplate">
65 <Anchors>
66 <Anchor point="TOPLEFT">
67 <Offset>
68 <AbsDimension x="40" y="-70"/>
69 </Offset>
70 </Anchor>
71 </Anchors>
72 <Scripts>
73 <OnLoad>
74 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_AUTOSEL);
75 </OnLoad>
76 <OnClick>
77 AtlasOptions_AutoSelectToggle();
78 </OnClick>
79 </Scripts>
80 </CheckButton>
81 <CheckButton name="AtlasOptionsFrameReplaceWorldMap" inherits="OptionsCheckButtonTemplate">
82 <Anchors>
83 <Anchor point="TOPLEFT">
84 <Offset>
85 <AbsDimension x="40" y="-100"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 <Scripts>
90 <OnLoad>
91 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_REPMAP);
92 </OnLoad>
93 <OnClick>
94 AtlasOptions_ReplaceWorldMapToggle();
95 </OnClick>
96 </Scripts>
97 </CheckButton>
98 <CheckButton name="AtlasOptionsFrameRightClick" inherits="OptionsCheckButtonTemplate">
99 <Anchors>
100 <Anchor point="TOPLEFT">
101 <Offset>
102 <AbsDimension x="40" y="-130"/>
103 </Offset>
104 </Anchor>
105 </Anchors>
106 <Scripts>
107 <OnLoad>
108 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_RCLICK);
109 </OnLoad>
110 <OnClick>
111 AtlasOptions_RightClickToggle();
112 </OnClick>
113 </Scripts>
114 </CheckButton>
115 <CheckButton name="AtlasOptionsFrameAcronyms" inherits="OptionsCheckButtonTemplate">
116 <Anchors>
117 <Anchor point="TOPLEFT">
118 <Offset>
119 <AbsDimension x="40" y="-160"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 <Scripts>
124 <OnLoad>
125 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_ACRONYMS);
126 </OnLoad>
127 <OnClick>
128 AtlasOptions_AcronymsToggle();
129 </OnClick>
130 </Scripts>
131 </CheckButton>
132 <Slider name="SliderButtonPos" inherits="OptionsSliderTemplate">
133 <Size>
134 <AbsDimension x="220" y="16"/>
135 </Size>
136 <Anchors>
137 <Anchor point="TOP">
138 <Offset>
139 <AbsDimension x="0" y="-220" />
140 </Offset>
141 </Anchor>
142 </Anchors>
143 <Scripts>
144 <OnLoad>
145 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_BUTPOS);
146 getglobal(this:GetName().."High"):SetText();
147 getglobal(this:GetName().."Low"):SetText();
148 SliderButtonPos:SetMinMaxValues(0,360);
149 SliderButtonPos:SetValueStep(1);
150 </OnLoad>
151 <OnValueChanged>
152 AtlasOptions.AtlasButtonPosition = SliderButtonPos:GetValue();
153 AtlasButton_UpdatePosition();
154 </OnValueChanged>
155 </Scripts>
156 </Slider>
157 <Slider name="SliderAlpha" inherits="OptionsSliderTemplate">
158 <Size>
159 <AbsDimension x="220" y="16"/>
160 </Size>
161 <Anchors>
162 <Anchor point="TOP">
163 <Offset>
164 <AbsDimension x="0" y="-260" />
165 </Offset>
166 </Anchor>
167 </Anchors>
168 <Scripts>
169 <OnLoad>
170 getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_TRANS);
171 getglobal(this:GetName().."High"):SetText();
172 getglobal(this:GetName().."Low"):SetText();
173 SliderAlpha:SetMinMaxValues(0.25,1.0);
174 SliderAlpha:SetValueStep(0.01);
175 </OnLoad>
176 <OnValueChanged>
177 AtlasOptions.AtlasAlpha = SliderAlpha:GetValue();
178 Atlas_UpdateAlpha();
179 </OnValueChanged>
180 </Scripts>
181 </Slider>
182 <Button name="AtlasOptionsFrameResetPosition" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_RESETPOS">
183 <Size>
184 <AbsDimension x="165" y="20"/>
185 </Size>
186 <Anchors>
187 <Anchor point="BOTTOM">
188 <Offset>
189 <AbsDimension x="0" y="60"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 <Scripts>
194 <OnClick>
195 AtlasOptions_ResetPosition();
196 </OnClick>
197 </Scripts>
198 </Button>
199 <Button name="AtlasOptionsFrameDone" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_DONE">
200 <Anchors>
201 <Anchor point="BOTTOM">
202 <Offset>
203 <AbsDimension x="0" y="20"/>
204 </Offset>
205 </Anchor>
206 </Anchors>
207 <Scripts>
208 <OnClick>
209 AtlasOptions_Toggle();
210 </OnClick>
211 </Scripts>
212 </Button>
213 </Frames>
214 <Scripts>
215 <OnLoad>
216 AtlasOptions_OnLoad();
217 </OnLoad>
218 </Scripts>
219 </Frame>
220 </Ui>