vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<!-- Options Pane Definition -->

<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/"> 
        
        <!-- LOAD OPTION FRAME (HIDDEN) -->
        <Frame name="SCTDOptions" inherits="OptionFrameBoxTemplate" hidden="true" frameStrata="MEDIUM" movable="false" enableMouse="true" parent="UIParent">
                <TitleRegion>
                  <Size>
                                <AbsDimension x="150" y="40" />
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="0" y="20" />
                                        </Offset>
                                </Anchor>
                        </Anchors>
          </TitleRegion>
                <Size>
                        <AbsDimension x="440" y="440"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER" />
                </Anchors>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture name="BG1">
                                        <Size>
                                                <AbsDimension x="436" y="436"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                  <AbsDimension x="2" y="-2" />
                                </Offset>
                              </Anchor>
                                        </Anchors>
                                        <Color r="0" g="0" b="0" a="1"/>
                                </Texture>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                this:SetBackdropColor(0, 0, 0, 1);
                        </OnLoad>
                </Scripts>
                <Frames>
                
                        <Frame name="SCTDOptions_FrameTitle">
                                <Size>
                                        <AbsDimension x="140" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-10"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>                      
                                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="12"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer>
            <FontString name="SCTOptionsFrame_Misc101" inherits="GameFontHighlight">
                <Anchors>
                    <Anchor point="CENTER">
                        <Offset>
                            <AbsDimension x="0" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton101" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="SCTDOptions" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="-10" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <Frame name="SCTOptions_SCTDEventsFrameTitle">
                                <Size>
                                        <AbsDimension x="140" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="SCTDOptions" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="35" y="-37 " />
                                                </Offset>
                                        </Anchor>
                                </Anchors>              
                                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="12"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer>
            <FontString name="SCTOptionsFrame_Misc104" inherits="GameFontHighlight">
                <Anchors>
                    <Anchor point="CENTER">
                        <Offset>
                            <AbsDimension x="0" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame101" inherits="SCTEventOptionTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="SCTDOptions" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="-67 " />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                SCTOptionsFrame101_RadioFrame1Button:Hide();
                                                SCTOptionsFrame101_RadioFrame2Button:Hide();
                                                SCTOptionsFrame101_RadioMsgButton:Hide();
                                                SCTOptionsFrame101_CritCheckButton:Hide();
                                                SCTOptionsFrame101_CheckButton:SetPoint("LEFT", "SCTOptionsFrame101_ColorSwatch", "RIGHT", 0,0);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame102" inherits="SCTEventOptionTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame101" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-27" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                SCTOptionsFrame102_RadioFrame1Button:Hide();
                                                SCTOptionsFrame102_RadioFrame2Button:Hide();
                                                SCTOptionsFrame102_RadioMsgButton:Hide();
                                                SCTOptionsFrame102_CritCheckButton:Hide();
                                                SCTOptionsFrame102_CheckButton:SetPoint("LEFT", "SCTOptionsFrame102_ColorSwatch", "RIGHT", 0,0);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame103" inherits="SCTEventOptionTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame102" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-27" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                SCTOptionsFrame103_RadioFrame1Button:Hide();
                                                SCTOptionsFrame103_RadioFrame2Button:Hide();
                                                SCTOptionsFrame103_RadioMsgButton:Hide();
                                                SCTOptionsFrame103_CritCheckButton:Hide();
                                                SCTOptionsFrame103_CheckButton:SetPoint("LEFT", "SCTOptionsFrame103_ColorSwatch", "RIGHT", 0,0);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame104" inherits="SCTEventOptionTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame103" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-27" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                SCTOptionsFrame104_RadioFrame1Button:Hide();
                                                SCTOptionsFrame104_RadioFrame2Button:Hide();
                                                SCTOptionsFrame104_RadioMsgButton:Hide();
                                                SCTOptionsFrame104_CritCheckButton:Hide();
                                                SCTOptionsFrame104_CheckButton:SetPoint("LEFT", "SCTOptionsFrame104_ColorSwatch", "RIGHT", 0,0);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame105" inherits="SCTEventOptionTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame104" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-27" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                SCTOptionsFrame105_RadioFrame1Button:Hide();
                                                SCTOptionsFrame105_RadioFrame2Button:Hide();
                                                SCTOptionsFrame105_RadioMsgButton:Hide();
                                                SCTOptionsFrame105_CritCheckButton:Hide();
                                                SCTOptionsFrame105_CheckButton:SetPoint("LEFT", "SCTOptionsFrame105_ColorSwatch", "RIGHT", 0,0);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <Frame name="SCTOptions_SCTDDisplayFrameTitle">
                                <Size>
                                        <AbsDimension x="140" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame105" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="20" y="-10" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>              
                                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="12"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer>
            <FontString name="SCTOptionsFrame_Misc105" inherits="GameFontHighlight">
                <Anchors>
                    <Anchor point="CENTER">
                        <Offset>
                            <AbsDimension x="0" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton105" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame105" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-60" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton103" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton105" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton112" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton103" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton104" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton112" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton111" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton105" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="80" y="0" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton106" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton111" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton108" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton106" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton102" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton108" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton107" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton104" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton109" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_CheckButton107" relativePoint="left">
                                                <Offset>
                                                        <AbsDimension x="10" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <Frame name="SCTOptions_SCTDFrameFrameTitle">
                                <Size>
                                        <AbsDimension x="140" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativeTo="SCTDOptions" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-30" y="-37 " />
                                                </Offset>
                                        </Anchor>
                                </Anchors>              
                                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="12"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer>
            <FontString name="SCTOptionsFrame_Misc106" inherits="GameFontHighlight">
                <Anchors>
                    <Anchor point="CENTER">
                        <Offset>
                            <AbsDimension x="0" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                                        
                        <Frame name="SCTOptionsFrame_Slider104" inherits="SCTSliderTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame101" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="90" y="0" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Slider103" inherits="SCTSliderTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider104" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Slider105" inherits="SCTSliderTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider104" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Slider101" inherits="SCTSliderEditTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider103" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Slider102" inherits="SCTSliderEditTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Slider101" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-25" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Selection101" inherits="SCTDropdownTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="SCTOptionsFrame_Slider102">
                                                <Offset>
                                                        <AbsDimension x="-30" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Selection102" inherits="SCTDropdownTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection101" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton110" inherits="SCTCheckTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="SCTOptionsFrame_Selection102" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="12" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SCT:OptionsCheckButtonOnClick();
                                                SCTD:SetAnimationOptions(this);
                                        </OnClick>
                                </Scripts>
                        </CheckButton>
                        
                        <Frame name="SCTOptionsFrame_Selection103" inherits="SCTDropdownTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection102" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-48"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <Frame name="SCTOptionsFrame_Selection104" inherits="SCTDropdownTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection103" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-10"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        
                        <CheckButton name="SCTOptionsFrame_CheckButton113" inherits="SCTCheckTemplate" hidden="false">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="SCTOptionsFrame_Selection103" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="-35" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        
                        <!-- CLOSE Button -->
                        <Button name="SCTOptionsFrame_Misc102" inherits="SCTButtonTemplate">
                                <Anchors>
                                        <Anchor point="BOTTOM" relativeTo="SCTDOptions" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="7"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                SCTD:HideMenu();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                </Frames>
                <Scripts>
                        <OnShow>
                                SCT:OptionsFrame_OnShow();
                                SCTOptions:SetAlpha(.33);
                                SCTD:SetAnimationOptions(SCTOptionsFrame_CheckButton110);
                        </OnShow>
                        <OnHide>
                                SCTOptions:SetAlpha(1);
                        </OnHide>
                </Scripts>
        </Frame>
        
        <Button name="SCTOptionsFrame_Misc103" inherits="SCTButtonTemplate" parent="SCTOptions">
                <Anchors>
                        <Anchor point="LEFT" relativeTo="SCTOptionsFrame_Misc8" relativePoint="RIGHT">
                                <Offset>
                                        <AbsDimension x="10" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                SCTD:ShowSCTDMenu()
                        </OnClick>
                </Scripts>
        </Button>
        
        <!-- Example MSG Frame  -->
        <Frame name="SCTD_EXAMPLEMSG" toplevel="true" frameStrata="HIGH" hidden="true" parent="SCTDOptions">
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER">
                                <Offset>
                                        <AbsDimension x="0" y="210"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="SCTDMsgExample1" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" outline="NORMAL">
                                        <FontHeight>
                                                <AbsValue val="20"/>
                                        </FontHeight>
                                </FontString>
                        </Layer>                
                </Layers>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.