78 lines
2.2 KiB
XML
78 lines
2.2 KiB
XML
<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="VideoOptionsFrame.lua"/>
|
|
|
|
<Frame name="VideoOptionsFrame" inherits="OptionsFrameTemplate">
|
|
<Frames>
|
|
<Button name="$parentApply" inherits="UIPanelButtonTemplate" text="APPLY">
|
|
<Size>
|
|
<AbsDimension x="96" y="22"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-16" y="16"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
self:Disable();
|
|
</OnShow>
|
|
<OnClick>
|
|
PlaySound("igMainMenuOptionCheckBoxOn");
|
|
VideoOptionsFrameOkay_OnClick(self, button, true);
|
|
self:Disable();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="CANCEL">
|
|
<Size>
|
|
<AbsDimension x="96" y="22"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="$parentApply" relativePoint="BOTTOMLEFT"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick function="VideoOptionsFrameCancel_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="VideoOptionsFrameOkay_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");
|
|
VideoOptionsFrameDefault_OnClick(self, button);
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad function="VideoOptionsFrame_OnLoad"/>
|
|
<OnHide function="VideoOptionsFrame_OnHide"/>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui>
|