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 /testobject.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 'testobject.h')
-rw-r--r-- | testobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |