Files
wayvr/wgui/uidev-vk/assets/gui/bar.xml
2025-06-18 19:03:21 +09:00

51 lines
2.5 KiB
XML

<layout>
<theme>
<var key="bg_color" value="#24273a" />
<var key="bg_color_active" value="#44475a" />
<var key="device_color" value="#666666" />
<var key="text_color" value="#dddddd" />
<var key="slider_bg_color" value="#666666" />
<var key="slider_fg_color" value="#ffffff" />
<var key="slider_text_color" value="#000000" />
</theme>
<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">
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/lock_open.svg" />
</rectangle>
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/mouse.svg" />
</rectangle>
<rectangle color="~bg_color_active" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/fade.svg" />
</rectangle>
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/move-all.svg" />
</rectangle>
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/resize.svg" />
</rectangle>
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/inout.svg" />
</rectangle>
<rectangle color="~bg_color" padding="8" round="50%">
<sprite color="~device_color" width="48" height="48" src="bar/delete.svg" />
</rectangle>
</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>