igor::iMouseImpl Class Referenceabstract

Public Member Functions

 iMouseImpl (iMouse *mouse)
 
virtual ~iMouseImpl ()=default
 
virtual bool initDevice (const void *data)=0
 
virtual void deinitDevice ()=0
 
virtual bool onOSEvent (const void *data)=0
 
virtual void setPosition (int32 x, int32 y)=0
 
virtual void hideCursor (bool hide)=0
 
virtual void setCursor (iMouseCursorType cursorType)=0
 
virtual void resetCursor ()=0
 
virtual void setCenter ()=0
 

Protected Attributes

iButtonState _buttonStates [5]
 
iMouse_mouse
 
iaVector2i _lastMousePos
 
iaVector2i _pos
 
iWindowPtr _window = nullptr
 

Friends

class iMouse
 

Constructor & Destructor Documentation

◆ iMouseImpl()

igor::iMouseImpl::iMouseImpl ( iMouse mouse)
inline

◆ ~iMouseImpl()

virtual igor::iMouseImpl::~iMouseImpl ( )
virtualdefault

Member Function Documentation

◆ deinitDevice()

virtual void igor::iMouseImpl::deinitDevice ( )
pure virtual

◆ hideCursor()

virtual void igor::iMouseImpl::hideCursor ( bool  hide)
pure virtual

◆ initDevice()

virtual bool igor::iMouseImpl::initDevice ( const void *  data)
pure virtual

◆ onOSEvent()

virtual bool igor::iMouseImpl::onOSEvent ( const void *  data)
pure virtual

◆ resetCursor()

virtual void igor::iMouseImpl::resetCursor ( )
pure virtual

◆ setCenter()

virtual void igor::iMouseImpl::setCenter ( )
pure virtual

◆ setCursor()

virtual void igor::iMouseImpl::setCursor ( iMouseCursorType  cursorType)
pure virtual

◆ setPosition()

virtual void igor::iMouseImpl::setPosition ( int32  x,
int32  y 
)
pure virtual

Friends And Related Function Documentation

◆ iMouse

friend class iMouse
friend

Member Data Documentation

◆ _buttonStates

iButtonState igor::iMouseImpl::_buttonStates[5]
protected

◆ _lastMousePos

iaVector2i igor::iMouseImpl::_lastMousePos
protected

◆ _mouse

iMouse* igor::iMouseImpl::_mouse
protected

◆ _pos

iaVector2i igor::iMouseImpl::_pos
protected

◆ _window

iWindowPtr igor::iMouseImpl::_window = nullptr
protected

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