Public Types | Public Member Functions | Public Attributes

MouseCursor Class Reference

List of all members.

Public Types

enum  Shape {
  Arrow, UpArrow, Cross, Wait,
  Ibeam, SizeVer, SizeHor, SizeBDiag,
  SizeFDiag, SizeAll, Blank, SplitV,
  SplitH, PointingHand, Forbidden, WhatsThis,
  Busy, OpenHand, ClosedHand, Last = ClosedHand,
  Bitmap = 24, NotSet
}

Public Member Functions

virtual ~MouseCursor ()
 MouseCursor ()
 MouseCursor (Shape s)
bool operator== (const MouseCursor &) const
bool operator!= (const MouseCursor &) const

Public Attributes

Shape shape_
BufferString filename_
int hotx_
int hoty_

Detailed Description

Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file.


Member Enumeration Documentation

This enum type defines the various cursors that can be used.

Arrow standard arrow cursor UpArrow upwards arrow Cross crosshair Wait hourglass/watch Ibeam ibeam/text entry SizeVer vertical resize SizeHor horizontal resize SizeFDiag diagonal resize (\) SizeBDiag diagonal resize (/) SizeAll all directions resize Blank blank/invisible cursor SplitV vertical splitting SplitH horizontal splitting PointingHand a pointing hand Forbidden a slashed circle WhatsThis an arrow with a question mark Busy hourglass/watch OpenHand an open hand ClosedHand a closed hand Bitmap NotSet

Arrow is the default for widgets in a normal state.

Enumerator:
Arrow 
UpArrow 
Cross 
Wait 
Ibeam 
SizeVer 
SizeHor 
SizeBDiag 
SizeFDiag 
SizeAll 
Blank 
SplitV 
SplitH 
PointingHand 
Forbidden 
WhatsThis 
Busy 
OpenHand 
ClosedHand 
Last 
Bitmap 
NotSet 

Constructor & Destructor Documentation

virtual MouseCursor::~MouseCursor (  )  [inline, virtual]
MouseCursor::MouseCursor (  )  [inline]
MouseCursor::MouseCursor ( Shape  s  )  [inline]

Member Function Documentation

bool MouseCursor::operator!= ( const MouseCursor  )  const
bool MouseCursor::operator== ( const MouseCursor  )  const

Member Data Documentation