Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 15, 2017, 4:29:18 PM (7 years ago)
Author:
landauf
Message:

reverted some changes in cmake script; also inject time pulse to CeguiContext (this is recommended by the cegui documentation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ogre1.9/src/libraries/core/GUIManager.cc

    r11453 r11454  
    482482        assert(guiSystem_);
    483483        this->protectedCeguiSystemCall(std::bind(&CEGUI::System::injectTimePulse, arg::_1, time.getDeltaTime()));
     484#if CEGUI_VERSION >= 0x000800
     485        this->protectedCeguiContextCall(std::bind(&CEGUI::GUIContext::injectTimePulse, arg::_1, time.getDeltaTime()));
     486#endif
    484487    }
    485488
     
    907910#if CEGUI_VERSION >= 0x000800
    908911        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)));
     912        this->rootWindow_->setSize(CEGUI::USize(CEGUI::UDim(1, (float)newWidth), CEGUI::UDim(1, (float)newHeight)));
    910913#else
    911914        this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight));
Note: See TracChangeset for help on using the changeset viewer.