Subversion Repositories AndroidProjects

Rev

Rev 510 | Rev 524 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

Menu "TitleMenu"
{
        origin 0, 0;

        Image "title"
        {
                position 240, 50;
                size 512, 256;
                align center, top;
                texture "data/textures/title.png";
                filter nearest, nearest;
        }

/*      Frame "testframe"
        {
                position 240, 50;
                size 300, 50;
                align center, center;
                showCenter true;
                texture "data/textures/simplebutton.png";
        }*/
        
        SegmentButton "Endless"
        {
                position 240, 400;
                size 400, 80;
                caption "Endless";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState EndlessState";
        }
        
        SegmentButton "Puzzle"
        {
                position 240, 490;
                size 400, 80;
                caption "Puzzle";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState PuzzleState";
        }
        
        SegmentButton "Time Trial"
        {
                position 240, 580;
                size 400, 80;
                caption "Time Trial";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState TimeTrialState";
        }
        
        SegmentButton "Options"
        {
                position 240, 670;
                size 400, 80;
                caption "Options";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "showOptions";
        }
        
/*      ImageButton "Time Trial"
        {
                position 240, 400;
                size 300, 50;
                caption "Time Trial";
                align center, center;
                texture "data/textures/black.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState TimeTrialState";
        }
        
        Button "Puzzle"
        {
                position 240, 500;
                caption "Puzzle Mode";
                align center, center;
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 0.9, 0.9, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState PuzzleState";
        }*/
        
        Label "copyright"
        {
                position 240, 780;
                caption "©2013 Gebauz";
                align center, bottom;
                scale 1.0;
                color 1, 1, 1, 1;
                shadow true;
                shadowOffset 2,2;
        }
}