fixed some title widgets which had a button look + fixed mouse bug in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
81b7f96aa7
commit
40edb7c69b
@ -80,6 +80,10 @@ BaseGUI::handle(GameAction action, int value)
|
||||
widget_manager->decreaseScrollSpeed(true);
|
||||
break;
|
||||
case GA_ENTER:
|
||||
int x, y;
|
||||
SDL_GetMouseState( &x, &y );
|
||||
y = SDL_GetVideoSurface()->h - y;
|
||||
inputPointer( x, y );
|
||||
select();
|
||||
break;
|
||||
case GA_LEAVE:
|
||||
|
@ -86,6 +86,7 @@ PlayerControls::PlayerControls(int whichPlayer):
|
||||
user_config->m_player[m_player_index].getName().c_str() );
|
||||
|
||||
widget_manager->addTitleWgt( WTOK_TITLE, 60, 7, heading );
|
||||
widget_manager->hideWgtRect(WTOK_TITLE);
|
||||
widget_manager->breakLine();
|
||||
|
||||
widget_manager->addTextWgt( WTOK_PLYR_NAME0, 30, 7, _("Player name") );
|
||||
|
Loading…
Reference in New Issue
Block a user