From de515f35e92918829b263aba3a805c0140d18428 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Wed, 8 Apr 2026 18:49:03 -0600 Subject: [PATCH] Moving ui-components to ui --- src/cg/{03-ui-components.cg => ui.cg} | 4 ++++ 1 file changed, 4 insertions(+) rename src/cg/{03-ui-components.cg => ui.cg} (99%) diff --git a/src/cg/03-ui-components.cg b/src/cg/ui.cg similarity index 99% rename from src/cg/03-ui-components.cg rename to src/cg/ui.cg index aa57956..032063d 100644 --- a/src/cg/03-ui-components.cg +++ b/src/cg/ui.cg @@ -1,3 +1,5 @@ +@ui + empty = ui.rect { w = 0, h = 0 }; centerH = parentW child \ @@ -390,3 +392,5 @@ sizedText = content \ LayoutChild = Fixed Int (Int \ Int \ UI) | Flex Int (Int \ Int \ UI); Alignment = Start | Center | End; Direction = Col | Row; + +@