Hi,
I am working with the gesturetriggered of a panel at the moment.
I want to create a "map" area for the gesture. The idea is if I do "swipe" movement in this map, then it will move the position of a shape.
Since the gesture position is identified as a dyn_int type, I need to compare it with dyn_int as well (x,y position).
However, it seems that the normal comparator symbol (>=,= "30,175" && (x)
How to compare dyn_int values?
- AGorbatykh
- Posts:59
- Joined: Thu Dec 17, 2015 1:01 pm
Re: How to compare dyn_int values?
Code: Select all
int x = data.startPos[1], y = data.startPos[2];
if (x >= lower[1] && x = lower[2] && y- adriantaw
- Posts:8
- Joined: Tue Nov 01, 2016 2:21 pm
Re: How to compare dyn_int values?
Thanks alexander for the help! It works now 