From 75baef0cb96f65c500ac87cf71ebe5e05c0dae0d Mon Sep 17 00:00:00 2001 From: jonas Date: Tue, 8 Jan 2019 14:27:18 +0100 Subject: cInputHandler now supplies cObject:onClick with click position relative to the objects origin --- testobject.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testobject.h') diff --git a/testobject.h b/testobject.h index 1da8987..80882b7 100644 --- a/testobject.h +++ b/testobject.h @@ -24,6 +24,8 @@ public: { cc++; drawText(std::to_string(cc), {2,2}, _COL_RED); + + drawPoint('Q', _pos, true, _COL_YELLOW); } virtual void onChar(unsigned char _c) -- cgit v1.2.3