vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> |
||
4 | |||
5 | <Include file="panels\global.xml"/> |
||
6 | <Include file="panels\visibility.xml"/> |
||
7 | <Include file="panels\actionBarGlobal.xml"/> |
||
8 | <Include file="panels\paging.xml"/> |
||
9 | <Include file="panels\context.xml"/> |
||
10 | <Include file="panels\profiles.xml"/> |
||
11 | <Include file="panels\scripts.xml"/> |
||
12 | |||
13 | <Script file="menu.lua"/> |
||
14 | |||
15 | <CheckButton name="BOptionsTabButton" virtual="true"> |
||
16 | <Size x="52" y="18"/> |
||
17 | |||
18 | <NormalFont font="GameFontNormalSmall" justifyH="RIGHT"/> |
||
19 | <HighlightFont font="GameFontHighlightSmall" justifyH="RIGHT"/> |
||
20 | </CheckButton> |
||
21 | |||
22 | |||
23 | <Frame name="BOptionsTabbedMenu" virtual="true"> |
||
24 | <Size x="80" y="160"/> |
||
25 | |||
26 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border"> |
||
27 | <BackgroundInsets> |
||
28 | <AbsInset left="4" right="4" top="4" bottom="4"/> |
||
29 | </BackgroundInsets> |
||
30 | <TileSize> |
||
31 | <AbsValue val="16"/> |
||
32 | </TileSize> |
||
33 | <EdgeSize> |
||
34 | <AbsValue val="16"/> |
||
35 | </EdgeSize> |
||
36 | </Backdrop> |
||
37 | |||
38 | <Frames> |
||
39 | <CheckButton name="$parentGlobal" inherits="BOptionsTabButton" text="Global"> |
||
40 | <Anchors> |
||
41 | <Anchor point="TOPRIGHT"> |
||
42 | <Offset x="-8" y="-4"/> |
||
43 | </Anchor> |
||
44 | </Anchors> |
||
45 | |||
46 | <Scripts> |
||
47 | <OnClick> |
||
48 | BOptions_SwitchTab("Global"); |
||
49 | </OnClick> |
||
50 | </Scripts> |
||
51 | </CheckButton> |
||
52 | |||
53 | <CheckButton name="$parentVisibility" inherits="BOptionsTabButton" text="Visibility"> |
||
54 | <Anchors> |
||
55 | <Anchor point="TOP" relativeTo="$parentGlobal" relativePoint="BOTTOM"> |
||
56 | <Offset x="0" y="-4"/> |
||
57 | </Anchor> |
||
58 | </Anchors> |
||
59 | |||
60 | <Scripts> |
||
61 | <OnClick> |
||
62 | BOptions_SwitchTab("Visibility"); |
||
63 | </OnClick> |
||
64 | </Scripts> |
||
65 | </CheckButton> |
||
66 | |||
67 | <CheckButton name="$parentActionBar" inherits="BOptionsTabButton" text="Action Bar"> |
||
68 | <Anchors> |
||
69 | <Anchor point="TOP" relativeTo="$parentVisibility" relativePoint="BOTTOM"> |
||
70 | <Offset x="0" y="-4"/> |
||
71 | </Anchor> |
||
72 | </Anchors> |
||
73 | |||
74 | <Scripts> |
||
75 | <OnClick> |
||
76 | BOptions_SwitchTab("ActionBar"); |
||
77 | </OnClick> |
||
78 | </Scripts> |
||
79 | </CheckButton> |
||
80 | |||
81 | <CheckButton name="$parentPaging" inherits="BOptionsTabButton" text="Paging"> |
||
82 | <Anchors> |
||
83 | <Anchor point="TOP" relativeTo="$parentActionBar" relativePoint="BOTTOM"> |
||
84 | <Offset x="0" y="-4"/> |
||
85 | </Anchor> |
||
86 | </Anchors> |
||
87 | |||
88 | <Scripts> |
||
89 | <OnClick> |
||
90 | BOptions_SwitchTab("Paging"); |
||
91 | </OnClick> |
||
92 | </Scripts> |
||
93 | </CheckButton> |
||
94 | |||
95 | <CheckButton name="$parentContext" inherits="BOptionsTabButton" text="Context"> |
||
96 | <Anchors> |
||
97 | <Anchor point="TOP" relativeTo="$parentPaging" relativePoint="BOTTOM"> |
||
98 | <Offset x="0" y="-4"/> |
||
99 | </Anchor> |
||
100 | </Anchors> |
||
101 | |||
102 | <Scripts> |
||
103 | <OnClick> |
||
104 | BOptions_SwitchTab("Context"); |
||
105 | </OnClick> |
||
106 | </Scripts> |
||
107 | </CheckButton> |
||
108 | |||
109 | <CheckButton name="$parentProfiles" inherits="BOptionsTabButton" text="Profiles"> |
||
110 | <Anchors> |
||
111 | <Anchor point="TOP" relativeTo="$parentContext" relativePoint="BOTTOM"> |
||
112 | <Offset x="0" y="-4"/> |
||
113 | </Anchor> |
||
114 | </Anchors> |
||
115 | |||
116 | <Scripts> |
||
117 | <OnClick> |
||
118 | BOptions_SwitchTab("Profiles"); |
||
119 | </OnClick> |
||
120 | </Scripts> |
||
121 | </CheckButton> |
||
122 | |||
123 | <CheckButton name="$parentScripts" inherits="BOptionsTabButton" text="Scripts"> |
||
124 | <Anchors> |
||
125 | <Anchor point="TOP" relativeTo="$parentProfiles" relativePoint="BOTTOM"> |
||
126 | <Offset x="0" y="-4"/> |
||
127 | </Anchor> |
||
128 | </Anchors> |
||
129 | |||
130 | <Scripts> |
||
131 | <OnClick> |
||
132 | BOptions_SwitchTab("Scripts"); |
||
133 | </OnClick> |
||
134 | </Scripts> |
||
135 | </CheckButton> |
||
136 | </Frames> |
||
137 | </Frame> |
||
138 | |||
139 | |||
140 | <!-- Actual Options Frame --> |
||
141 | <Frame name="BOptions" clampedToScreen="true" enableMouse="true" movable="true" topLevel="true" frameStrata="DIALOG" parent="UIParent"> |
||
142 | <Size x="310" y="300"/> |
||
143 | |||
144 | <Anchors> |
||
145 | <Anchor point="LEFT"/> |
||
146 | </Anchors> |
||
147 | |||
148 | <Frames> |
||
149 | <Frame name="$parentMenu" inherits="BOptionsTabbedMenu"> |
||
150 | <Anchors> |
||
151 | <Anchor point="TOPLEFT"> |
||
152 | <Offset x="0" y="-24"/> |
||
153 | </Anchor> |
||
154 | </Anchors> |
||
155 | </Frame> |
||
156 | |||
157 | <Button name="$parentClose" inherits="UIPanelCloseButton"> |
||
158 | <Anchors> |
||
159 | <Anchor point="TOPRIGHT"/> |
||
160 | </Anchors> |
||
161 | </Button> |
||
162 | |||
163 | |||
164 | <Frame name="$parentPanel"> |
||
165 | <Layers> |
||
166 | <Layer level="ARTWORK"> |
||
167 | <FontString name="$parentTitle" font="GameFontHighlightLarge" text="Bongos Options"> |
||
168 | <Anchors> |
||
169 | <Anchor point="TOP"> |
||
170 | <Offset x="0" y="-6"/> |
||
171 | </Anchor> |
||
172 | </Anchors> |
||
173 | </FontString> |
||
174 | </Layer> |
||
175 | </Layers> |
||
176 | |||
177 | <Backdrop name="$parentBackground" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border"> |
||
178 | <BackgroundInsets> |
||
179 | <AbsInset left="4" right="4" top="4" bottom="4"/> |
||
180 | </BackgroundInsets> |
||
181 | <TileSize> |
||
182 | <AbsValue val="16"/> |
||
183 | </TileSize> |
||
184 | <EdgeSize> |
||
185 | <AbsValue val="16"/> |
||
186 | </EdgeSize> |
||
187 | </Backdrop> |
||
188 | |||
189 | <Anchors> |
||
190 | <Anchor point="TOPLEFT" relativeTo="$parentMenu" relativePoint="TOPRIGHT"> |
||
191 | <Offset x="-6" y="24"/> |
||
192 | </Anchor> |
||
193 | <Anchor point="BOTTOMRIGHT"/> |
||
194 | </Anchors> |
||
195 | |||
196 | <Frames> |
||
197 | <Frame name="$parentGlobal" inherits="BongosOptionsGlobal"/> |
||
198 | <Frame name="$parentVisibility" inherits="BongosOptionsVisibility"/> |
||
199 | <Frame name="$parentActionBar" inherits="BongosOptionsActionBar"/> |
||
200 | <Frame name="$parentPaging" inherits="BongosOptionsPaging"/> |
||
201 | <Frame name="$parentContext" inherits="BongosOptionsContext"/> |
||
202 | <Frame name="$parentProfiles" inherits="BongosOptionsProfiles"/> |
||
203 | <Frame name="$parentScripts" inherits="BongosOptionsScripts"/> |
||
204 | </Frames> |
||
205 | </Frame> |
||
206 | </Frames> |
||
207 | |||
208 | <Scripts> |
||
209 | <OnLoad> |
||
210 | BOptions_OnLoad(); |
||
211 | </OnLoad> |
||
212 | <OnShow> |
||
213 | BOptions_OnShow(); |
||
214 | </OnShow> |
||
215 | <OnMouseDown> |
||
216 | this:StartMoving(); |
||
217 | </OnMouseDown> |
||
218 | <OnMouseUp> |
||
219 | this:StopMovingOrSizing(); |
||
220 | </OnMouseUp> |
||
221 | </Scripts> |
||
222 | </Frame> |
||
223 | </Ui> |