SCENE C++ API  2.1.0
lsmousewheelevent.h
1 #pragma once
2 
3 #include <windows.h>
4 
5 #include <core_api/lsglobaldefinitions.h>
6 
7 #include <plugin_api/lsmouseevent.h>
8 
9 namespace SCENE_API {
10 
14 {
15 public:
16 
23  PLUGIN_API_EXPORT LSMouseWheelEvent(ref_ptr<LSView> view,
24  unsigned flags,
25  POINT point,
26  short delta);
27 
31  PLUGIN_API_EXPORT short getDelta() const;
32 
33 protected:
34  // Indicates the scrolled distance. The delta value is expressed in
35  // multiples or divisions of WHEEL_DELTA, which is 120. A value less
36  // than zero indicates rotating back (toward the user) while a value
37  // greater than zero indicates rotating forward (away from the user).
38  const unsigned m_delta;
39 };
40 
41 }