GG::Cursor Class Reference

Cursor is the base class for GUI-renderable cursors. More...

#include <Cursor.h>

Inheritance diagram for GG::Cursor:

GG::TextureCursor List of all members.

Structors

 Cursor ()
virtual ~Cursor ()

Mutators

virtual void Render (const Pt &pt)=0

Detailed Description

Cursor is the base class for GUI-renderable cursors.

A Cursor can be set in the GUI and will be rendered if GUI's RenderCursor() member returns true. Note that it may be necessary to disable the underlying platform's cursor .

Definition at line 43 of file Cursor.h.


Constructor & Destructor Documentation

GG::Cursor::Cursor (  ) 

ctor

virtual GG::Cursor::~Cursor (  )  [virtual]

virtual dtor


Member Function Documentation

virtual void GG::Cursor::Render ( const Pt pt  )  [pure virtual]

Renders the cursor at the specified location.

Subclasses should take care to ensure that the cursor's "hotspot" is rendered at pt.

Implemented in GG::TextureCursor.


The documentation for this class was generated from the following file:
Generated on Wed Mar 26 14:35:42 2008 for GG by  doxygen 1.5.2