Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 26, 2011, 11:06:36 AM (14 years ago)
Author:
dafrick
Message:

getStaticTextWindowHeight() working again for CEGUI < 0.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/src/libraries/core/GUIManager.h

    r7960 r7965  
    116116        static void setItemTooltipsEnabledHelper(CEGUI::Listbox* listbox, bool enabled); //tolua_export
    117117
     118        static bool isCEGUIVersion7(void) { return CEGUIVERSION7; } // tolua_export
     119
    118120        static GUIManager& getInstance() { return Singleton<GUIManager>::getInstance(); } // tolua_export
    119121
     
    150152        CEGUI::OgreCEGUIRenderer*            guiRenderer_;      //!< CEGUI's interface to the Ogre Engine
    151153        CEGUI::ResourceProvider*             resourceProvider_; //!< CEGUI's resource provider
     154        static const bool                    CEGUIVERSION7 = false;
    152155#else
    153156        CEGUI::OgreRenderer*                 guiRenderer_;      //!< CEGUI's interface to the Ogre Engine
    154157        CEGUI::OgreResourceProvider*         resourceProvider_; //!< CEGUI's resource provider
    155158        CEGUI::OgreImageCodec*               imageCodec_;
     159        static const bool                    CEGUIVERSION7 = false;
    156160#endif
    157161        LuaState*                            luaState_;         //!< LuaState, access point to the Lua engine
Note: See TracChangeset for help on using the changeset viewer.