controls-grid.ui 5.02 KB
Newer Older
Iulian Radu's avatar
Iulian Radu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<interface>
    <template class="ControlsGrid" parent="GtkGrid">
        <property name="visible">True</property>
        <property name="valign">center</property>
        <property name="halign">center</property>
        <property name="vexpand">True</property>
        <property name="row_spacing">5</property>
        <property name="column_spacing">5</property>
        <child>
            <object class="GtkLabel" id="name_label">
                <property name="visible">True</property>
                <property name="label" translatable="yes">Player</property>
            </object>
            <packing>
                <property name="left-attach">0</property>
                <property name="top-attach">0</property>
                <property name="width">5</property>
            </packing>
        </child>
        <child>
            <object class="GtkImage" id="arrow_up">
                <property name="visible">True</property>
            </object>
            <packing>
                <property name="left-attach">2</property>
                <property name="top-attach">1</property>
            </packing>
        </child>
        <child>
            <object class="GtkOverlay" id="move_up">
                <property name="visible">True</property>
                <child>
                    <object class="GtkLabel" id="move_up_label">
                        <property name="visible">True</property>
Iulian Radu's avatar
Iulian Radu committed
35 36
                        <property name="height-request">45</property>
                        <property name="width-request">45</property>
37
                        <style><class name="controls-button"/></style>
Iulian Radu's avatar
Iulian Radu committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
                    </object>
                </child>
            </object>
            <packing>
                <property name="left-attach">2</property>
                <property name="top-attach">2</property>
            </packing>
        </child>
        <child>
            <object class="GtkImage" id="arrow_left">
                <property name="visible">True</property>
            </object>
            <packing>
                <property name="left-attach">0</property>
                <property name="top-attach">3</property>
            </packing>
        </child>
        <child>
            <object class="GtkOverlay" id="move_left">
                <property name="visible">True</property>
                <child>
                    <object class="GtkLabel" id="move_left_label">
                        <property name="visible">True</property>
Iulian Radu's avatar
Iulian Radu committed
61 62
                        <property name="height-request">45</property>
                        <property name="width-request">45</property>
63
                        <style><class name="controls-button"/></style>
Iulian Radu's avatar
Iulian Radu committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77
                    </object>
                </child>
            </object>
            <packing>
                <property name="left-attach">1</property>
                <property name="top-attach">3</property>
            </packing>
        </child>
        <child>
            <object class="GtkOverlay" id="move_right">
                <property name="visible">True</property>
                <child>
                    <object class="GtkLabel" id="move_right_label">
                        <property name="visible">True</property>
Iulian Radu's avatar
Iulian Radu committed
78 79
                        <property name="height-request">45</property>
                        <property name="width-request">45</property>
80
                        <style><class name="controls-button"/></style>
Iulian Radu's avatar
Iulian Radu committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
                    </object>
                </child>
            </object>
            <packing>
                <property name="left-attach">3</property>
                <property name="top-attach">3</property>
            </packing>
        </child>
        <child>
            <object class="GtkImage" id="arrow_right">
                <property name="visible">True</property>
            </object>
            <packing>
                <property name="left-attach">4</property>
                <property name="top-attach">3</property>
            </packing>
        </child>
        <child>
            <object class="GtkOverlay" id="move_down">
                <property name="visible">True</property>
                <child>
                    <object class="GtkLabel" id="move_down_label">
                        <property name="visible">True</property>
Iulian Radu's avatar
Iulian Radu committed
104 105
                        <property name="height-request">45</property>
                        <property name="width-request">45</property>
106
                        <style><class name="controls-button"/></style>
Iulian Radu's avatar
Iulian Radu committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
                    </object>
                </child>
            </object>
            <packing>
                <property name="left-attach">2</property>
                <property name="top-attach">4</property>
            </packing>
        </child>
        <child>
            <object class="GtkImage" id="arrow_down">
                <property name="visible">True</property>
            </object>
            <packing>
                <property name="left-attach">2</property>
                <property name="top-attach">5</property>
            </packing>
        </child>
    </template>
</interface>