ScummVM API documentation
Ultima::Shared::Gfx::Cursor Class Referenceabstract

#include <screen.h>

Inheritance diagram for Ultima::Shared::Gfx::Cursor:
Ultima::Shared::Gfx::TextCursor Ultima::Ultima1::U1Gfx::U1TextCursor

Public Member Functions

virtual ~Cursor ()
 
virtual Common::Rect getBounds () const =0
 
virtual void draw ()=0
 

Detailed Description

Base class for an on-screen cursor. Currently used for text cursor display

Constructor & Destructor Documentation

◆ ~Cursor()

virtual Ultima::Shared::Gfx::Cursor::~Cursor ( )
inlinevirtual

Destructor

Member Function Documentation

◆ getBounds()

virtual Common::Rect Ultima::Shared::Gfx::Cursor::getBounds ( ) const
pure virtual

Get the bounds of the cursor

Implemented in Ultima::Shared::Gfx::TextCursor.

◆ draw()

virtual void Ultima::Shared::Gfx::Cursor::draw ( )
pure virtual

Draw the cursor

Implemented in Ultima::Ultima1::U1Gfx::U1TextCursor.


The documentation for this class was generated from the following file: