|
|
| LeverControl (ZVision *engine, uint32 key, Common::SeekableReadStream &stream) |
| |
| bool | onMouseDown (const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) override |
| |
| bool | onMouseUp (const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) override |
| |
| bool | onMouseMove (const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) override |
| |
| bool | process (uint32 deltaTimeInMillis) override |
| |
|
| Control (ZVision *engine, uint32 key, ControlType type) |
| |
|
uint32 | getKey () |
| |
|
ControlType | getType () |
| |
|
virtual void | focus () |
| |
|
virtual void | unfocus () |
| |
| virtual bool | onMouseDown (const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) |
| |
| virtual bool | onMouseUp (const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) |
| |
| virtual bool | onMouseMove (const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos) |
| |
| virtual bool | onKeyDown (Common::KeyState keyState) |
| |
| virtual bool | onKeyUp (Common::KeyState keyState) |
| |
| virtual bool | process (uint32 deltaTimeInMillis) |
| |
|
void | setVenus () |
| |
|
| 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 |
| |
◆ onMouseDown()
Called when LeftMouse is pushed. Default is NOP.
- Parameters
-
| screenSpacePos | The position of the mouse in screen space |
| backgroundImageSpacePos | The position of the mouse in background image space |
Reimplemented from ZVision::Control.
◆ onMouseUp()
Called when LeftMouse is lifted. Default is NOP.
- 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. Default is NOP.
- Parameters
-
| 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::LeverControl::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: