wgui: Parser: <template> initial support (wip)

This commit is contained in:
Aleksander
2025-06-17 22:06:17 +02:00
parent 9c1bd5b4f2
commit 8c4eb4bd49
6 changed files with 221 additions and 100 deletions

View File

@@ -0,0 +1,19 @@
<layout>
<template name="MenuButton">
<rectangle
width="120"
height="82"
round="8"
border="2"
border_color="#FFFFFF77"
color="#00000033"
align_items="center"
justify_content="center"
flex_direction="column"
gap="8"
>
<sprite src="dashboard/apps.svg" width="32" height="32" />
<label weight="bold" color="#FFFFFF" size="18" text="I'M A TEMPLATE" />
</rectangle>
</template>
</layout>