#include <text_cursor.h>
Public Member Functions | |
bool | isVisible () const |
virtual void | setVisible (bool isVis) |
Common::Rect | getBounds () const override |
Point | getPosition () const |
void | setPosition (const Point &pt) |
virtual void | update ()=0 |
Public Member Functions inherited from Ultima::Shared::Gfx::Cursor | |
virtual | ~Cursor () |
virtual void | draw ()=0 |
Protected Member Functions | |
void | markAsDirty () |
Protected Attributes | |
bool | _visible |
Common::Rect | _bounds |
Base class for text cursors, and is used by those games that don't have a visible cursor
|
protected |
Marks the area of the screen the cursor covers as dirty
|
inline |
Returns true if the cursor is visible
|
inlinevirtual |
Sets the visibility of the cursor
|
inlineoverridevirtual |
Get the bounds of the cursor
Implements Ultima::Shared::Gfx::Cursor.
|
inline |
Returns the position of the cursor
|
inline |
Sets the position of the cursor
|
pure virtual |
Update the cursor
Implemented in Ultima::Ultima1::U1Gfx::U1TextCursor.