Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2009, 11:34:51 PM (15 years ago)
Author:
bknecht
Message:

Including some features to use only mouse or keys in a GUI, also cleaning up the calls to GUIManager, also trying to show and hide a GUI just by tabbing a key. Anyways, more features to come soonsvn status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/gamestates/GSMainMenu.cc

    r2853 r2869  
    8383    void GSMainMenu::deactivate()
    8484    {
    85         InputManager::getInstance().requestLeaveState("game");
    86         InputManager::getInstance().requestDestroyState("game");
     85        InputManager::getInstance().requestLeaveState("mainMenu");
     86        InputManager::getInstance().requestDestroyState("mainMenu");
    8787
    8888        if (this->ccStartGame_)
     
    9191            this->ccStartGame_ = 0;
    9292        }
    93 
    94         GUIManager::getInstance().executeCode("hideGUI()");
    9593    }
    9694
Note: See TracChangeset for help on using the changeset viewer.