2024-07-18 01:29 PM - edited 2024-07-18 01:33 PM
Hello,
i want to render frequency spectrum FFT in the small area of screen and handle touch in this area. This should be done by some custom widget/container. Can you help me how to do it?
Best Regards,
Petr
2025-01-06 12:41 AM
Hello @Petr3 ,
I assume you put your FFT graph inside a custom container.
You can just call
setTouchable(true);
in the setupScreen function of that custom container to enable touch on it.
This way you will be able to use the handleDragEvent and HandleClickEvent.
If you want to see how to use these 2 functions, have a look at this custom container example .
Regards,