Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPaintopBox::TabletToolID Struct Reference

Public Member Functions

bool operator< (const TabletToolID &id) const
 
bool operator== (const TabletToolID &id) const
 
 TabletToolID (const KoInputDevice &dev)
 

Public Attributes

KoInputDevice::Pointer pointer
 
qint64 uniqueTabletId
 

Detailed Description

Definition at line 231 of file kis_paintop_box.h.

Constructor & Destructor Documentation

◆ TabletToolID()

KisPaintopBox::TabletToolID::TabletToolID ( const KoInputDevice & dev)
inline

Definition at line 232 of file kis_paintop_box.h.

232 {
233 // Only the eraser is special, and we don't look at Cursor
237 }
239 }
KoInputDevice::Pointer pointer
KoInputDevice::Pointer pointer

References KoInputDevice::Eraser, KoInputDevice::Pen, KoInputDevice::pointer, and KoInputDevice::uniqueTabletId.

Member Function Documentation

◆ operator<()

bool KisPaintopBox::TabletToolID::operator< ( const TabletToolID & id) const
inline

Definition at line 245 of file kis_paintop_box.h.

245 {
246 return pointer < id.pointer;
247 }

◆ operator==()

bool KisPaintopBox::TabletToolID::operator== ( const TabletToolID & id) const
inline

Definition at line 241 of file kis_paintop_box.h.

241 {
242 return pointer == id.pointer;
243 }

Member Data Documentation

◆ pointer

KoInputDevice::Pointer KisPaintopBox::TabletToolID::pointer

Definition at line 249 of file kis_paintop_box.h.

◆ uniqueTabletId

qint64 KisPaintopBox::TabletToolID::uniqueTabletId

Definition at line 250 of file kis_paintop_box.h.


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