Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 16, 2010, 8:13:36 PM (14 years ago)
Author:
rgrieder
Message:

Background wasn't transparent upon start up —> black screen when starting with "—standalone"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GUIManager.cc

    r6746 r6749  
    127127        resourceProvider_->setDefaultResourceGroup("GUI");
    128128
    129         // setup scripting
     129        // Setup scripting
    130130        luaState_.reset(new LuaState());
    131131        rootFileInfo_ = Resource::getInfo("InitialiseGUI.lua");
     
    142142        this->ceguiLogger_ = ceguiLogger.release();
    143143
    144         // create the CEGUI system singleton
     144        // Create the CEGUI system singleton
    145145        guiSystem_.reset(new System(guiRenderer_.get(), resourceProvider_, 0, scriptModule_.get()));
    146146
     
    160160        this->rootWindow_->addChildWindow(this->hudRootWindow_);
    161161        this->rootWindow_->addChildWindow(this->menuRootWindow_);
     162
     163        // No background to start with (sets the alpha value to 0)
     164        this->setBackgroundImage("");
    162165
    163166        // Set up the sheet manager in the Lua framework
Note: See TracChangeset for help on using the changeset viewer.