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/ ..\FrameXML\UI.xsd">
        <Frame name="GRSSSettings" parent="UIParent" enableMouse="true" movable="true">
                <Size>
                        <AbsDimension x="120" y="160" />
                </Size>
                <Anchors>
                        <Anchor point="TOPRIGHT" relativeTo="GRSS" relativePoint="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="10" y="0" />
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"GRSSSettings");
                        </OnLoad>
                        <OnMouseUp>
                                 if ( this.isMoving ) then
                                        this:StopMovingOrSizing();
                                        this.isMoving = false;
                                 end
                        </OnMouseUp>
                        <OnMouseDown>
                         if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
                                this:StartMoving();
                                this.isMoving = true;
                         end
                        </OnMouseDown>
                        <OnHide>
                         if ( this.isMoving ) then
                                this:StopMovingOrSizing();
                                this.isMoving = false;
                         end
                        </OnHide>

                </Scripts>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="4" right="4" top="4" bottom="4" />
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="16" />
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16" />
                        </EdgeSize>
                </Backdrop>
                <Frames> 
                        <Button name="$parentCloseButton" inherits="UIPanelCloseButton">
                                <Size>
                                        <AbsDimension x="27" y="27"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <CheckButton name="$parentAutoSnapShot" inherits="OptionsCheckButtonTemplate" checked="true">
                                <Anchors>
                                        <Anchor point="LEFT">
                                                <Offset>
                                                        <AbsDimension x="20" y="0"></AbsDimension>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                </Frames> 
        </Frame>        
</Ui>