complete cards/game
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -6,14 +6,15 @@
|
||||
<file compressed="true" preprocess="xml-stripblanks">cards/edit/ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">cards/setup/ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">cards/new/ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">cards/game/ui.xml</file>
|
||||
|
||||
|
||||
<file compressed="true" preprocess="xml-stripblanks">guessing/game/ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">guessing/setup/ui.xml</file>
|
||||
|
||||
<!-- <file compressed="true" preprocess="xml-stripblanks">cards/game/ui.xml</file> -->
|
||||
|
||||
<file compressed="true" preprocess="xml-stripblanks">widgets/labled_switch/template.ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">widgets/card_entry/template.ui.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">widgets/card_display/template.ui.xml</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
18
resources/widgets/card_display/template.ui.xml
Normal file
18
resources/widgets/card_display/template.ui.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="CardDisplay" parent="GtkWidget">
|
||||
<child>
|
||||
<object class="GtkPicture" id="picture">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
<property name="valign">GTK_ALIGN_CENTER</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkEntry" id="answer_entry">
|
||||
<property name="halign">GTK_ALIGN_CENTER</property>
|
||||
<property name="valign">GTK_ALIGN_START</property>
|
||||
<property name="placeholder-text">Type kana that picture means</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
Reference in New Issue
Block a user