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