Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 16, 2016, 10:10:43 PM (9 years ago)
Author:
bknecht
Message:

initial commit to get orxonox to find and compile and start with cegui0.8. doesn't work yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8/src/libraries/core/GUIManager.cc

    r11101 r11118  
    664664            this->setBackgroundImage("");
    665665        else
    666             this->setBackgroundImage("set: " + imageSet + " image: " + imageName);
     666            this->setBackgroundImage(imageSet + "/" + imageName);
    667667    }
    668668
     
    907907#if CEGUI_VERSION >= 0x000800
    908908        this->guiRenderer_->setDisplaySize(CEGUI::Sizef((float)newWidth, (float)newHeight));
     909        this->rootWindow_->setSize(CEGUI::Size<CEGUI::UDim>(CEGUI::UDim(1, (float)newWidth), CEGUI::UDim(1, (float)newHeight)));
    909910#else
    910911        this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight));
    911 #endif
    912912        this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, (float)newWidth), CEGUI::UDim(1, (float)newHeight)));
     913#endif
    913914    }
    914915
Note: See TracChangeset for help on using the changeset viewer.