Changeset 3290
- Timestamp:
- Jul 14, 2009, 11:30:05 AM (15 years ago)
- Location:
- code/branches/core4/src
- Files:
-
- 1 added
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/CMakeLists.txt
r3245 r3290 31 31 ObjectListBase.cc 32 32 OrxonoxClass.cc 33 WindowEventListener.cc 33 34 34 35 # command -
code/branches/core4/src/core/WindowEventListener.h
r3282 r3290 30 30 #define _WindowEventListener_H__ 31 31 32 #include " OrxonoxPrereqs.h"33 #include " core/OrxonoxClass.h"32 #include "CorePrereqs.h" 33 #include "OrxonoxClass.h" 34 34 35 35 namespace orxonox 36 36 { 37 /** 38 @brief Interface for receiving window events. 39 */ 40 class _OrxonoxExport WindowEventListener : virtual public OrxonoxClass 37 //! Interface for receiving window events like resize, moved and focusChanged 38 class _CoreExport WindowEventListener : virtual public OrxonoxClass 41 39 { 42 40 public: … … 44 42 virtual ~WindowEventListener() { } 45 43 46 / ** Window has moved position */44 //! Window has been moved 47 45 virtual void windowMoved() { } 48 46 49 / ** Window has resized */47 //! Window has resized 50 48 virtual void windowResized(unsigned int newWidth, unsigned int newHeight) { } 51 49 52 / ** Window has lost/gained focus */50 //! Window has lost/gained focus 53 51 virtual void windowFocusChanged() { } 54 52 }; -
code/branches/core4/src/orxonox/GraphicsManager.cc
r3254 r3290 63 63 #include "core/Game.h" 64 64 #include "core/GameMode.h" 65 #include "core/WindowEventListener.h" 65 66 #include "tools/ParticleInterface.h" 66 #include "interfaces/WindowEventListener.h"67 67 68 68 // HACK! -
code/branches/core4/src/orxonox/gamestates/GSGraphics.h
r3274 r3290 39 39 40 40 #include "core/GameState.h" 41 #include " interfaces/WindowEventListener.h"41 #include "core/WindowEventListener.h" 42 42 43 43 namespace orxonox -
code/branches/core4/src/orxonox/interfaces/InterfaceCompilation.cc
r3196 r3290 40 40 #include "Tickable.h" 41 41 #include "TimeFactorListener.h" 42 #include "WindowEventListener.h"43 42 44 43 #include "core/CoreIncludes.h" … … 103 102 104 103 //---------------------------- 105 // WindowEventListener106 //----------------------------107 /**108 @brief Constructor for the WindowEventListener.109 */110 WindowEventListener::WindowEventListener()111 {112 RegisterRootObject(WindowEventListener);113 }114 115 //----------------------------116 104 // Rewardable 117 105 //---------------------------- -
code/branches/core4/src/orxonox/overlays/OrxonoxOverlay.h
r3196 r3290 42 42 #include "util/OgreForwardRefs.h" 43 43 #include "core/BaseObject.h" 44 #include " interfaces/WindowEventListener.h"44 #include "core/WindowEventListener.h" 45 45 46 46 namespace orxonox -
code/branches/core4/src/orxonox/overlays/console/InGameConsole.h
r3274 r3290 36 36 #include "util/OgreForwardRefs.h" 37 37 #include "core/Shell.h" 38 #include " interfaces/WindowEventListener.h"38 #include "core/WindowEventListener.h" 39 39 40 40 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.