vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui>
  <Frame name="Tetris_AF" toplevel="true" hidden="true" movable="true" parent="UIParent">
  
                <Size>
                        <AbsDimension x="300" y="100" />
                </Size>         
                <Anchors>
                        <Anchor point="CENTER"></Anchor>
                </Anchors>
                
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="8" right="8" top="7" bottom="7" />      
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32" />
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32" />
                        </EdgeSize>
        </Backdrop>

                <Layers>
                        <Layer level="ARTWORK">
                        
                                <FontString name="Tetris_AF_Text" text="AufgebenFrame_text" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-30"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
        
                        </Layer>                                
                </Layers>       
        
                <Frames>
                        <Button name="Tetris_AF_b_ja" inherits="GameMenuButtonTemplate" text="Tetris_AF_b_ja">
                                <Size>
                                        <AbsDimension x="100" y="25"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-10" y="10"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_AF_b_click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_AF_b_nein" inherits="GameMenuButtonTemplate" text="AF_b_nein">
                                <Size>
                                        <AbsDimension x="100" y="25"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="10"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_AF_b_click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Frame name="Tetris_AF_Titel" toplevel="true" hidden="false" movable="false">
  
                                <Size>
                                        <AbsDimension x="200" y="40" />
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="12"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                
                                <Backdrop bgFile="Interface\AddOns\TicTacToe\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <BackgroundInsets>
                                                <AbsInset left="8" right="8" top="7" bottom="7" />      
                                        </BackgroundInsets>
                                        <TileSize>
                                                <AbsValue val="32" />
                                        </TileSize>
                                        <EdgeSize>
                                                <AbsValue val="32" />
                                        </EdgeSize>
                        </Backdrop>
                        
                                <Layers>
                                        <Layer level="ARTWORK"> 
                                                <FontString name="Tetris_AF_Titeltext" text="AF_Titeltext" inherits="GameFontNormal">
                                                        <Anchors>
                                                                <Anchor point="CENTER">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>                                
                                </Layers>
                        
                        </Frame>
                        
                </Frames>

                <Scripts>
                
                        <OnMouseDown>
                                if ( arg1 == "LeftButton" ) then
                                        this:StartMoving();
                                end
                        </OnMouseDown>
                        <OnMouseUp>
                                if ( arg1 == "LeftButton" ) then
                                        this:StopMovingOrSizing();
                                end
                        </OnMouseUp>
                          
                        <OnLoad>
                        </OnLoad>
                        <OnEvent>
                        </OnEvent>
                        
        </Scripts>
        </Frame>
</Ui>