Audio settings pop-up

This commit is contained in:
Aleksander
2025-12-04 21:04:52 +01:00
parent f54c5decb6
commit 9767940923
22 changed files with 442 additions and 99 deletions

View File

@@ -1,23 +1,29 @@
<layout>
<elements>
<!--
Window decoration
Make sure to modify WINDOW_DECORATION_PADDING
and WINDOW_DECORATION_HEADER_HEIGHT in the source code accordingly
-->
<rectangle
flex_direction="column"
round="8"
round="16"
border="2"
border_color="#778899"
color="#001122ee"
border_color="#ffffff33"
color="#081020ee"
padding="2">
<!-- window title -->
<rectangle width="100%" height="100%" round="4" align_items="center" justify_content="space_between"
gradient="vertical" color="#224466" color2="#113355">
<label margin_left="8" text="Window title" weight="bold" />
<Button id="but_close" border="0" round="0">
<sprite src_internal="wgui/close.svg" width="24" height="24" />
<div width="100%" height="32" align_items="center" position="relative" justify_content="end">
<div width="100%" justify_content="center">
<label id="text_window_title" weight="bold" />
</div>
<Button id="but_close" border="0" round="16" color="#FFFFFF00" position="absolute">
<sprite src_internal="wgui/close.svg" width="32" height="32" />
</Button>
</rectangle>
</div>
<!-- content itself -->
<div id="content" width="100%" height="100%" padding="8" gap="4" flex_direction="column">
<div id="content" padding="8" padding_top="0" gap="4" flex_direction="column">
</div>
</rectangle>