started on new ui fn

This commit is contained in:
Llywelwyn 2023-09-25 00:36:11 +01:00
parent 627d33b2d9
commit f3e58ad761
2 changed files with 51 additions and 0 deletions

View file

@ -430,6 +430,7 @@ fn draw(app: &mut App, gfx: &mut Graphics, gs: &mut State) {
_ => {
draw_bg(&gs.ecs, &mut draw, &gs.atlas);
draw_camera(&gs.ecs, &mut draw, &gs.atlas);
crate::gui::draw_ui2(&gs.ecs, &mut draw, &gs.atlas, &gs.font);
}
}
match *gs.ecs.fetch::<RunState>() {