poc window decorations

This commit is contained in:
galister
2026-01-03 20:57:14 +09:00
parent 57c450cb45
commit b6c16dff18
12 changed files with 178 additions and 36 deletions

View File

@@ -0,0 +1,23 @@
<layout>
<elements>
<rectangle
width="100%" height="100%"
margin="4" box_sizing="border_box"
border_color="~color_faded" border="2"
round="50%" color="~color_faded"
justify_content="space_between">
<label id="label_title" color="~color_text" size="18" text="Test" weight="bold" />
<Button macro="button_style" tooltip="WATCH.EDIT_MODE" _press="" border_color="~color_faded_translucent" color="~color_faded_50" color2="~color_faded_10">
<sprite width="24" height="24" src="watch/edit.svg" />
</Button>
<Button macro="button_style" tooltip="DECOR.CLOSE_WINDOW" _long_release="" border_color="~color_danger_translucent" color="~color_danger_50" color2="~color_danger_10">
<sprite width="24" height="24" src="edit/close.svg" />
</Button>
</rectangle>
</elements>
</layout>