Changeset 7966 for code/branches/usability/src/libraries/core
- Timestamp:
- Feb 26, 2011, 5:00:17 PM (14 years ago)
- Location:
- code/branches/usability/src/libraries/core
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/src/libraries/core/CMakeLists.txt
r7284 r7966 35 35 OrxonoxClass.cc 36 36 Resource.cc 37 WindowEventListener.cc38 37 39 38 # hierarchy … … 49 48 Template.cc 50 49 XMLPort.cc 50 51 COMPILATION_BEGIN ListenerCompilation.cc 52 ViewportEventListener.cc 53 WindowEventListener.cc 51 54 XMLNameListener.cc 55 COMPILATION_END 52 56 53 57 COMPILATION_BEGIN FilesystemCompilation.cc -
code/branches/usability/src/libraries/core/CorePrereqs.h
r7849 r7966 182 182 class Thread; 183 183 class ThreadPool; 184 class ViewportEventListener; 184 185 template <class T> 185 186 class WeakPtr; -
code/branches/usability/src/libraries/core/GraphicsManager.cc
r7874 r7966 57 57 #include "Game.h" 58 58 #include "GameMode.h" 59 #include "GUIManager.h" 59 60 #include "Loader.h" 60 61 #include "MemoryArchive.h" 61 62 #include "PathConfig.h" 63 #include "ViewportEventListener.h" 62 64 #include "WindowEventListener.h" 63 65 #include "XMLFile.h" … … 381 383 void GraphicsManager::setCamera(Ogre::Camera* camera) 382 384 { 385 Ogre::Camera* oldCamera = this->viewport_->getCamera(); 386 383 387 this->viewport_->setCamera(camera); 388 GUIManager::getInstance().setCamera(camera); 389 390 for (ObjectList<ViewportEventListener>::iterator it = ObjectList<ViewportEventListener>::begin(); it != ObjectList<ViewportEventListener>::end(); ++it) 391 it->cameraChanged(this->viewport_, oldCamera); 384 392 } 385 393
Note: See TracChangeset
for help on using the changeset viewer.