Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
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);
52
MouseMoveInputEvent
();
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
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Math::Vector2
Definition:
Vector2.hpp:44
Ocular::Core::MouseMoveInputEvent
Definition:
MouseMoveInputEvent.hpp:47
Ocular::Core::AEvent
Definition:
AEvent.hpp:44
OcularCore
include
Events
Events
MouseMoveInputEvent.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10