Mobile: Convert from screen to card coords
Klaus major-k
klaus at major-k.de
Tue Oct 18 08:55:16 EDT 2022
Hi Brian,
I knew I forgot something...
> Am 17.10.2022 um 19:53 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
>
> Looking at the image, I’m not sure you can do what you want and have it work. You can draw outside of the card rect, but you can’t interact with anything outside of the rect. In the image on the right, the nav bar is as low as it can go and receive touch interactions.
OK, I definitively understand that!
But iPhoneSafeArealnsets0 will only return values in SCREEN-coordinates
and I have no idea how to „convert" these to CARD coordinates.
We need that to move the bottom/top controls up or down if neccessary,
know what I mean? Any hints very welcome!
> ...
> Brian Milby
Best
Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de
More information about the use-livecode
mailing list