Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 28, 2009, 5:58:11 PM (15 years ago)
Author:
dafrick
Message:

Implemented support for multiple simultaniously showing GUIs. What happens now, in essence, is, that every root-window of a gui, that is to be showed, is attached to a global root window, which is always displayed and therefore needs to be fully transparent (alpha = 0.0). To not inherit the transparency (and thus be fully transparent as well) each root-window of a gui must (or should) set the property 'InheritsAlpha' to false.

File:
1 edited

Legend:

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

    r5929 r6003  
    8282    {
    8383        // show main menu
    84         GUIManager::getInstance().showGUI("MainMenu");
     84        GUIManager::showGUI("MainMenu");
    8585        GUIManager::getInstance().setCamera(this->camera_);
    8686        GraphicsManager::getInstance().setCamera(this->camera_);
     
    111111
    112112        InputManager::getInstance().leaveState("mainMenu");
     113        GUIManager::hideGUI("MainMenu");
    113114
    114115        GUIManager::getInstance().setCamera(0);
Note: See TracChangeset for help on using the changeset viewer.