-
Notifications
You must be signed in to change notification settings - Fork 12
/
AudioOptionsFrame.xml
60 lines (58 loc) · 1.73 KB
/
AudioOptionsFrame.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<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/
..\FrameXML\UI.xsd">
<!-- if you change something here you probably want to change the glue version too -->
<Script file="AudioOptionsFrame.lua"/>
<Frame name="AudioOptionsFrame" inherits="OptionsFrameTemplate">
<Frames>
<Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="CANCEL">
<Size>
<AbsDimension x="96" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-16" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="AudioOptionsFrameCancel_OnClick"/>
</Scripts>
</Button>
<Button name="$parentOkay" inherits="UIPanelButtonTemplate" text="OKAY">
<Size>
<AbsDimension x="96" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentCancel" relativePoint="BOTTOMLEFT"/>
</Anchors>
<Scripts>
<OnClick function="AudioOptionsFrameOkay_OnClick"/>
</Scripts>
</Button>
<Button name="$parentDefaults" inherits="UIPanelButtonGrayTemplate" text="DEFAULTS">
<Size>
<AbsDimension x="96" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="16" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOption");
AudioOptionsFrameDefault_OnClick(self, button);
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad function="AudioOptionsFrame_OnLoad"/>
<OnEvent function="AudioOptionsFrame_OnEvent"/>
<OnHide function="AudioOptionsFrame_OnHide"/>
</Scripts>
</Frame>
</Ui>