#include <Cursor.h>
Inheritance diagram for GG::TextureCursor:

Structors | |
| TextureCursor (const boost::shared_ptr< Texture > &texture, const Pt &hotspot=Pt()) | |
Mutators | |
| virtual void | Render (const Pt &pt) | 
It renders a texture such that the point within the texture that represents the hotspot of the cursor is rendered at the click-point of the cursor.
Definition at line 65 of file Cursor.h.
| GG::TextureCursor::TextureCursor | ( | const boost::shared_ptr< Texture > & | texture, | |
| const Pt & |  hotspot = Pt() | |||
| ) | 
Ctor.
texture is the texture to render and hotspot is the offset within texture where the click-point is located. hotspot is clamped to texture's valid area.
| virtual void GG::TextureCursor::Render | ( | const Pt & | pt | ) |  [virtual] | 
        
Renders the cursor at the specified location.
Subclasses should take care to ensure that the cursor's "hotspot" is rendered at pt.
Implements GG::Cursor.
 1.5.2