finished wishlist
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><g fill="#241f31"><path d="m 6.5 4.992188 h 2 c 0.277344 0 0.5 -0.222657 0.5 -0.5 c 0 -0.277344 -0.222656 -0.5 -0.5 -0.5 h -2 c -0.277344 0 -0.5 0.222656 -0.5 0.5 c 0 0.277343 0.222656 0.5 0.5 0.5 z m 0 2 h 2 c 0.277344 0 0.5 -0.222657 0.5 -0.5 c 0 -0.277344 -0.222656 -0.5 -0.5 -0.5 h -2 c -0.277344 0 -0.5 0.222656 -0.5 0.5 c 0 0.277343 0.222656 0.5 0.5 0.5 z m 0 2 h 2 c 0.277344 0 0.5 -0.222657 0.5 -0.5 c 0 -0.277344 -0.222656 -0.5 -0.5 -0.5 h -2 c -0.277344 0 -0.5 0.222656 -0.5 0.5 c 0 0.277343 0.222656 0.5 0.5 0.5 z m 0 0"/><path d="m 11 5.992188 h 5 v -2.96875 c 0 -1.65625 -1.34375 -3.0000005 -3 -3.0000005 s -3 1.3437505 -3 3.0000005 v 9.96875 c 0 0.5625 -0.4375 1 -1 1 s -1 -0.4375 -1 -1 v -3 h -8 v 3 c 0 1.65625 1.34375 3 3 3 h 6 v -2 h -6 c -0.5625 0 -1 -0.4375 -1 -1 v -2 l -1 1 h 6 l -1 -1 v 2 c 0 1.65625 1.34375 3 3 3 s 3 -1.34375 3 -3 v -9.96875 c 0 -0.5625 0.4375 -1 1 -1 s 1 0.4375 1 1 v 1.96875 l 1 -1 h -4 z m 0 0"/><path d="m 5 10.992188 v -8 c 0 -0.5625 0.4375 -1 1 -1 h 7 c 0.550781 0 1 -0.449219 1 -1 c 0 -0.550782 -0.449219 -1.0000005 -1 -1.0000005 h -7 c -1.65625 0 -3 1.3437505 -3 3.0000005 v 8 c 0 0.550781 0.449219 1 1 1 s 1 -0.449219 1 -1 z m 0 0"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 8 0 c -4.402344 0 -8 3.597656 -8 8 s 3.597656 8 8 8 s 8 -3.597656 8 -8 s -3.597656 -8 -8 -8 z m 0 1.980469 c 3.339844 0 6.015625 2.679687 6.015625 6.019531 s -2.675781 6.019531 -6.015625 6.019531 s -6.019531 -2.679687 -6.019531 -6.019531 s 2.679687 -6.019531 6.019531 -6.019531 z m -4 5.050781 v 2 h 8 v -2 z m 0 0" fill="#222222"/></svg>
|
||||
|
After Width: | Height: | Size: 476 B |
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 8 0 c -4.402344 0 -8 3.597656 -8 8 s 3.597656 8 8 8 s 8 -3.597656 8 -8 s -3.597656 -8 -8 -8 z m 0 1.980469 c 3.339844 0 6.015625 2.679687 6.015625 6.019531 s -2.675781 6.019531 -6.015625 6.019531 s -6.019531 -2.679687 -6.019531 -6.019531 s 2.679687 -6.019531 6.019531 -6.019531 z m -1 2.050781 v 3 h -3 v 2 h 3 v 3 h 2 v -3 h 3 v -2 h -3 v -3 z m 0 0" fill="#222222"/></svg>
|
||||
|
After Width: | Height: | Size: 512 B |
@@ -9,8 +9,10 @@ blueprints = custom_target('blueprints',
|
||||
'ui/checklist.blp',
|
||||
'ui/settings.blp',
|
||||
'ui/welcome.blp',
|
||||
'ui/home.blp'
|
||||
),
|
||||
'ui/home.blp',
|
||||
'ui/wishlist.blp',
|
||||
'ui/framepicker.blp'
|
||||
),
|
||||
output: '.',
|
||||
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT', '@CURRENT_SOURCE_DIRECTORY@' , '@INPUT@'],
|
||||
)
|
||||
|
||||
@@ -29,3 +29,9 @@ flowboxchild:hover {
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.list-title > box > box.header {
|
||||
font-size: 1.75rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
33
data/resources/ui/framepicker.blp
Normal file
33
data/resources/ui/framepicker.blp
Normal file
@@ -0,0 +1,33 @@
|
||||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $FramePickerDialog: Adw.Dialog {
|
||||
content-width: 400;
|
||||
content-height: 300;
|
||||
|
||||
child: Adw.ToolbarView {
|
||||
content: Box {
|
||||
orientation: vertical;
|
||||
spacing: 12;
|
||||
margin-top: 12;
|
||||
margin-bottom: 12;
|
||||
margin-start: 12;
|
||||
margin-end: 12;
|
||||
|
||||
SearchEntry search_entry {
|
||||
placeholder-text: _("Search missing warframes…");
|
||||
search-changed => $on_search_changed();
|
||||
}
|
||||
|
||||
ScrolledWindow {
|
||||
vexpand: true;
|
||||
|
||||
ListBox frame_list {
|
||||
selection-mode: single;
|
||||
styles [ "boxed-list" ]
|
||||
row-activated => $on_row_activated();
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
47
data/resources/ui/framepicker.ui
Normal file
47
data/resources/ui/framepicker.ui
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
DO NOT EDIT!
|
||||
This file was @generated by blueprint-compiler. Instead, edit the
|
||||
corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
-->
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<template class="FramePickerDialog" parent="AdwDialog">
|
||||
<property name="content-width">400</property>
|
||||
<property name="content-height">300</property>
|
||||
<property name="child">
|
||||
<object class="AdwToolbarView">
|
||||
<property name="content">
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">1</property>
|
||||
<property name="spacing">12</property>
|
||||
<property name="margin-top">12</property>
|
||||
<property name="margin-bottom">12</property>
|
||||
<property name="margin-start">12</property>
|
||||
<property name="margin-end">12</property>
|
||||
<child>
|
||||
<object class="GtkSearchEntry" id="search_entry">
|
||||
<property name="placeholder-text" translatable="yes">Search missing warframes…</property>
|
||||
<signal name="search-changed" handler="on_search_changed"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="vexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkListBox" id="frame_list">
|
||||
<property name="selection-mode">1</property>
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<signal name="row-activated" handler="on_row_activated"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</property>
|
||||
</template>
|
||||
</interface>
|
||||
@@ -7,6 +7,9 @@ template $HomePage: Box {
|
||||
Adw.Clamp {
|
||||
Adw.PreferencesGroup {
|
||||
title: _("Welcome back, Tenno");
|
||||
styles [
|
||||
'list-title'
|
||||
]
|
||||
Adw.ActionRow {
|
||||
title: _("Owned Unique Frames:");
|
||||
title-selectable: false;
|
||||
|
||||
@@ -14,6 +14,9 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Welcome back, Tenno</property>
|
||||
<style>
|
||||
<class name="list-title"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Owned Unique Frames:</property>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $WishlistPage: Gtk.Box {
|
||||
orientation: vertical;
|
||||
baseline-position: center;
|
||||
Adw.Clamp {
|
||||
Adw.PreferencesGroup wishlist {
|
||||
header-suffix: Button btn_wishlist_add {
|
||||
icon-name: 'plus-circle-outline-symbolic';
|
||||
styles [
|
||||
'flat',
|
||||
'circular',
|
||||
'suggested-action'
|
||||
]
|
||||
};
|
||||
separate-rows: true;
|
||||
title: _("Wishlist");
|
||||
styles [
|
||||
"list-title"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
36
data/resources/ui/wishlist.ui
Normal file
36
data/resources/ui/wishlist.ui
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
DO NOT EDIT!
|
||||
This file was @generated by blueprint-compiler. Instead, edit the
|
||||
corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
-->
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<template class="WishlistPage" parent="GtkBox">
|
||||
<property name="orientation">1</property>
|
||||
<property name="baseline-position">1</property>
|
||||
<child>
|
||||
<object class="AdwClamp">
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup" id="wishlist">
|
||||
<property name="header-suffix">
|
||||
<object class="GtkButton" id="btn_wishlist_add">
|
||||
<property name="icon-name">plus-circle-outline-symbolic</property>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
<class name="circular"/>
|
||||
<class name="suggested-action"/>
|
||||
</style>
|
||||
</object>
|
||||
</property>
|
||||
<property name="separate-rows">true</property>
|
||||
<property name="title" translatable="yes">Wishlist</property>
|
||||
<style>
|
||||
<class name="list-title"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
@@ -6,13 +6,16 @@
|
||||
<file preprocess="xml-stripblanks">ui/shortcuts-dialog.ui</file>
|
||||
<file preprocess="xml-stripblanks">ui/checklist.ui</file>
|
||||
<file preprocess="xml-stripblanks">ui/home.ui</file>
|
||||
<file preprocess="xml-stripblanks">ui/settings.ui</file>
|
||||
<file preprocess="xml-stripblanks">ui/wishlist.ui</file>
|
||||
<file preprocess="xml-stripblanks">ui/welcome.ui</file>
|
||||
<file preprocess="xml-stripblanks">ui/framepicker.ui</file>
|
||||
</gresource>
|
||||
<gresource prefix="/gay/valhrafnaz/Voidmanifest/">
|
||||
<file preprocess="xml-stripblanks">icons/hicolor/symbolic/actions/floppy-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/hicolor/symbolic/actions/check-round-outline2-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/hicolor/symbolic/actions/compass2-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/hicolor/symbolic/actions/settings-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/hicolor/symbolic/actions/logs-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/hicolor/symbolic/actions/minus-circle-outline-symbolic.svg</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
||||
Reference in New Issue
Block a user