igor::iEventMouseWheel Class Reference

#include <iEventMouse.h>

Inherits igor::iEvent.

Public Member Functions

 iEventMouseWheel (iWindowPtr window, const int32 wheelDelta)
 
iEventKindMask getEventKindMask () const override
 
virtual const iaString getInfo () const override
 
int32 getWheelDelta () const
 
- Public Member Functions inherited from igor::iEvent
 iEvent (iWindowPtr window=nullptr)
 
virtual ~iEvent ()=default
 
bool isOfKind (const iEventKind kind)
 
virtual iEventType getEventType () const =0
 
virtual iEventKindMask getEventKindMask () const =0
 
virtual const iaString getName () const =0
 
virtual const iaString getInfo () const
 
iWindowPtr getWindow () const
 
bool isConsumed () const
 
void consume ()
 
template<typename T , typename F >
bool dispatch (const F &func)
 

Detailed Description

mouse wheel event

Constructor & Destructor Documentation

◆ iEventMouseWheel()

igor::iEventMouseWheel::iEventMouseWheel ( iWindowPtr  window,
const int32  wheelDelta 
)

init members

Parameters
windowthe window this event came from
wheelDeltathe wheel delta

Member Function Documentation

◆ getEventKindMask()

iEventKindMask igor::iEventMouseWheel::getEventKindMask ( ) const
overridevirtual
Returns
event kind mask

Implements igor::iEvent.

◆ getInfo()

const iaString igor::iEventMouseWheel::getInfo ( ) const
overridevirtual
Returns
information to event

Reimplemented from igor::iEvent.

◆ getWheelDelta()

int32 igor::iEventMouseWheel::getWheelDelta ( ) const
Returns
the wheel delta

The documentation for this class was generated from the following files: