Sleeping Wombat GUI  0.100
swGUI
MouseMoveEventArgs.h
Go to the documentation of this file.
1 #pragma once
2 
9 #include "MouseEventArgs.h"
10 
12 
13 
14 
15 namespace sw {
16 namespace gui
17 {
18 
19 
23 {
24  RTTR_ENABLE( MouseEventArgs )
25 public:
26 
29 
30 public:
31 
32  explicit MouseMoveEventArgs( input::MouseDevice* device, uint16 deltaX, uint16 deltaY )
33  : MouseEventArgs( device )
34  , MouseDeltaX( deltaX )
35  , MouseDeltaY( deltaY )
36  {}
37 };
38 
39 DEFINE_OPTR_TYPE( MouseMoveEventArgs );
40 
41 } // gui
42 } // sw
43 
uint16_t uint16
Definition: TypesDefinitions.h:29
MouseMoveEventArgs(input::MouseDevice *device, uint16 deltaX, uint16 deltaY)
Definition: MouseMoveEventArgs.h:32
Definition: DirectInputModule.cpp:11
Base class for mouse input events.
Definition: MouseEventArgs.h:22
uint16 MouseDeltaX
Definition: MouseMoveEventArgs.h:27
Mouse state and events.
Definition: MouseDevice.h:27
DEFINE_OPTR_TYPE(UIElement)
uint16 MouseDeltaY
Definition: MouseMoveEventArgs.h:28
Mouse moved event.
Definition: MouseMoveEventArgs.h:22