vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui>

  <Frame name="Tetris_CF" toplevel="true" hidden="true" movable="true" parent="UIParent">
  
                <Size>
                        <AbsDimension x="225" y="350" />
                </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_CF_s_Text_hohe" text="CF_s_Text_hohe" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-30"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="Tetris_CF_s_Text_breite" text="CF_s_Text_breite" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-90"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="Tetris_CF_s_Text_r_lines" text="CF_s_Text_r_lines" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-150"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="Tetris_CF_Text_dropdown" text="CF_Text_dropdown" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-210"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                        </Layer>                                
                </Layers>       
        
                <Frames>
                        <Button name="Tetris_CF_b_Ok" inherits="GameMenuButtonTemplate" text="CF_b_Ok">
                                <Size>
                                        <AbsDimension x="100" y="25"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-10" y="10"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_CF_b_Click();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_CF_b_Exit" inherits="GameMenuButtonTemplate" text="CF_b_Exit">
                                <Size>
                                        <AbsDimension x="100" y="25"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="10"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_CF_b_Click();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                        <Button name="Tetris_CF_dropdown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-230"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnEvent>
                                        </OnEvent>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                        <Button name="Tetris_CF_b_StoneSetup" inherits="GameMenuButtonTemplate" text="CF_b_StoneSetup">
                                <Size>
                                        <AbsDimension x="180" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-270"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_CF_b_Click();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                        <Slider name="Tetris_CF_s_hohe" inherits="OptionsSliderTemplate">
                                <Size>
                                        <AbsDimension x="180" y="17"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-50"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                Tetris_CF_Update();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="Tetris_CF_s_breite" inherits="OptionsSliderTemplate">
                                <Size>
                                        <AbsDimension x="180" y="17"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-110"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                Tetris_CF_Update();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="Tetris_CF_s_r_lines" inherits="OptionsSliderTemplate">
                                <Size>
                                        <AbsDimension x="150" y="17"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="15" y="-170"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                Tetris_CF_Update();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>
                        
                        <CheckButton name="Tetris_CF_c_r_lines" inherits="OptionsCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-80" y="-165"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Tetris_CF_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>
                        
                        <Frame name="Tetris_CF_Titel" toplevel="true" hidden="false" movable="false">
                                <Size>
                                        <AbsDimension x="160" 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_CF_Titeltext" text="CF_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>