vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
        <Script file="CT_BarModOptions.lua"/>
        <CheckButton name="CT_BarModOptionsRadioTemplate" virtual="true">
                <Size>
                        <AbsDimension x="20" y="20"/>
                </Size>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString inherits="GameFontNormalSmall" name="$parentName">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="1" g="1" b="1"/>
                                </FontString>
                        </Layer>
                </Layers>
                <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-RadioButton"> 
                        <TexCoords left="0" right="0.25" top="0" bottom="1"/> 
                </NormalTexture>                
                <DisabledTexture name="$parentDisabledTexture" file="Interface\Buttons\UI-RadioButton"> 
                        <TexCoords left="0" right="0.25" top="0" bottom="1"/> 
                </DisabledTexture>              
                <PushedTexture name="$parentPushedTexture" file="Interface\Buttons\UI-RadioButton"> 
                        <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> 
                </PushedTexture> 
                <HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-RadioButton" alphaMode="ADD">
                        <TexCoords left="0.51" right="0.75" top="0" bottom="1"/> 
                </HighlightTexture>
                <CheckedTexture name="$parentCheckedTexture" file="Interface\Buttons\UI-RadioButton"> 
                        <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> 
                </CheckedTexture> 
                <DisabledCheckedTexture name="$parentDisabledCheckedTexture" file="Interface\Buttons\UI-RadioButton"> 
                        <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> 
                </DisabledCheckedTexture>
                <Scripts>
                        <OnClick>
                                CT_BarModOptions_SetButtons(this:GetID(), this:GetChecked());
                        </OnClick>
                        <OnLoad>
                                CT_BarModOptions_LoadButton();
                        </OnLoad>
                </Scripts>
        </CheckButton>
        <Slider name="CT_BarModOptionsSliderTemplate" virtual="true" inherits="OptionsSliderTemplate">
                <Size>
                        <AbsDimension x="170" y="17"/>
                </Size>
                <Scripts>
                        <OnLoad>
                                --CT_BarModOptions_Slider_OnLoad();
                        </OnLoad>
                        <OnShow>
                                CT_BarModOptions_Slider_OnShow();
                        </OnShow>
                        <OnValueChanged>
                                CT_BarModOptions_Slider_OnValueChanged();
                        </OnValueChanged>
                </Scripts>
        </Slider>
        <Frame name="CT_BarModOptionsFrame" movable="true" frameStrata="DIALOG" toplevel="true" hidden="true" parent="UIParent">
                <Size>
                        <AbsDimension x="450" y="480"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="256" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="Bar Options">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="$parentHeaderTexture">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentInfo" justifyV="top" justifyH="center" inherits="ChatFontNormal" text="CT_BARMODOPTIONS_INFO">
                                        <Anchors>
                                                <Anchor point="BOTTOM" relativePoint="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="225" y="55"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Frame name="$parentScaling">
                                <Size>
                                        <AbsDimension x="450" y="350"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-165"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <FontString name="$parentRemoveSpaceBars" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Remove space between hotbar buttons">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="90" y="-20"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentRemoveSpaceSpecial" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Remove space between pet and class bars">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="90" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentRemoveSpaceBags" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Remove space between bags">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="90" y="-40"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Frames>
                                        <CheckButton name="$parentCheckButtonSpecial" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentRemoveSpaceSpecial">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_RemoveSpaceSpecial(this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="$parentCheckButtonBars" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentRemoveSpaceBars">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_RemoveSpaceBars(this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="$parentCheckButtonBags" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentRemoveSpaceBags">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_RemoveSpaceBags(this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <Slider name="$parentSliderHotbarLeft" id="1" inherits="CT_BarModOptionsSliderTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="215" y="-80"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Slider>
                                        <Slider name="$parentSliderHotbarRight" id="2" inherits="CT_BarModOptionsSliderTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="235" y="-80"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>>
                                        </Slider>
                
                                        <Slider name="$parentSliderSidebarLeft" id="3" inherits="CT_BarModOptionsSliderTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="215" y="-130"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Slider>
                                        <Slider name="$parentSliderSidebarRight" id="4" inherits="CT_BarModOptionsSliderTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="235" y="-130"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>>
                                        </Slider>
                
                                        <Slider name="$parentSliderHotbarTop" id="5" inherits="CT_BarModOptionsSliderTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="215" y="-180"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>>
                                        </Slider>
                
                                        <Slider name="$parentSliderMainBar" id="6" inherits="CT_BarModOptionsSliderTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="235" y="-180"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>>
                                        </Slider>
                                </Frames>
                        </Frame>
                        <Frame name="$parentOptions">
                                <Size>
                                        <AbsDimension x="410" y="350"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="20" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <FontString name="$parentShowLeftHotbar" inherits="GameFontNormal" text="Display Left Hotbar">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="50" y="-50"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentShowRightHotbar" inherits="GameFontNormal" text="Display Right Hotbar">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="250" y="-50"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentShowLeftSidebar" inherits="GameFontNormal" text="Display Left Sidebar">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="50" y="-70"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentShowRightSidebar" inherits="GameFontNormal" text="Display Right Sidebar">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="250" y="-70"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                                <FontString name="$parentLeftSidebarButtons" inherits="GameFontNormal" text="Buttons:">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="60" y="-90"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentRightSidebarButtons" inherits="GameFontNormal" text="Buttons:">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="260" y="-90"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                                <FontString name="$parentShowTopHotbar" inherits="GameFontNormal" text="Display Top Hotbar">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="50" y="-110"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentHideGrid" inherits="GameFontNormal" text="Hide Button Grid">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="250" y="-110"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                                <FontString name="$parentButtonLock" inherits="GameFontNormal" text="Button Lock">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="50" y="-130"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="$parentPageLock" inherits="GameFontNormal" text="Page Lock">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="250" y="-130"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Frames>
                                        <CheckButton name="$parentDisplayLHBCB" id="1" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowLeftHotbar">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <CheckButton name="$parentDisplayRHBCB" id="2" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowRightHotbar">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <CheckButton name="$parentDisplayLSBCB" id="3" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowLeftSidebar">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <CheckButton name="$parentDisplayRSBCB" id="4" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowRightSidebar">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <CheckButton name="$parentLSB1" id="1" inherits="CT_BarModOptionsRadioTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLeftSidebarButtons">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </CheckButton>
                                        <CheckButton name="$parentLSB2" id="2" inherits="CT_BarModOptionsRadioTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLSB1">
                                                                <Offset>
                                                                        <AbsDimension x="10" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </CheckButton>
                                        <CheckButton name="$parentLSB3" id="3" inherits="CT_BarModOptionsRadioTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLSB2">
                                                                <Offset>
                                                                        <AbsDimension x="10" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </CheckButton>
                                        <CheckButton name="$parentRSB1" id="4" inherits="CT_BarModOptionsRadioTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentRightSidebarButtons">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </CheckButton>
                                        <CheckButton name="$parentRSB2" id="5" inherits="CT_BarModOptionsRadioTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentRSB1">
                                                                <Offset>
                                                                        <AbsDimension x="10" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </CheckButton>
                                        <CheckButton name="$parentRSB3" id="6" inherits="CT_BarModOptionsRadioTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentRSB2">
                                                                <Offset>
                                                                        <AbsDimension x="10" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </CheckButton>
                                        
                                        <CheckButton name="$parentHideGridCB" id="1" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideGrid">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_SetOption(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="$parentDisplayTHBCB" id="5" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowTopHotbar">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <CheckButton name="$parentButtonLockCB" id="2" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentButtonLock">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_SetOption(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="$parentPageLockCB" id="3" hidden="false" inherits="OptionsCheckButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentPageLock">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                CT_BarModOptions_SetOption(this:GetID(), this:GetChecked());
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                </Frames>
                        </Frame>
                        <Frame name="$parentDrag">
                                <Size>
                                        <AbsDimension x="150" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-12" y="12"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                if ( arg1 == "LeftButton" ) then
                                                        this:GetParent():StartMoving();
                                                elseif ( arg1 == "RightButton" ) then
                                                        this:GetParent():ClearAllPoints();
                                                        this:GetParent():SetPoint("CENTER", "UIParent", "CENTER");
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                this:GetParent():StopMovingOrSizing();
                                        </OnMouseUp>
                                        <OnEnter>
                                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                                GameTooltip:SetText("Left-click to drag\nRight-click to reset");
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                        </OnLeave>
                                </Scripts>
                        </Frame>
                        <Button name="$parentCloseButton" hidden="false" inherits="GameMenuButtonTemplate" text="Okay">
                                <Size>
                                        <AbsDimension x="100" y="25"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="15"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                this:GetParent():Hide();
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnShow>
                                PlaySound("UChatScrollButton");
                        </OnShow>
                        <OnHide>
                                PlaySound("UChatScrollButton");
                        </OnHide>
                        <OnLoad>
                                this:RegisterEvent("PLAYER_ENTERING_WORLD");
                        </OnLoad>
                        <OnEvent>
                                CT_BarModOptions_LoadOptions();
                        </OnEvent>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.