complete cards/game

This commit is contained in:
2024-04-07 14:08:57 +03:00
parent 24acb4ecd1
commit 857613a01d
10 changed files with 257 additions and 29 deletions

View File

@@ -1,18 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="MemoryCardsSetupScene" parent="GtkApplicationWindow">
<property name="title">Memory cards setup</property>
<template class="MemoryCardsGameScene" parent="GtkApplicationWindow">
<property name="title">Memory cards game</property>
<child>
<object class="GtkBox" id="content">
<property name="orientation">horizontal</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="edit_button">
<property name="label">Edit cards</property>
</object>
<object class="CardDisplay" id="card_display"></object>
</child>
<child>
<object class="GtkButton" id="start_button">
<property name="label">start game</property>
<object class="GtkLabel" id="stats_label">
<property name="label">Correct|Incorrect: 0|0</property>
</object>
</child>
</object>