Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6739 for code/branches


Ignore:
Timestamp:
Apr 16, 2010, 12:24:56 PM (15 years ago)
Author:
rgrieder
Message:

Applied background image changes to GSMainMenu.cc

File:
1 edited

Legend:

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

    r6722 r6739  
    8787        GUIManager::getInstance().showGUI("MainMenu", true);
    8888        GUIManager::getInstance().setCamera(this->camera_);
    89         GUIManager::getInstance().setBackground("MainMenuBackground");
    90 //         GUIManager::getInstance().setBackground("");
     89        GUIManager::getInstance().setBackgroundImage("MainMenuBackground", "Background");
    9190        GraphicsManager::getInstance().setCamera(this->camera_);
    9291
     
    122121
    123122        GUIManager::getInstance().setCamera(0);
    124         GUIManager::getInstance().setBackground("");
     123        GUIManager::getInstance().setBackgroundImage("");
    125124        GUIManager::hideGUI("MainMenu");
    126125        GraphicsManager::getInstance().setCamera(0);
Note: See TracChangeset for help on using the changeset viewer.