aboutsummaryrefslogtreecommitdiff
path: root/cObject.h
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-08 14:27:18 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-08 14:27:18 +0100
commit75baef0cb96f65c500ac87cf71ebe5e05c0dae0d (patch)
treee0acfd121adc56578cbaf24d9cd7afeba2fc5150 /cObject.h
parent75a09cb6229b8c14ad180f05edf1b5402eed5299 (diff)
downloadtermgl-75baef0cb96f65c500ac87cf71ebe5e05c0dae0d.tar.gz
cInputHandler now supplies cObject:onClick with click position relative to the objects origin
Diffstat (limited to 'cObject.h')
-rw-r--r--cObject.h1
1 files changed, 1 insertions, 0 deletions
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){}