Hello I have some questions about the topics in the title:
Is the paint function repeadetly called in a loop somewhere or is it only called when resized() has been triggered?
I tried around with the whole ui-component-nested-hierarchy thingy. Everything worked fine until I turned one of my child components into a class that is derived from AnimatedAppComponent instead of just Component. I wanted to animate some basic geometry(like in the tutorial).
Only an instance of that class inside my MainComponent worked fine. It animated an ellipse in a simple sinusoidal way. However as soon as I brought in other components (derived from the normal component class) the background went black and nothing worked anymore.
I integrated the update() and everything, in fact I basically stole the class from the Animating Geometry tutorial.
Is there maybe something I have to care about with the AnimatedAppComponent? For ex.: If used, must it then be my MainComponent that is derived from it or something?
Theres nothing about it in the tutorial though and the class doc also has no warning.
I also tried changing the order in which the different components were added and made visible. Nothing made a difference.