forked from iamcal/wow-Non-Compos-Mentis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NonComposMentis_Options.xml
41 lines (35 loc) · 1.01 KB
/
NonComposMentis_Options.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
<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/
..\..\Interface\FrameXML\UI.xsd">
<Frame name="NCMOptionsFrame" hidden="true" frameStrata="DIALOG">
<Size x="300" y="410"/>
<Layers>
<Layer level="ARTWORK">
<FontString font="GameFontNormalLarge" text="Non Compos Mentis Options">
<Anchors>
<Anchor point="TOPLEFT" x="16" y="-16" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="$parentCheck1" checked="true" inherits="InterfaceOptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="16" y="-35"/>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."Text"]:SetText("Show frame");
self:SetHitRectInsets(0, -300, 0, 0);
</OnLoad>
<OnClick>
NCM.OptionClick(self, 'hide');
</OnClick>
</Scripts>
</CheckButton>
</Frames>
<Scripts>
</Scripts>
</Frame>
</Ui>