I wrote this opengl UI object using jit.pwindow, and I'm a little in the
dark about how to handle the redrawing the right way. With jsui, when you
move something like a window over it, it redraws itself automatically.
jit.pwindow doesn't do that. The only solution I know is to have a scheduler
or qmetro redraw the ui on a fixed interval, but that feels like a big waste
of resources, when the thing is just sitting there doing nothing.
Is this the way regular UI elements work, or is there another / better way?
Or maybe a way to know whether its visible or not?