49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="NoDevice" parent="GtkBox">
|
|
<property name="orientation">1</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="margin-top">20</property>
|
|
<property name="margin-bottom">20</property>
|
|
<property name="margin-start">20</property>
|
|
<property name="margin-end">20</property>
|
|
<property name="spacing">20</property>
|
|
<child>
|
|
<object class="AdwStatusPage">
|
|
<property name="vexpand">True</property>
|
|
<property name="title" translatable="yes">No device connected</property>
|
|
<property name="description" translatable="yes">Breezy Desktop was unable to detect any supported XR devices.</property>
|
|
<property name="width-request">800</property>
|
|
<property name="height-request">150</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwPreferencesGroup">
|
|
<child>
|
|
<object class="AdwActionRow">
|
|
<property name="title" translatable="yes"><!-- feature switch -->Auto-enable XR effect</property>
|
|
<property name="subtitle" translatable="yes">Automatically enable the Breezy Desktop XR effect when supported glasses are connected.</property>
|
|
<child>
|
|
<object class="GtkSwitch" id="effect_enable_switch">
|
|
<property name="valign">3</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwActionRow">
|
|
<property name="title" translatable="yes"><!-- feature switch -->Disable physical displays</property>
|
|
<property name="subtitle" translatable="yes">Automatically disable all physical displays when the XR effect is enabled.</property>
|
|
<child>
|
|
<object class="GtkSwitch" id="disable_physical_displays_switch">
|
|
<property name="valign">3</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|