Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2009, 4:48:23 PM (16 years ago)
Author:
bknecht
Message:

When you change the camera, the GUI is now newly set. Also: the GUI remembers if it was hidden or not. Only problem at the moment: Input is captured for the wrong thing. Ingame the GUI captures the input.

File:
1 edited

Legend:

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

    r2817 r2834  
    5858        // not sure if necessary
    5959        // guiManager_->loadScene("IngameMenu");
    60 
    61         Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();
    62         guiManager_->showGUI("IngameMenu", viewport->getCamera()->getSceneManager());
    6360    }
    6461
     
    7269    void GSStandalone::ticked(const Clock& time)
    7370    {
    74         Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();
     71        //Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();
    7572        //COUT(0) << "** " << viewport->getCamera()->getSceneManager() << std::endl;
    7673        //guiManager_->testFct();
    7774        //Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();
    78         guiManager_->showGUI("IngameMenu", viewport->getCamera()->getSceneManager());
     75        //guiManager_->showGUI("IngameMenu", viewport->getCamera()->getSceneManager());
    7976
    8077        // tick CEGUI
Note: See TracChangeset for help on using the changeset viewer.