◆ init()
void Sci::GfxCursor32::init |
( |
const Buffer & |
outputBuffer | ) |
|
Initialises the cursor system with the given buffer to use as the output buffer for rendering the cursor.
◆ deviceMoved()
Called when the hardware mouse moves.
◆ gonnaPaint()
virtual void Sci::GfxCursor32::gonnaPaint |
( |
Common::Rect |
paintRect | ) |
|
|
virtual |
◆ paintStarting()
virtual void Sci::GfxCursor32::paintStarting |
( |
| ) |
|
|
virtual |
◆ donePainting()
virtual void Sci::GfxCursor32::donePainting |
( |
| ) |
|
|
virtual |
◆ hide()
virtual void Sci::GfxCursor32::hide |
( |
| ) |
|
|
virtual |
Hides the cursor. Each call to hide
will increment a hide counter, which must be returned to 0 before the cursor will be shown again.
Reimplemented in Sci::GfxMacCursor32.
◆ unhide()
virtual void Sci::GfxCursor32::unhide |
( |
| ) |
|
|
virtual |
◆ show()
virtual void Sci::GfxCursor32::show |
( |
| ) |
|
|
virtual |
Shows the cursor regardless of the state of the hide counter.
Reimplemented in Sci::GfxMacCursor32.
◆ setView()
virtual void Sci::GfxCursor32::setView |
( |
const GuiResourceId |
viewId, |
|
|
const int16 |
loopNo, |
|
|
const int16 |
celNo |
|
) |
| |
|
virtual |
◆ setPosition()
void Sci::GfxCursor32::setPosition |
( |
const Common::Point & |
position | ) |
|
Explicitly sets the position of the cursor, in game script coordinates.
◆ setRestrictedArea()
void Sci::GfxCursor32::setRestrictedArea |
( |
const Common::Rect & |
rect | ) |
|
Sets the region that the mouse is allowed to move within.
◆ clearRestrictedArea()
void Sci::GfxCursor32::clearRestrictedArea |
( |
| ) |
|
Removes restrictions on mouse movement.
◆ _cursorInfo
Information about the current cursor. Used to restore cursor when loading a savegame.
◆ _hideCount
int Sci::GfxCursor32::_hideCount |
|
protected |
The number of times the cursor has been hidden.
The documentation for this class was generated from the following file: