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; + +@