WidgetPainter.drawThemeBackground

First, draw the background. Then draw your content. Next, draw the border. And the focused indicator. And the is-selected box.

If it is focused i can draw the outline too...

If selected i can even do the xor action but that's at the end.

struct WidgetPainter
void
drawThemeBackground
()

Meta