So I’m trying to grab a snapshot of a complete application window using createComponentSnapshot().
The snapshot is being used by some component of arbitrary hierarchy depth.
It seems like I should be able to simply use:
Image* myImage = getTopLevelComponent()->createComponentSnapshot();
but this is just returning a blank canvas.
My application is a resizer app based around the DialogWindow class. resizer::setContentComponent() contains a TabbedComponent sub-class.
what am I doing wrong?