| 1222 | } |
| 1223 | |
| 1224 | void Window::callDraw(Gfx::DrawingContext& ctx) |
| 1225 | { |
| 1226 | if (eventHandlers->draw == nullptr) |
| 1227 | { |
| 1228 | return; |
| 1229 | } |
| 1230 | |
| 1231 | eventHandlers->draw(*this, ctx); |
| 1232 | } |
| 1233 | |
| 1234 | void Window::callDrawScroll(Gfx::DrawingContext& drawingCtx, uint32_t scrollIndex) |
| 1235 | { |