summaryrefslogtreecommitdiffstats
path: root/ui/resources
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <bigfoot@figboot.dev>2026-01-24 16:04:56 -0600
committerLibravatar bigfoot547 <bigfoot@figboot.dev>2026-01-24 16:04:56 -0600
commit154f94d1fd2de8f6510bfebba848a24c60b1ba8b (patch)
tree072bf7b9bb6f3599f54cf200e4d9eedde783c34d /ui/resources
parentendian functions (diff)
Diffstat (limited to 'ui/resources')
-rw-r--r--ui/resources/main.ui22
-rw-r--r--ui/resources/meson.build5
-rw-r--r--ui/resources/progress.ui37
-rw-r--r--ui/resources/vaclaunch.gresource.xml6
4 files changed, 70 insertions, 0 deletions
diff --git a/ui/resources/main.ui b/ui/resources/main.ui
new file mode 100644
index 0000000..4f4315d
--- /dev/null
+++ b/ui/resources/main.ui
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Created with Cambalache 0.96.3 -->
+<interface>
+ <!-- interface-name main.ui -->
+ <requires lib="gtk" version="4.0"/>
+ <object class="GtkApplicationWindow" id="window">
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkActionBar">
+ <child>
+ <object class="GtkButton">
+ <property name="label">Cancel</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/ui/resources/meson.build b/ui/resources/meson.build
new file mode 100644
index 0000000..0642a3f
--- /dev/null
+++ b/ui/resources/meson.build
@@ -0,0 +1,5 @@
+gnome = import('gnome')
+
+main_res = gnome.compile_resources('vl-res',
+ files('vaclaunch.gresource.xml'),
+ c_name : 'vl')
diff --git a/ui/resources/progress.ui b/ui/resources/progress.ui
new file mode 100644
index 0000000..e49d9e0
--- /dev/null
+++ b/ui/resources/progress.ui
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk" version="4.0"/>
+ <object class="GtkWindow" id="window">
+ <property name="decorated">false</property>
+ <property name="modal">true</property>
+ <property name="resizable">false</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkProgressBar" id="progress">
+ <property name="width-request">250</property>
+ <property name="text">Doing operation</property>
+ <property name="show-text">true</property>
+ <property name="fraction">0.25</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>
+ </object>
+ </child>
+ <child>
+ <object class="GtkActionBar">
+ <child type="end">
+ <object class="GtkButton" id="btn-cancel">
+ <property name="label">Cancel</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/ui/resources/vaclaunch.gresource.xml b/ui/resources/vaclaunch.gresource.xml
new file mode 100644
index 0000000..10c76d5
--- /dev/null
+++ b/ui/resources/vaclaunch.gresource.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/dev/figboot/vaclaunch">
+ <file compressed="true" preprocess="xml-stripblanks">progress.ui</file>
+ </gresource>
+</gresources>