| 171 | } |
| 172 | |
| 173 | static void draw(Ui::Window& window, Gfx::DrawingContext& drawingCtx) |
| 174 | { |
| 175 | // Draw widgets. |
| 176 | window.draw(drawingCtx); |
| 177 | |
| 178 | // Draw interaction request on top of everything else. |
| 179 | for (const auto& widget : window.widgets) |
| 180 | { |
| 181 | WidgetState widgetState{}; |
| 182 | widgetState.window = &window; |
| 183 | |
| 184 | drawInteractionRequest(drawingCtx, widget, widgetState); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | static constexpr WindowEventList kEvents = { |
| 189 | .onMouseUp = onMouseUp, |
nothing calls this directly
no test coverage detected