From: <au...@us...> - 2008-12-12 18:54:38
|
Revision: 2639 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=2639&view=rev Author: auria Date: 2008-12-12 18:54:34 +0000 (Fri, 12 Dec 2008) Log Message: ----------- updated main menu to look nicer with background image Modified Paths: -------------- trunk/supertuxkart/src/gui/main_menu.cpp Modified: trunk/supertuxkart/src/gui/main_menu.cpp =================================================================== --- trunk/supertuxkart/src/gui/main_menu.cpp 2008-12-12 16:47:07 UTC (rev 2638) +++ trunk/supertuxkart/src/gui/main_menu.cpp 2008-12-12 18:54:34 UTC (rev 2639) @@ -46,6 +46,7 @@ widget_manager->switchOrder(); const int WIDTH=30; + widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, WIDTH, 30 ); widget_manager->addTextButtonWgt( WTOK_SINGLE, WIDTH, 7, _("Single Player") ); widget_manager->addTextButtonWgt( WTOK_MULTI, WIDTH, 7, _("Splitscreen") ); @@ -63,7 +64,7 @@ widget_manager->addTextButtonWgt( WTOK_OPTIONS, WIDTH, 7, _("Options") ); widget_manager->addTextButtonWgt( WTOK_QUIT, WIDTH, 7, _("Quit") ); - widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, WIDTH, 7 ); + widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, WIDTH, 27 ); widget_manager->addTextButtonWgt( WTOK_HELP, WIDTH, 7, _("Help") ); widget_manager->setWgtTextSize( WTOK_HELP, WGT_FNT_SML ); @@ -77,7 +78,7 @@ widget_manager->setWgtTextSize( WTOK_WARNING, WGT_FNT_SML ); widget_manager->hideWgtRect(WTOK_WARNING); } - + widget_manager->activateWgt(WTOK_SINGLE); widget_manager->layout(WGT_AREA_ALL); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |