So I keep asking how to draw a moving vertical playhead without redrawing everything in the parent class and all the children but nobody seems to know. I think I may have found the answer with paintOverChildren(). I overrode it in the top level parent class and it draws the moving yellow line. However, how can I call this function?
paintOverChildren(Graphics & g)
I want it in a timer callback drawn every 30 ms. How do I get “g” to draw it? Or am I using it wrong? Is what I’m doing impossible? How come every DAW out there can draw a moving yellow vertical line without using 100+ percent CPU to draw everything?