#include <Cursor.h>
Inheritance diagram for GG::Cursor:
Structors | |
Cursor () | |
virtual | ~Cursor () |
Mutators | |
virtual void | Render (const Pt &pt)=0 |
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.
GG::Cursor::Cursor | ( | ) |
ctor
virtual GG::Cursor::~Cursor | ( | ) | [virtual] |
virtual dtor
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.