summaryrefslogtreecommitdiff
path: root/testobject.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 /testobject.h
parent75a09cb6229b8c14ad180f05edf1b5402eed5299 (diff)
downloadtermgl-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.h2
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)