Ocular Engine
MouseMoveInputEvent.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EVENTS_MOUSE_MOVE_INPUT_EVENT__H__
19 #define __H__OCULAR_EVENTS_MOUSE_MOVE_INPUT_EVENT__H__
20 
21 #include "Events/AEvent.hpp"
22 #include "Input/Keys.hpp"
23 #include "Math/Vector2.hpp"
24 
25 //------------------------------------------------------------------------------------------
26 
31 namespace Ocular
32 {
37  namespace Core
38  {
47  class MouseMoveInputEvent : public AEvent
48  {
49  public:
50 
51  MouseMoveInputEvent(Math::Vector2i const& prev, Math::Vector2i const& curr);
53 
54  virtual ~MouseMoveInputEvent();
55 
56  Math::Vector2i prevPosition;
57  Math::Vector2i currPosition;
58 
59  protected:
60 
61  private:
62  };
63  }
67 }
72 //------------------------------------------------------------------------------------------
73 
74 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Vector2.hpp:44
Definition: MouseMoveInputEvent.hpp:47
Definition: AEvent.hpp:44