- make player one the default button in player selection screen
- make "start race" button the default one in num laps screen git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
2abeb7fed0
commit
3167a86e97
@ -36,7 +36,10 @@ ConfigControls::ConfigControls()
|
||||
{
|
||||
snprintf(playerN[i-1], MAX_MESSAGE_LENGTH,
|
||||
_("Player %d"), i);
|
||||
widgetSet -> start(VA, playerN[i-1], GUI_MED, i);
|
||||
if (i == 1)
|
||||
widgetSet -> start(VA, playerN[i-1], GUI_MED, i);
|
||||
else
|
||||
widgetSet -> state(VA, playerN[i-1], GUI_MED, i);
|
||||
}
|
||||
|
||||
widgetSet -> space(VA);
|
||||
|
@ -1,7 +1,7 @@
|
||||
// $Id$
|
||||
//
|
||||
// SuperTuxKart - a fun racing game with go-kart
|
||||
// Copyright (C) 2006 SuperTuxKart-Team
|
||||
// Copyright (C) 2006, 2007 SuperTuxKart-Team
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
@ -35,9 +35,9 @@ NumLaps::NumLaps() : laps(3)
|
||||
lap_label_id = widgetSet -> label(m_menu_id, _("Laps: 3"));
|
||||
widgetSet -> space(m_menu_id);
|
||||
widgetSet -> state(m_menu_id, _("Less"), GUI_MED, 10);
|
||||
widgetSet -> start(m_menu_id, _("More"), GUI_MED, 20);
|
||||
widgetSet -> state(m_menu_id, _("More"), GUI_MED, 20);
|
||||
widgetSet -> space(m_menu_id);
|
||||
widgetSet -> state(m_menu_id, _("Start Race"), GUI_SML, 30);
|
||||
widgetSet -> start(m_menu_id, _("Start Race"), GUI_SML, 30);
|
||||
widgetSet -> state(m_menu_id, _("Press <ESC> to go back"), GUI_SML, -1);
|
||||
widgetSet -> space(m_menu_id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user