Added draw function to screens

This commit is contained in:
Yousef Khadadeh 2026-04-17 19:32:49 +03:00
parent 5a0086c4ea
commit db6dffb4ee
10 changed files with 46 additions and 13 deletions

View file

@ -11,6 +11,10 @@ void DrawingProgramScreen::update() {
main.world->focus_update();
}
void DrawingProgramScreen::draw(SkCanvas* canvas) {
main.draw_world(canvas, main.world, main.world->drawData);
}
void DrawingProgramScreen::gui_layout_run() {
toolbar.layout_run();
}