Native UI

This commit is contained in:
Julia Johannesen 2026-03-30 19:39:30 -04:00
parent 2df26b8ce0
commit bf75b8b652
Signed by: julia
GPG key ID: 4A1377AF3E7FBC46
23 changed files with 841 additions and 5 deletions

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="LSApplicationWindow" parent="GtkApplicationWindow">
<property name="title" translatable="yes">Live Schedule</property>
<property name="default-width">1400</property>
<property name="default-height">900</property>
<child>
<object class="LSWebView"></object>
</child>
</template>
</interface>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/space/arimelody/LiveSchedule">
<file compressed="true" preprocess="xml-stripblanks">application-window.ui</file>
</gresource>
<gresource prefix="/space/arimelody/LiveSchedule/webview">
<file alias="index.html" compressed="true">../../../index.html</file>
<file alias="main.js" compressed="true">../../../main.js</file>
<file alias="style.css" compressed="true">../../../style.css</file>
<file alias="background.png">../../../background.png</file>
</gresource>
</gresources>

View file

@ -0,0 +1,3 @@
liveschedule_sources += gnome.compile_resources('ls-resources',
'liveschedule.gresource.xml',
c_name: 'liveschedule')