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 --- cObject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cObject.h') diff --git a/cObject.h b/cObject.h index a72b1cc..87d0205 100644 --- a/cObject.h +++ b/cObject.h @@ -44,6 +44,7 @@ public: */ virtual void onClick(sPos _pos, unsigned int _button){} /** Called by cObjecthandler if cObject is active on keyboard input + * _pos decribes the relative position of mousepointer to origin of object */ virtual void onChar(unsigned char _c){} -- cgit v1.2.3