My application splits the main output into one window and a “settings” window into another.
The documentation for
selectWindow(): Explicitly set the window that is used for drawing the GUI elements. When no window is specified the system uses the primary window to draw GUI elements. Only set the window on init() of your application.
This seems to be incorrect. Since you have to call
mGuiService->draw() yourself anway, this doesn’t make much sense.
selectWindow anywhere at all, you can draw the GUI to another window simply by calling
mGuiService->draw() after making another window active (in my case,
selectWindow does seem to do, however, is determine which Window receives mouse inputs for the GUI. Failure to do this means that the GUI draws just fine, but cannot be controlled.
Should the docs be updated, or am I misunderstanding the situation?