Ocular Engine
MouseButtonInputEvent.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EVENTS_MOUSE_BUTTON_INPUT_EVENT__H__
19 #define __H__OCULAR_EVENTS_MOUSE_BUTTON_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 MouseButtonInputEvent : public AEvent
48  {
49  public:
50 
51  MouseButtonInputEvent(MouseButtons button, KeyState state);
53 
54  virtual ~MouseButtonInputEvent();
55 
56  MouseButtons button;
57  KeyState state;
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: MouseButtonInputEvent.hpp:47
KeyState state
Button that was pressed or released.
Definition: MouseButtonInputEvent.hpp:57
Definition: AEvent.hpp:44