vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | |
2 | <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/ |
||
3 | ..\FrameXML\UI.xsd"> |
||
4 | |||
5 | <Script file="localization.lua" /> |
||
6 | <Script file="NightfallSettings.lua" /> |
||
7 | |||
8 | <Frame name="NightfallSettingsFrame" toplevel="true" movable="true" enableMouse="true" parent="UIParent" hidden="true"> |
||
9 | |||
10 | <Size> |
||
11 | <AbsDimension x="384" y="230" /> |
||
12 | </Size> |
||
13 | <Anchors> |
||
14 | <Anchor point="TOPLEFT"> |
||
15 | <Offset> |
||
16 | <AbsDimension x="0" y="-184"/> |
||
17 | </Offset> |
||
18 | </Anchor> |
||
19 | </Anchors> |
||
20 | |||
21 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
22 | <BackgroundInsets> |
||
23 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
24 | </BackgroundInsets> |
||
25 | <TileSize> |
||
26 | <AbsValue val="32" /> |
||
27 | </TileSize> |
||
28 | <EdgeSize> |
||
29 | <AbsValue val="32" /> |
||
30 | </EdgeSize> |
||
31 | </Backdrop> |
||
32 | |||
33 | <Layers> |
||
34 | <Layer level="ARTWORK"> |
||
35 | <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
36 | <Size> |
||
37 | <AbsDimension x="300" y="64" /> |
||
38 | </Size> |
||
39 | <Anchors> |
||
40 | <Anchor point="TOP"> |
||
41 | <Offset> |
||
42 | <AbsDimension x="0" y="12" /> |
||
43 | </Offset> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </Texture> |
||
47 | <FontString name="$parentLabel1" inherits="GameFontNormal"> |
||
48 | <Anchors> |
||
49 | <Anchor point="TOP" relativeTo="$parentHeader"> |
||
50 | <Offset> |
||
51 | <AbsDimension x="0" y="-14" /> |
||
52 | </Offset> |
||
53 | </Anchor> |
||
54 | </Anchors> |
||
55 | </FontString> |
||
56 | <FontString name="$parentVersion" inherits="GameFontNormal" justifyH="RIGHT"> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="-20" y="-20" /> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | </FontString> |
||
65 | <FontString name="$parentLabel2" inherits="GameFontNormal" justifyH="RIGHT"> |
||
66 | <Anchors> |
||
67 | <Anchor point="RIGHT" relativeTo="$parentVersion" relativePoint="LEFT"> |
||
68 | <Offset> |
||
69 | <AbsDimension x="-4" y="0" /> |
||
70 | </Offset> |
||
71 | </Anchor> |
||
72 | </Anchors> |
||
73 | </FontString> |
||
74 | </Layer> |
||
75 | </Layers> |
||
76 | |||
77 | <Frames> |
||
78 | |||
79 | <CheckButton name="$parentCheckButton1" inherits="OptionsCheckButtonTemplate"> |
||
80 | <Anchors> |
||
81 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
82 | <Offset> |
||
83 | <AbsDimension x="30" y="-40" /> |
||
84 | </Offset> |
||
85 | </Anchor> |
||
86 | </Anchors> |
||
87 | </CheckButton> |
||
88 | |||
89 | <CheckButton name="$parentCheckButton2" inherits="OptionsCheckButtonTemplate"> |
||
90 | <Anchors> |
||
91 | <Anchor point="TOPLEFT" relativeTo="$parentCheckButton1" relativePoint="BOTTOMLEFT"> |
||
92 | <Offset> |
||
93 | <AbsDimension x="30" y="0" /> |
||
94 | </Offset> |
||
95 | </Anchor> |
||
96 | </Anchors> |
||
97 | </CheckButton> |
||
98 | |||
99 | <CheckButton name="$parentCheckButton3" inherits="OptionsCheckButtonTemplate"> |
||
100 | <Anchors> |
||
101 | <Anchor point="TOPLEFT" relativeTo="$parentCheckButton2" relativePoint="BOTTOMLEFT"> |
||
102 | <Offset> |
||
103 | <AbsDimension x="0" y="0" /> |
||
104 | </Offset> |
||
105 | </Anchor> |
||
106 | </Anchors> |
||
107 | </CheckButton> |
||
108 | |||
109 | <CheckButton name="$parentCheckButton4" inherits="OptionsCheckButtonTemplate"> |
||
110 | <Anchors> |
||
111 | <Anchor point="TOPLEFT" relativeTo="$parentCheckButton3" relativePoint="BOTTOMLEFT"> |
||
112 | <Offset> |
||
113 | <AbsDimension x="-30" y="0" /> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | </CheckButton> |
||
118 | |||
119 | <Button name="$parentButton1" inherits="OptionsButtonTemplate"> |
||
120 | <Anchors> |
||
121 | <Anchor point="BOTTOMLEFT"> |
||
122 | <Offset> |
||
123 | <AbsDimension x="16" y="16" /> |
||
124 | </Offset> |
||
125 | </Anchor> |
||
126 | </Anchors> |
||
127 | <Scripts> |
||
128 | <OnClick> |
||
129 | TNE_NightfallSettings_ResetSettings() |
||
130 | </OnClick> |
||
131 | </Scripts> |
||
132 | </Button> |
||
133 | |||
134 | <Button name="$parentButton2" inherits="OptionsButtonTemplate"> |
||
135 | <Anchors> |
||
136 | <Anchor point="BOTTOMRIGHT"> |
||
137 | <Offset> |
||
138 | <AbsDimension x="-16" y="16" /> |
||
139 | </Offset> |
||
140 | </Anchor> |
||
141 | </Anchors> |
||
142 | <Scripts> |
||
143 | <OnClick> |
||
144 | HideUIPanel(this:GetParent()) |
||
145 | </OnClick> |
||
146 | </Scripts> |
||
147 | </Button> |
||
148 | |||
149 | <Button name="$parentButton3" inherits="OptionsButtonTemplate"> |
||
150 | <Anchors> |
||
151 | <Anchor point="RIGHT" relativeTo="$parentButton2" relativePoint="LEFT"> |
||
152 | <Offset> |
||
153 | <AbsDimension x="-12" y="0" /> |
||
154 | </Offset> |
||
155 | </Anchor> |
||
156 | </Anchors> |
||
157 | <Scripts> |
||
158 | <OnClick> |
||
159 | TNE_NightfallSettings_ApplySettings() |
||
160 | HideUIPanel(this:GetParent()) |
||
161 | </OnClick> |
||
162 | </Scripts> |
||
163 | </Button> |
||
164 | |||
165 | </Frames> |
||
166 | |||
167 | <Scripts> |
||
168 | <OnLoad> |
||
169 | TNE_NightfallSettings_OnLoad() |
||
170 | </OnLoad> |
||
171 | <OnShow> |
||
172 | TNE_NightfallSettings_OnShow() |
||
173 | PlaySound("igCharacterInfoOpen") |
||
174 | </OnShow> |
||
175 | <OnHide> |
||
176 | PlaySound("igCharacterInfoClose") |
||
177 | </OnHide> |
||
178 | </Scripts> |
||
179 | |||
180 | </Frame> |
||
181 | |||
182 | </Ui> |