vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui>
  <Frame name="Tetris_MF" toplevel="true" hidden="true" movable="true" parent="UIParent">
  
                <Size>
                        <AbsDimension x="220" y="260" />
                </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>

                <Frames>

                        <Button name="Tetris_MF_resume" inherits="GameMenuButtonTemplate" text="MF_resume">
                                <Size>
                                        <AbsDimension x="190" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-30"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>
                                
                        <Button name="Tetris_MF_ms_dos" inherits="GameMenuButtonTemplate" text="MF_ms_dos">
                                <Size>
                                        <AbsDimension x="190" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-60"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_MF_gameboy" inherits="GameMenuButtonTemplate" text="MF_gameboy">
                                <Size>
                                        <AbsDimension x="190" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-90"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_MF_retris" inherits="GameMenuButtonTemplate" text="MF_retris">
                                <Size>
                                        <AbsDimension x="190" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-120"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                        <Button name="Tetris_MF_highest_hopes" inherits="GameMenuButtonTemplate" text="MF_highest_hopes">
                                <Size>
                                        <AbsDimension x="190" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-150"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_MF_custom" inherits="GameMenuButtonTemplate" text="MF_custom">
                                <Size>
                                        <AbsDimension x="190" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-180"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_MF_options" inherits="GameMenuButtonTemplate" text="MF_options">
                                <Size>
                                        <AbsDimension x="90" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="48" y="-210"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_MF_exit" inherits="GameMenuButtonTemplate" text="MF_exit">
                                <Size>
                                        <AbsDimension x="90" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-48" y="-210"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_MF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Frame name="Tetris_MF_Titel" toplevel="true" hidden="false" movable="false">
  
                                <Size>
                                        <AbsDimension x="100" y="40" />
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="12"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                
                                <Backdrop bgFile="Interface\AddOns\MinigamesPack\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_MF_Titeltext" text="MF_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>
                        <OnShow>
                        </OnShow>               
        </Scripts>
        </Frame>
</Ui>