vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui>
  <Frame name="Tetris_OF" toplevel="true" hidden="true" movable="true" parent="UIParent">
  
                <Size>
                        <AbsDimension x="220" 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>                 
                                <FontString name="Tetris_OF_Text_dropdown" text="OF_Text_dropdown" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-30"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                
                                <FontString name="Tetris_OF_s_Text_bgrosse" text="OF_s_Text_bgrosse" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-85"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                
                                <FontString name="Tetris_OF_c_Text_gost" text="OF_c_Text_gost" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-50" y="-143"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                
                                <FontString name="Tetris_OF_c_Text_sound" text="OF_c_Text_sound" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-50" y="-168"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="Tetris_OF_c_Text_musik" text="OF_c_Text_musik" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-50" y="-193"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                
                                <FontString name="Tetris_OF_c_Text_mous" text="OF_c_Text_mous" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-50" y="-218"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="Tetris_OF_Text_mdropdown" text="OF_Text_mdropdown" inherits="ChatFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-248"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                        </Layer>                                
                </Layers>       

                <Frames>
                        <Button name="Tetris_OF_dropdown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-50"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnEvent>
                                        </OnEvent>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Slider name="Tetris_OF_s_bgrosse" inherits="OptionsSliderTemplate">
                                <Size>
                                        <AbsDimension x="180" y="17"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-105"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                Tetris_OF_Update();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>
                        
                        <CheckButton name="Tetris_OF_c_gost" inherits="OptionsCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="80" y="-135"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="Tetris_OF_c_sound" inherits="OptionsCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="80" y="-160"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </CheckButton>
                
                        <CheckButton name="Tetris_OF_c_musik" inherits="OptionsCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="80" y="-185"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </CheckButton>
                        
                        <CheckButton name="Tetris_OF_c_mous" inherits="OptionsCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="80" y="-210"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </CheckButton>          

                        <Button name="Tetris_OF_mdropdown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-268"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnEvent>
                                        </OnEvent>
                                        <OnClick>
                                        </OnClick>
                                </Scripts>
                        </Button>
                
                        <Button name="Tetris_OF_b_ok" inherits="GameMenuButtonTemplate" text="OF_b_ok">
                                <Size>
                                        <AbsDimension x="90" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="48" y="15"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Tetris_OF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Tetris_OF_b_exit" inherits="GameMenuButtonTemplate" text="OF_b_exit">
                                <Size>
                                        <AbsDimension x="90" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="-48" y="15"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>               
                                        <OnClick>
                                                Tetris_OF_Button_Click ();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Frame name="Tetris_OF_Titel" toplevel="true" hidden="false" movable="false">
                                <Size>
                                        <AbsDimension x="140" 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_OF_Titeltext" text="OF_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>