From 408c473839fcc8bdb0f7ac843031507ae99e33f0 Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Thu, 17 Aug 2023 02:35:08 +0200 Subject: Made it easier to switch back to old unfinished UI for reference --- src/main.odin | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.odin b/src/main.odin index 17517c7..1657c0f 100644 --- a/src/main.odin +++ b/src/main.odin @@ -133,6 +133,7 @@ main :: proc() { ClearBackground(BGCOLOR) +when true { // hotloop oui.begin_layout() @@ -157,7 +158,7 @@ main :: proc() { // DRAW HERE OR BELOW oui.process() - /* +} else { DrawTextEx(font, "Date", {20, 8}, font_size, 0, RAYWHITE); DrawTextEx(font, "Calltime", {105, 8}, font_size, 0, RAYWHITE); DrawTextEx(font, "Wraptime", {f32(width)-83, 8}, font_size, 0, RAYWHITE); @@ -211,7 +212,7 @@ main :: proc() { DrawTextEx(small_font, total_sum, {f32(width)-120, f32(height)-43}, small_font_size, 0, RAYWHITE); DrawTextEx(big_font, inc_soc, {f32(width)-120, f32(height)-29}, big_font_size, 0, RAYWHITE); - */ +} EndDrawing() } } -- cgit v1.2.1