Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CEventCanvasButton Class Reference

#include <CEventCanvasButton.hpp>

Public Member Functions

 CEventCanvasButton ()
 
 CEventCanvasButton (double xLocal, double yLocal, double xGlobal, double yGlobal, bool flagPressRelease, bool isLeftClick, bool isRightClick, bool isDoubleClick, bool isShift, bool isControl)
 
 ~CEventCanvasButton ()=default
 
 CEventCanvasButton (const CEventCanvasButton &other)=delete
 
 CEventCanvasButton (CEventCanvasButton &&other)=delete
 
CEventCanvasButtonoperator= (const CEventCanvasButton &other)=delete
 
CEventCanvasButtonoperator= (CEventCanvasButton &&other)=delete
 
const AbstractCanvasItem::TPosition2dgetLocalPosition2d () const
 
const AbstractCanvasItem::TPosition2dgetGlobalPosition2d () const
 
bool isButtonPress () const
 
bool isButtonRelease () const
 
bool isLeftClick () const
 
bool isRightClick () const
 
bool isDoubleClick () const
 
bool isShiftKey () const
 
bool isControlKey () const
 

Private Attributes

AbstractCanvasItem::TPosition2d m_localPosition2d
 
AbstractCanvasItem::TPosition2d m_globalPosition2d
 
bool m_flagPressRelease
 
bool m_isLeftClick
 
bool m_isRightClick
 
bool m_isDoubleClick
 
bool m_isShift
 
bool m_isControl
 

Constructor & Destructor Documentation

◆ CEventCanvasButton() [1/4]

CEventCanvasButton::CEventCanvasButton ( )

◆ CEventCanvasButton() [2/4]

CEventCanvasButton::CEventCanvasButton ( double xLocal,
double yLocal,
double xGlobal,
double yGlobal,
bool flagPressRelease,
bool isLeftClick,
bool isRightClick,
bool isDoubleClick,
bool isShift,
bool isControl )

◆ ~CEventCanvasButton()

CEventCanvasButton::~CEventCanvasButton ( )
default

◆ CEventCanvasButton() [3/4]

CEventCanvasButton::CEventCanvasButton ( const CEventCanvasButton & other)
delete

◆ CEventCanvasButton() [4/4]

CEventCanvasButton::CEventCanvasButton ( CEventCanvasButton && other)
delete

Member Function Documentation

◆ getGlobalPosition2d()

const AbstractCanvasItem::TPosition2d & CEventCanvasButton::getGlobalPosition2d ( ) const
nodiscard

◆ getLocalPosition2d()

const AbstractCanvasItem::TPosition2d & CEventCanvasButton::getLocalPosition2d ( ) const
nodiscard

◆ isButtonPress()

bool CEventCanvasButton::isButtonPress ( ) const
nodiscard

◆ isButtonRelease()

bool CEventCanvasButton::isButtonRelease ( ) const
nodiscard

◆ isControlKey()

bool CEventCanvasButton::isControlKey ( ) const
nodiscard

◆ isDoubleClick()

bool CEventCanvasButton::isDoubleClick ( ) const
nodiscard

◆ isLeftClick()

bool CEventCanvasButton::isLeftClick ( ) const
nodiscard

◆ isRightClick()

bool CEventCanvasButton::isRightClick ( ) const
nodiscard

◆ isShiftKey()

bool CEventCanvasButton::isShiftKey ( ) const
nodiscard

◆ operator=() [1/2]

CEventCanvasButton & CEventCanvasButton::operator= ( CEventCanvasButton && other)
delete

◆ operator=() [2/2]

CEventCanvasButton & CEventCanvasButton::operator= ( const CEventCanvasButton & other)
delete

Member Data Documentation

◆ m_flagPressRelease

bool CEventCanvasButton::m_flagPressRelease
private

◆ m_globalPosition2d

AbstractCanvasItem::TPosition2d CEventCanvasButton::m_globalPosition2d
private

◆ m_isControl

bool CEventCanvasButton::m_isControl
private

◆ m_isDoubleClick

bool CEventCanvasButton::m_isDoubleClick
private

◆ m_isLeftClick

bool CEventCanvasButton::m_isLeftClick
private

◆ m_isRightClick

bool CEventCanvasButton::m_isRightClick
private

◆ m_isShift

bool CEventCanvasButton::m_isShift
private

◆ m_localPosition2d

AbstractCanvasItem::TPosition2d CEventCanvasButton::m_localPosition2d
private

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