GG
List of all members
GG::Cursor Class Referenceabstract

#include <Cursor.h>

Inheritance diagram for GG::Cursor:
GG::TextureCursor

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 46 of file Cursor.h.

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: