#include <maccursor32.h>
Public Member Functions | |
void | setMacCursorRemapList (int cursorCount, reg_t *cursors) override |
void | setView (const GuiResourceId viewId, const int16 loopNo, const int16 celNo) override |
void | hide () override |
void | unhide () override |
void | show () override |
void | gonnaPaint (Common::Rect paintRect) override |
void | paintStarting () override |
void | donePainting () override |
Public Member Functions inherited from Sci::GfxCursor32 | |
void | init (const Buffer &outputBuffer) |
bool | deviceMoved (Common::Point &position) |
void | setPosition (const Common::Point &position) |
void | setRestrictedArea (const Common::Rect &rect) |
void | clearRestrictedArea () |
void | saveLoadWithSerializer (Common::Serializer &ser) override |
Additional Inherited Members | |
Protected Attributes inherited from Sci::GfxCursor32 | |
CelInfo32 | _cursorInfo |
int | _hideCount |
GfxMacCursor32 handles SCI32 games with native Mac cursor resources.
GfxCursor32 was modeled after the PC SSCI structure in which cursors are views that use the game's palette. It draws the cursor directly to the game's frame. Mac cursors have their own individual palettes and are drawn independent of the rest of the game. GfxMacCursor32 uses CursorManager to handle this, since it supports cursor palettes, and disables the GfxCursor32 functionality which CursorManager handles.
|
overridevirtual |
Sets the remap list used to map views to native Mac cursor resources.
Reimplemented from Sci::GfxCursor32.
|
overridevirtual |
Sets the view used to render the cursor.
Reimplemented from Sci::GfxCursor32.
|
overridevirtual |
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 from Sci::GfxCursor32.
|
overridevirtual |
Shows the cursor, if the hide counter is returned to 0.
Reimplemented from Sci::GfxCursor32.
|
overridevirtual |
Shows the cursor regardless of the state of the hide counter.
Reimplemented from Sci::GfxCursor32.
|
inlineoverridevirtual |
Called by GfxFrameout, ignored since CursorManager handles Mac cursors.
Reimplemented from Sci::GfxCursor32.
|
inlineoverridevirtual |
Called by GfxFrameout, ignored since CursorManager handles Mac cursors.
Reimplemented from Sci::GfxCursor32.
|
inlineoverridevirtual |
Called by GfxFrameout, ignored since CursorManager handles Mac cursors.
Reimplemented from Sci::GfxCursor32.