aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actors/lead_actor.h
diff options
context:
space:
mode:
authorwhiterandrek2018-04-02 08:57:56 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit49d5ea28c023a43f7d1444b55ac8c06df9966128 (patch)
tree37db0a106b33970b934243f8c48adcb12c12255e /engines/pink/objects/actors/lead_actor.h
parente48ac17f68ccd1b4432d9d6e15e811a88ea8daf4 (diff)
downloadscummvm-rg350-49d5ea28c023a43f7d1444b55ac8c06df9966128.tar.gz
scummvm-rg350-49d5ea28c023a43f7d1444b55ac8c06df9966128.tar.bz2
scummvm-rg350-49d5ea28c023a43f7d1444b55ac8c06df9966128.zip
PINK: added basic cursor implementation, fixed sequenceAudio restarting and skipping, fixed various mem leaks, hopefully fixed finding of transparent color index.
Diffstat (limited to 'engines/pink/objects/actors/lead_actor.h')
-rw-r--r--engines/pink/objects/actors/lead_actor.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/pink/objects/actors/lead_actor.h b/engines/pink/objects/actors/lead_actor.h
index 4e17bf285a..3a64893991 100644
--- a/engines/pink/objects/actors/lead_actor.h
+++ b/engines/pink/objects/actors/lead_actor.h
@@ -24,6 +24,7 @@
#define PINK_LEAD_ACTOR_H
#include <common/keyboard.h>
+#include <common/rect.h>
#include "actor.h"
namespace Pink {
@@ -58,8 +59,14 @@ public:
void start(bool isHandler);
void update();
- void OnKeyboardButtonClick(Common::KeyCode code);
+ void onKeyboardButtonClick(Common::KeyCode code);
+ void onLeftButtonClick(Common::Point point);
+ void onMouseMove(Common::Point point);
+
private:
+ void updateCursor(Common::Point point);
+
+
State _state;
CursorMgr *_cursorMgr;
WalkMgr *_walkMgr;