22 #ifndef ZVISION_CONTROL_H 23 #define ZVISION_CONTROL_H 25 #include "common/keyboard.h" 26 #include "common/str.h" 29 class SeekableReadStream;
60 Control(
ZVision *engine, uint32 key, ControlType type) : _engine(engine), _key(key), _type(type), _venusId(-1) {}
67 ControlType getType() {
71 virtual void focus() {}
72 virtual void unfocus() {}
123 virtual bool process(uint32 deltaTimeInMillis) {
137 static void parseFlatControl(
ZVision *engine);
virtual bool onMouseUp(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos)
Definition: control.h:88
virtual bool onMouseMove(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos)
Definition: control.h:98
virtual bool onMouseDown(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos)
Definition: control.h:79
Definition: display_client.h:58
virtual bool onKeyUp(Common::KeyState keyState)
Definition: control.h:114
virtual bool onKeyDown(Common::KeyState keyState)
Definition: control.h:106
Definition: algorithm.h:29
Definition: keyboard.h:294
virtual bool process(uint32 deltaTimeInMillis)
Definition: control.h:123