move uidev to workspace root

This commit is contained in:
galister
2025-06-21 17:39:28 +09:00
parent 814700cbff
commit 9759dff8b9
119 changed files with 14 additions and 6 deletions

34
uidev/assets/gui/bar.xml Normal file
View File

@@ -0,0 +1,34 @@
<layout>
<include src="wlx_theme.xml" />
<template name="TopButton">
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="${src}" />
</rectangle>
</template>
<elements>
<div box_sizing="content_box" flex_direction="column" justify_content="center" align_content="center">
<rectangle padding="10" gap="8" round="100%" color="~bg_color" justify_content="center" align_content="center">
<TopButton src="bar/lock_open.svg" />
<TopButton src="bar/mouse.svg" />
<TopButton src="bar/fade.svg" />
<TopButton src="bar/move-all.svg" />
<TopButton src="bar/resize.svg" />
<TopButton src="bar/inout.svg" />
<TopButton src="bar/delete.svg" />
</rectangle>
<rectangle padding="8" gap="8" round="100%" color="~bg_color_active" justify_content="center" align_content="center">
<label size="18" text="Opacity" color="~text_color" />
<label size="18" text="100%" color="~text_color" weight="bold" />
<rectangle width="200" height="20" round="100%" color="~slider_bg_color">
<div width="150" />
<rectangle width="50" round="100%" color="~slider_fg_color" justify_content="center" align_content="center">
</rectangle>
</rectangle>
<label size="18" text="Additive:" color="~text_color" />
<sprite color="~device_color" width="20" height="20" src="bar/checkbox-checked.svg" />
</rectangle>
</div>
</elements>
</layout>