|
enum | ControlType {
CONTROL_UNKNOW,
CONTROL_INPUT,
CONTROL_PUSHTGL,
CONTROL_SLOT,
CONTROL_LEVER,
CONTROL_SAVE,
CONTROL_SAFE,
CONTROL_FIST,
CONTROL_TITLER,
CONTROL_HOTMOV,
CONTROL_PAINT
} |
|
static void | parseFlatControl (ZVision *engine) |
|
static void | parsePanoramaControl (ZVision *engine, Common::SeekableReadStream &stream) |
|
static void | parseTiltControl (ZVision *engine, Common::SeekableReadStream &stream) |
|
void | getParams (const Common::String &inputStr, Common::String ¶meter, Common::String &values) |
|
ZVision * | _engine |
|
uint32 | _key |
|
int32 | _venusId |
|
◆ onMouseUp()
Called when LeftMouse is lifted. Calls ScriptManager::setStateValue(_key, 1);
- Parameters
-
screenSpacePos | The position of the mouse in screen space |
backgroundImageSpacePos | The position of the mouse in background image space |
Reimplemented from ZVision::Control.
◆ onMouseMove()
Called on every MouseMove. Tests if the mouse is inside _hotspot, and if so, sets the cursor.
- Parameters
-
engine | The base engine |
screenSpacePos | The position of the mouse in screen space |
backgroundImageSpacePos | The position of the mouse in background image space |
- Returns
- Was the cursor changed?
Reimplemented from ZVision::Control.
◆ process()
bool ZVision::SlotControl::process |
( |
uint32 |
deltaTimeInMillis | ) |
|
|
overridevirtual |
Processes the node given the deltaTime since last frame. Default is NOP.
- Parameters
-
deltaTimeInMillis | The number of milliseconds that have passed since last frame |
- Returns
- If true, the node can be deleted after process() finishes
Reimplemented from ZVision::Control.
The documentation for this class was generated from the following file: