Changeset 11795 for code/branches/cegui0.8_ogre1.9/src/libraries
- Timestamp:
- Feb 21, 2018, 12:03:52 AM (7 years ago)
- Location:
- code/branches/cegui0.8_ogre1.9
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9
- Property svn:mergeinfo changed
/code/branches/cegui0.8 (added) merged: 11110,11118,11121,11124 /code/branches/ogre1.9 (added) merged: 11125-11132,11211,11453-11454
- Property svn:mergeinfo changed
-
code/branches/cegui0.8_ogre1.9/src/libraries/core/CMakeLists.txt
r11712 r11795 95 95 LINK_LIBRARIES 96 96 ${OGRE_LIBRARY} 97 ${OGRE_OVERLAY_LIBRARY} 97 98 ${Boost_FILESYSTEM_LIBRARY} 98 99 ${Boost_SYSTEM_LIBRARY} # Filesystem dependency -
code/branches/cegui0.8_ogre1.9/src/libraries/core/GUIManager.cc
r11117 r11795 482 482 assert(guiSystem_); 483 483 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 484 487 } 485 488 … … 664 667 this->setBackgroundImage(""); 665 668 else 666 this->setBackgroundImage( "set: " + imageSet + " image:" + imageName);669 this->setBackgroundImage(imageSet + "/" + imageName); 667 670 } 668 671 … … 846 849 bool GUIManager::protectedCeguiContextCall(FunctionType function) 847 850 { 848 return this->protectedCall(function, this->guiSystem_->getDefaultGUIContext());851 return this->protectedCall(function, &this->guiSystem_->getDefaultGUIContext()); 849 852 } 850 853 #endif -
code/branches/cegui0.8_ogre1.9/src/libraries/core/GraphicsManager.cc
r11115 r11795 45 45 #include <OgreViewport.h> 46 46 #include <OgreWindowEventUtilities.h> 47 #if OGRE_VERSION >= 0x010900 48 # include <Overlay/OgreOverlaySystem.h> 49 #endif 47 50 48 51 #include "SpecialConfig.h" … … 115 118 this->loadOgreRoot(); 116 119 120 #if OGRE_VERSION >= 0x010900 121 this->overlaySystem_ = new Ogre::OverlaySystem(); 122 #else 123 this->overlaySystem_ = nullptr; 124 #endif 125 117 126 // At first, add the root paths of the data directories as resource locations 118 127 Ogre::ResourceGroupManager::getSingleton().addResourceLocation(ConfigurablePaths::getDataPathString(), "FileSystem"); … … 155 164 Loader::getInstance().unload(extResources_.get()); 156 165 166 #if OGRE_VERSION >= 0x010900 167 safeObjectDelete(&overlaySystem_); 168 #endif 157 169 safeObjectDelete(&ogreRoot_); 158 170 safeObjectDelete(&ogreLogger_); -
code/branches/cegui0.8_ogre1.9/src/libraries/core/GraphicsManager.h
r11085 r11795 52 52 53 53 #include "util/DestructionHelper.h" 54 #include "util/OgreForwardRefs.h" 54 55 #include "util/Singleton.h" 55 56 #include "config/Configurable.h" … … 79 80 void postUpdate(const Clock& time); 80 81 81 Ogre::Viewport* getViewport() { return this->viewport_; } 82 Ogre::RenderWindow* getRenderWindow() { return this->renderWindow_; } 82 Ogre::Viewport* getViewport() { return this->viewport_; } 83 Ogre::RenderWindow* getRenderWindow() { return this->renderWindow_; } 84 Ogre::OverlaySystem* getOverlaySystem() { return this->overlaySystem_; } 83 85 size_t getRenderWindowHandle(); 84 86 … … 129 131 Ogre::RenderWindow* renderWindow_; //!< the one and only render window 130 132 Ogre::Viewport* viewport_; //!< default full size viewport 133 Ogre::OverlaySystem* overlaySystem_; 131 134 GlowMaterialListener* glowMaterialListener_; //!< Material Listener for the 'Glow' compositor 132 135 float lastFrameStartTime_; //!< Time stamp of the beginning of the last frame -
code/branches/cegui0.8_ogre1.9/src/libraries/util/DisplayStringConversions.h
r11071 r11795 37 37 38 38 #include "UtilPrereqs.h" 39 #include <OgreOverlayElement.h> 39 #include <OgrePrerequisites.h> 40 #if OGRE_VERSION >= 0x010900 41 # include <Overlay/OgreOverlayElement.h> 42 #else 43 # include <OgreOverlayElement.h> 44 #endif 40 45 41 46 #if OGRE_UNICODE_SUPPORT -
code/branches/cegui0.8_ogre1.9/src/libraries/util/OgreForwardRefs.h
r7168 r11795 67 67 class Factory; 68 68 class Font; 69 class FontPtr;70 69 class FontManager; 71 70 struct FrameEvent; … … 73 72 class Frustum; 74 73 class GpuProgram; 75 class GpuProgramPtr;76 74 class GpuProgramManager; 77 75 class GpuProgramUsage; … … 82 80 class HardwarePixelBufferSharedPtr; 83 81 class HighLevelGpuProgram; 84 class HighLevelGpuProgramPtr;85 82 class HighLevelGpuProgramManager; 86 83 class HighLevelGpuProgramFactory; … … 96 93 class ManualObject; 97 94 class Material; 98 class MaterialPtr;99 95 class MaterialManager; 100 96 class MaterialScriptCompiler; … … 104 100 class MemoryManager; 105 101 class Mesh; 106 class MeshPtr;107 102 class MeshSerializer; 108 103 class MeshSerializerImpl; … … 120 115 class OverlayElementFactory; 121 116 class OverlayManager; 117 class OverlaySystem; 122 118 class Particle; 123 119 class ParticleAffector; … … 179 175 class SimpleSpline; 180 176 class Skeleton; 181 class SkeletonPtr;182 177 class SkeletonInstance; 183 178 class SkeletonManager; … … 195 190 class TextureUnitState; 196 191 class Texture; 197 class TexturePtr;198 192 class TextureFont; 199 193 class TextureManager;
Note: See TracChangeset
for help on using the changeset viewer.