Changeset 2801 for code/branches/gui/src/orxonox/tools
- Timestamp:
- Mar 19, 2009, 10:58:43 AM (16 years ago)
- Location:
- code/branches/gui/src/orxonox/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/tools/ParticleInterface.cc
r2662 r2801 40 40 #include <cassert> 41 41 42 #include "Graphics Engine.h"42 #include "GraphicsManager.h" 43 43 #include "core/Core.h" 44 44 #include "core/CoreIncludes.h" … … 178 178 { 179 179 this->detaillevel_ = level; 180 if ( GraphicsEngine::getInstancePtr())181 this->detailLevelChanged(Graphics Engine::getInstance().getDetailLevelParticle());180 if (Core::showsGraphics()) 181 this->detailLevelChanged(GraphicsManager::getInstance().getDetailLevelParticle()); 182 182 } 183 183 -
code/branches/gui/src/orxonox/tools/Shader.cc
r2662 r2801 39 39 #include "core/CoreIncludes.h" 40 40 #include "core/Executor.h" 41 #include "Graphics Engine.h"41 #include "GraphicsManager.h" 42 42 #include "util/Exception.h" 43 43 … … 59 59 this->compositorInstance_ = 0; 60 60 this->bVisible_ = true; 61 this->bLoadCompositor_ = Core::showsGraphics() && GraphicsEngine::getInstancePtr();61 this->bLoadCompositor_ = Core::showsGraphics(); 62 62 this->bViewportInitialized_ = false; 63 63 this->compositor_ = ""; … … 86 86 if (this->bLoadCompositor_ && this->compositorInstance_) 87 87 { 88 Ogre::Viewport* viewport = Graphics Engine::getInstance().getViewport();88 Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport(); 89 89 assert(viewport); 90 90 Ogre::CompositorManager::getSingleton().removeCompositor(viewport, this->compositor_); … … 114 114 if (this->bLoadCompositor_) 115 115 { 116 Ogre::Viewport* viewport = Graphics Engine::getInstance().getViewport();116 Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport(); 117 117 assert(viewport); 118 118 if (this->oldcompositor_ != "") -
code/branches/gui/src/orxonox/tools/WindowEventListener.h
r2662 r2801 49 49 50 50 /** Window has resized */ 51 virtual void windowResized( int newWidth,int newHeight) { }51 virtual void windowResized(unsigned int newWidth, unsigned int newHeight) { } 52 52 53 53 /** Window has lost/gained focus */
Note: See TracChangeset
for help on using the changeset viewer.