Sleeping Wombat GUI  0.100
swGUI
MouseWheelEventArgs.h
Go to the documentation of this file.
1 #pragma once
2 
9 #include "MouseEventArgs.h"
10 
11 
12 namespace sw {
13 namespace gui
14 {
15 
16 
20 {
21  RTTR_ENABLE( MouseEventArgs )
22 public:
23 
24  float Delta;
25 
26 public:
28  : MouseEventArgs( device )
29  , Delta( device->GetState().WheelDelta() )
30  {}
31 
32 };
33 
34 } // gui
35 } // sw
Definition: DirectInputModule.cpp:11
Base class for mouse input events.
Definition: MouseEventArgs.h:22
Mouse wheel changed position.
Definition: MouseWheelEventArgs.h:19
MouseWheelEventArgs(input::MouseDevice *device)
Definition: MouseWheelEventArgs.h:27
Mouse state and events.
Definition: MouseDevice.h:27
float Delta
Definition: MouseWheelEventArgs.h:24