Added draw function to screens
This commit is contained in:
parent
5a0086c4ea
commit
db6dffb4ee
10 changed files with 46 additions and 13 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue