Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11117 for code


Ignore:
Timestamp:
Feb 15, 2016, 10:54:29 PM (9 years ago)
Author:
landauf
Message:

preparing for CEGUI 0.8

Location:
code/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/PackageConfigMinGW.cmake

    r11113 r11117  
    2929
    3030  INCLUDE(CheckPackageVersion)
    31   CHECK_PACKAGE_VERSION(7.1)
     31  CHECK_PACKAGE_VERSION(7.1 8.0)
    3232
    3333  # 64 bit system?
  • code/trunk/cmake/tools/FindCEGUI.cmake

    r11101 r11117  
    106106# Find CEGUI Tolua++ libraries
    107107FIND_LIBRARY(CEGUI_TOLUA_LIBRARY_OPTIMIZED
    108   NAMES CEGUItoluapp tolua++ ceguitolua++ tolua++5.1
     108  NAMES CEGUItoluapp tolua++ toluapp ceguitolua++ tolua++5.1
    109109  PATHS $ENV{CEGUIDIR} ${CEGUITOLUADIR}
    110110  PATH_SUFFIXES lib bin
  • code/trunk/src/libraries/core/GUIManager.cc

    r11101 r11117  
    907907#if CEGUI_VERSION >= 0x000800
    908908        this->guiRenderer_->setDisplaySize(CEGUI::Sizef((float)newWidth, (float)newHeight));
     909        this->rootWindow_->setSize(CEGUI::USize(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.