needs to get a UI overhaul
This commit is contained in:
parent
d3ea6699dc
commit
4a8a7de62c
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ async fn main() {
|
||||||
|
|
||||||
loop{
|
loop{
|
||||||
clear_background(WHITE);
|
clear_background(WHITE);
|
||||||
|
draw_text("Sorting!", screen_width()*0.3, screen_height()*0.5, 100.0, GREEN);
|
||||||
draw_text(format!("Length: {}", length.to_string()).as_str(), screen_width()*0.83, 30., 20.0, BLACK);
|
draw_text(format!("Length: {}", length.to_string()).as_str(), screen_width()*0.83, 30., 20.0, BLACK);
|
||||||
if root_ui().button(Vec2::new(screen_width()*0.9, 50.), "+10"){
|
if root_ui().button(Vec2::new(screen_width()*0.9, 50.), "+10"){
|
||||||
length += 10;
|
length += 10;
|
||||||
|
|
Loading…
Reference in a new issue