Subversion Repositories AndroidProjects

Rev

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

Menu "SubMenuEndless"
{
        origin 0, 0;
        
/*      Image "bg"
        {
                position 0, 0;
                size 480, 800;
                align top, left;
                texture "data/textures/black.png";
                color 1, 1, 1, 0.7;
        }*/
        
        /*
        Image "dlg"
        {
                position 0, 150;
                size 480, 500;
                align top, left;
                texture "data/textures/white.png";
                //color 1, 1, 1, 0.7;
                //color 0.35, 0.25, 0.35, 1;
                color 0, 0, 0, 0.8;
        }
        
        Image "bar1"
        {
                position 0, 150;
                size 480, 12;
                align top, center;
                texture "data/textures/bar_horiz.png";
        }
        
        Image "bar2"
        {
                position 0, 650;
                size 480, 12;
                align top, center;
                texture "data/textures/bar_horiz.png";
        }*/
        
        Label "title"
        {
                position 240, 120;
                size 200, 40;
                align center, center;
                font "scoring";
                caption "ENDLESS MODE";
                scale 4;
        }
        
        Label "speedLabel"
        {
                position 100, 210;
                size 100, 20;
                align left, center;
                font "scoring";
                caption "Speed Level";
                scale 3;
        }
        
        Label "speed"
        {
                position 240, 280;
                size 50, 20;
                align center, center;
                textAlign right, center;
                font "ingame";
                caption "10";
                scale 3;
        }       
        
        SegmentButton "speedDown"
        {
                position 200, 290;
                size 120, 100;
                caption "-";
                scale 2;
                align right, 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 "speed_down";
                pushSound "menu_push";
        }               
        
        SegmentButton "speedUp"
        {
                position 270, 290;
                size 120, 100;
                caption "+";
                scale 2;
                align left, 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 "speed_up";
                pushSound "menu_push";
        }               
        
        
        Label "rowsLabel"
        {
                position 100, 370;
                size 100, 20;
                align left, center;
                font "scoring";
                caption "Initial Rows";
                scale 3;
        }

/*      Frame "spinner"
        {
                position 370, 320;
                size 80, 60;
                align right, center;
                texture "data/textures/spinner.png";
                innerOffset 6, 8, 6, 8;
                showCenter false;
                outerFrame true;
        }               */
                
        Label "rows"
        {
                position 240, 440;
                textAlign right, center;
                size 50, 20;
                align center, center;
                font "ingame";
                caption "10";
                scale 3;
        }
        
        
        SegmentButton "rowsDown"
        {
                position 200, 450;
                size 120, 100;
                caption "-";
                scale 2;
                align right, 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 "rows_down";
                pushSound "menu_push";
        }               
        
        SegmentButton "rowsUp"
        {
                position 270, 450;
                size 120, 100;
                caption "+";
                scale 2;
                align left, 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 "rows_up";
                pushSound "menu_push";
        }               

        SegmentButton "start"
        {
                position 460, 580;
                size 300, 100;
                caption "Start!";
                align right, 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 "start_endless";

                clickSound "menu_confirm";                              
                pushSound "menu_push";
        }
        
        SegmentButton "back"
        {
                position 20, 580;
                size 160, 100;
                caption "Back";
                align left, 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 "submenu_back";
                                
                pushSound "menu_push";
        }
}