diff options
author | jonas <himself@jonasgunz.de> | 2019-01-08 14:27:18 +0100 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-01-08 14:27:18 +0100 |
commit | 75baef0cb96f65c500ac87cf71ebe5e05c0dae0d (patch) | |
tree | e0acfd121adc56578cbaf24d9cd7afeba2fc5150 /cObject.h | |
parent | 75a09cb6229b8c14ad180f05edf1b5402eed5299 (diff) | |
download | termgl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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){} |