Native UI
This commit is contained in:
parent
2df26b8ce0
commit
bf75b8b652
23 changed files with 841 additions and 5 deletions
12
native/data/resources/application-window.ui
Normal file
12
native/data/resources/application-window.ui
Normal 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>
|
||||
12
native/data/resources/liveschedule.gresource.xml
Normal file
12
native/data/resources/liveschedule.gresource.xml
Normal 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>
|
||||
3
native/data/resources/meson.build
Normal file
3
native/data/resources/meson.build
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
liveschedule_sources += gnome.compile_resources('ls-resources',
|
||||
'liveschedule.gresource.xml',
|
||||
c_name: 'liveschedule')
|
||||
Loading…
Add table
Add a link
Reference in a new issue