IdPicker Class Reference

Displays the Id of the object that is currently under the mouse cursor. More...

#include <IdPicker.h>

Inheritance diagram for IdPicker:

Label MouseAdapterMove Object2d MouseAdapterLeft ViewObject MouseListener Object Object

List of all members.

Public Member Functions

 IdPicker (const string &fontname, const GLfloat &size, const Color &color)
 Enhanced constructor.
void move (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)
 Implements listener interface to reats on mouse moves.
virtual string toString () const
 Returns a textual representation.
virtual string className () const
 Returns the class name of the object.
virtual enum classId classId () const
 Returns the class id of the object.


Detailed Description

Displays the Id of the object that is currently under the mouse cursor.

Nothing fancy, just a simple integer to string conversion


Constructor & Destructor Documentation

IdPicker::IdPicker ( const string &  fontname,
const GLfloat &  size,
const Color color 
)

Enhanced constructor.


Member Function Documentation

void IdPicker::move ( const GLuint &  id,
const GLuint &  x,
const GLuint &  y,
const GLint &  xRel,
const GLint &  yRel 
) [virtual]

Implements listener interface to reats on mouse moves.

Implements MouseAdapterMove.

string IdPicker::toString (  )  const [virtual]

Returns a textual representation.

Returns:
a string descriping the run-time object

Reimplemented from Label.

string IdPicker::className (  )  const [virtual]

Returns the class name of the object.

Returns:
a string with the name of the object's class

Reimplemented from Label.

enum classId IdPicker::classId (  )  const [virtual]

Returns the class id of the object.

Returns:
an id of the object's class

Reimplemented from Label.


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

Generated on Mon Jul 7 13:30:34 2008 for Firefly by  doxygen 1.5.6