guessing is completed

This commit is contained in:
2024-04-02 15:23:56 +03:00
parent b01e248971
commit 3e4a55f33f
12 changed files with 82 additions and 53 deletions

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -1,3 +1,3 @@
pub mod edit;
pub mod game;
pub mod setup;
pub mod setup;

View File

@@ -2,14 +2,13 @@ use glib::subclass::InitializingObject;
use gtk::subclass::prelude::*;
use gtk::{glib, Button, CompositeTemplate};
#[derive(CompositeTemplate, Default)]
#[template(resource = "/org/foxarmy/learn-hieroglyph/cards/settings/ui.xml")]
pub struct MemoryCardsSetupScene {
#[template_child]
pub edit_button: TemplateChild<Button>,
#[template_child]
pub start_button: TemplateChild<Button>
pub start_button: TemplateChild<Button>,
}
#[glib::object_subclass]
@@ -29,9 +28,7 @@ impl ObjectSubclass for MemoryCardsSetupScene {
impl ObjectImpl for MemoryCardsSetupScene {
fn constructed(&self) {
self.parent_constructed();
}
}
@@ -39,4 +36,4 @@ impl WidgetImpl for MemoryCardsSetupScene {}
impl WindowImpl for MemoryCardsSetupScene {}
impl ApplicationWindowImpl for MemoryCardsSetupScene {}
impl ApplicationWindowImpl for MemoryCardsSetupScene {}