Checkbox time

This commit is contained in:
2025-01-01 02:29:58 +01:00
parent 939fb58ac9
commit 47558576af
2 changed files with 18 additions and 8 deletions

View File

@@ -31,6 +31,8 @@ pick_scene_view_at :: (camera: Camera, coordinates: Vector2) {
}
}
test := false;
editor_ui :: () {
// Scene picking
if !ui_mouse_over_window() {
@@ -55,7 +57,7 @@ editor_ui :: () {
}
ui_window_begin("Entities", 1, 5, 200, 600);
checked := ui_checkbox(true);
test = ui_checkbox(test);
if engine.current_scene != null {
for engine.current_scene.entities {
if it.flags & .DELETED continue;