Photon microGUI widgets library 0.6.0
Loading...
Searching...
No Matches
PhWidgets::Cursor Class Reference

Represents the image used to paint the mouse pointer. More...

#include <Cursor.h>

Public Member Functions

 Cursor (Cursors::eCursors cursor=Cursors::Default)
 (constructor)
 
 Cursor (const PhCursorDef_t &def)
 (constructor)
 
 Cursor (const Cursor &other)
 (copy constructor)
 
 ~Cursor ()
 (destructor)
 
Cursoroperator= (const Cursor &other)
 Assigns value in Cursor.
 
bool operator== (const Cursor &other) const
 Compares Cursors.
 
bool operator!= (const Cursor &other) const
 Compares Cursors.
 
bool operator< (const Cursor &other) const
 Compares Cursors.
 

Detailed Description

Represents the image used to paint the mouse pointer.

Constructor & Destructor Documentation

◆ Cursor() [1/3]

PhWidgets::Cursor::Cursor ( Cursors::eCursors cursor = Cursors::Default)

(constructor)

Initializes a new instance of the Cursor class from the specified default cursor ID.

Parameters
[in]cursordefault cursor ID (see PhWidgets::Cursors::eCursors).

◆ Cursor() [2/3]

PhWidgets::Cursor::Cursor ( const PhCursorDef_t & def)

(constructor)

Initializes a new instance of the Cursor class from the specified cursor definition.

Parameters
[in]defcursor definition.

◆ Cursor() [3/3]

PhWidgets::Cursor::Cursor ( const Cursor & other)

(copy constructor)

Constructs a Cursor by copy.

Parameters
[in]otheranother Cursor to be used as source to initialize the elements of the container with.

Member Function Documentation

◆ operator!=()

bool PhWidgets::Cursor::operator!= ( const Cursor & other) const

Compares Cursors.

Compares the Cursors by their definitions.

Parameters
[in]otherCursor whose contents to compare.

◆ operator<()

bool PhWidgets::Cursor::operator< ( const Cursor & other) const

Compares Cursors.

Compares the Cursors by their definitions.

Parameters
[in]otherCursor whose contents to compare.

◆ operator=()

Cursor & PhWidgets::Cursor::operator= ( const Cursor & other)

Assigns value in Cursor.

Replaces the contents of the Cursor.

Parameters
[in]otheranother Cursor to use as data source.

◆ operator==()

bool PhWidgets::Cursor::operator== ( const Cursor & other) const

Compares Cursors.

Compares the Cursors by their definitions.

Parameters
[in]otherCursor whose contents to compare.

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