SMouseEvent.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionCore.h>
5 #include <ionMath.h>
6 #include <ionFramework.h>
7 
8 
9 namespace ion
10 {
11 
12  class CWindow;
13 
14  struct SMouseEvent : public IEvent
15  {
16  enum class EButton
17  {
18  Left,
19  Right,
20  Middle,
21  Count
22  };
23 
24  enum class EType
25  {
26  Move,
27  Click,
28  Scroll
29  };
30 
34  bool Pressed;
36 
38  : Window()
39  {}
40  };
41 
42 }
EType Type
Definition: SMouseEvent.h:33
CWindow * Window
Definition: SMouseEvent.h:35
bool Pressed
Definition: SMouseEvent.h:34
vec2f Movement
Definition: SMouseEvent.h:31
Definition: CCatmullRomAdvancedSplineInterpolator.h:7
Definition: IEvent.h:7
Definition: CWindow.h:17
EButton Button
Definition: SMouseEvent.h:32
vec2f Location
Definition: SMouseEvent.h:31
EType
Definition: SMouseEvent.h:24
EButton
Definition: SMouseEvent.h:16
Definition: SMouseEvent.h:14
SMouseEvent()
Definition: SMouseEvent.h:37