The SoMouseWheelEvent class is a temporary replacement for SoMouseWheelEvent from Coin, for until freecad stops using Coin version that doesn't have one (coin v 4.0.0a doesn't have SoMouseWheelEvent).
More...
#include <SoMouseWheelEvent.h>
The SoMouseWheelEvent class is a temporary replacement for SoMouseWheelEvent from Coin, for until freecad stops using Coin version that doesn't have one (coin v 4.0.0a doesn't have SoMouseWheelEvent).
◆ SoMouseWheelEvent() [1/2]
SoMouseWheelEvent::SoMouseWheelEvent |
( |
| ) |
|
◆ SoMouseWheelEvent() [2/2]
SoMouseWheelEvent::SoMouseWheelEvent |
( |
int |
delta | ) |
|
◆ ~SoMouseWheelEvent()
SoMouseWheelEvent::~SoMouseWheelEvent |
( |
| ) |
|
◆ getDelta()
int SoMouseWheelEvent::getDelta |
( |
| ) |
const |
returns wheel position change.
One click is usually 120 units, smaller values come from high-resolution devices like touchpads
◆ initClass()
static void SoMouseWheelEvent::initClass |
( |
void |
| ) |
|
|
static |
◆ setDelta()
void SoMouseWheelEvent::setDelta |
( |
int |
delta | ) |
|
The documentation for this class was generated from the following file:
- FreeCAD/src/Gui/SoMouseWheelEvent.h