1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Generated with glade 3.22.2
3
4pioneers-editor - Main window
5Copyright (C) 2020 Roland Clobus
6
7This program is free software; you can redistribute it and/or
8modify it under the terms of the GNU General Public License
9as published by the Free Software Foundation; either version 2
10of the License, or (at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20
21Author: Roland Clobus
22
23-->
24<interface>
25  <requires lib="gtk+" version="3.20"/>
26  <!-- interface-license-type gplv2 -->
27  <!-- interface-name pioneers-editor -->
28  <!-- interface-description Main window -->
29  <!-- interface-copyright 2020 Roland Clobus -->
30  <!-- interface-authors Roland Clobus -->
31  <object class="GtkWindow" id="toplevel">
32    <property name="can_focus">False</property>
33    <child type="titlebar">
34      <placeholder/>
35    </child>
36    <child>
37      <object class="GtkBox">
38        <property name="visible">True</property>
39        <property name="can_focus">False</property>
40        <property name="orientation">vertical</property>
41        <child>
42          <object class="GtkMenuBar" id="main-menu">
43            <property name="visible">True</property>
44            <property name="can_focus">False</property>
45            <child>
46              <object class="GtkMenuItem">
47                <property name="visible">True</property>
48                <property name="can_focus">False</property>
49                <property name="label" translatable="yes" comments="Menu entry">_File</property>
50                <property name="use_underline">True</property>
51                <child type="submenu">
52                  <object class="GtkMenu">
53                    <property name="visible">True</property>
54                    <property name="can_focus">False</property>
55                    <child>
56                      <object class="GtkMenuItem">
57                        <property name="visible">True</property>
58                        <property name="can_focus">False</property>
59                        <property name="tooltip_text" translatable="yes" comments="Tooltip for New menu entry">Create a new game</property>
60                        <property name="accel_path">&lt;File&gt;/New</property>
61                        <property name="label" translatable="yes" comments="Menu entry">_New</property>
62                        <property name="use_underline">True</property>
63                        <signal name="activate" handler="new_game_menu_cb" swapped="no"/>
64                        <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/>
65                      </object>
66                    </child>
67                    <child>
68                      <object class="GtkMenuItem">
69                        <property name="visible">True</property>
70                        <property name="can_focus">False</property>
71                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Open menu entry">Open an existing game</property>
72                        <property name="label" translatable="yes" comments="Menu entry">_Open...</property>
73                        <property name="use_underline">True</property>
74                        <signal name="activate" handler="load_game_menu_cb" swapped="no"/>
75                        <accelerator key="o" signal="activate" modifiers="GDK_CONTROL_MASK"/>
76                      </object>
77                    </child>
78                    <child>
79                      <object class="GtkMenuItem">
80                        <property name="visible">True</property>
81                        <property name="can_focus">False</property>
82                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Save menu entry">Save game</property>
83                        <property name="label" translatable="yes" comments="Menu entry">_Save</property>
84                        <property name="use_underline">True</property>
85                        <signal name="activate" handler="save_game_menu_cb" swapped="no"/>
86                        <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/>
87                      </object>
88                    </child>
89                    <child>
90                      <object class="GtkMenuItem">
91                        <property name="visible">True</property>
92                        <property name="can_focus">False</property>
93                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Save As menu entry">Save as</property>
94                        <property name="label" translatable="yes" comments="Menu entry">Save _As...</property>
95                        <property name="use_underline">True</property>
96                        <signal name="activate" handler="save_as_menu_cb" swapped="no"/>
97                        <accelerator key="s" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
98                      </object>
99                    </child>
100                    <child>
101                      <object class="GtkSeparatorMenuItem">
102                        <property name="visible">True</property>
103                        <property name="can_focus">False</property>
104                      </object>
105                    </child>
106                    <child>
107                      <object class="GtkMenuItem">
108                        <property name="visible">True</property>
109                        <property name="can_focus">False</property>
110                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Change Title menu entry">Change game title</property>
111                        <property name="label" translatable="yes" comments="Menu entry">Change _Title</property>
112                        <property name="use_underline">True</property>
113                        <signal name="activate" handler="change_title_menu_cb" swapped="no"/>
114                      </object>
115                    </child>
116                    <child>
117                      <object class="GtkMenuItem">
118                        <property name="visible">True</property>
119                        <property name="can_focus">False</property>
120                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Check Victory Point Target menu entry">Check whether the game can be won</property>
121                        <property name="label" translatable="yes" comments="Menu entry">_Check Victory Point Target</property>
122                        <property name="use_underline">True</property>
123                        <signal name="activate" handler="check_vp_cb" swapped="no"/>
124                      </object>
125                    </child>
126                    <child>
127                      <object class="GtkSeparatorMenuItem">
128                        <property name="visible">True</property>
129                        <property name="can_focus">False</property>
130                      </object>
131                    </child>
132                    <child>
133                      <object class="GtkMenuItem">
134                        <property name="visible">True</property>
135                        <property name="can_focus">False</property>
136                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Quit menu entry">Quit</property>
137                        <property name="label" translatable="yes" comments="Menu entry">_Quit</property>
138                        <property name="use_underline">True</property>
139                        <signal name="activate" handler="exit_cb" swapped="no"/>
140                        <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
141                      </object>
142                    </child>
143                  </object>
144                </child>
145              </object>
146            </child>
147            <child>
148              <object class="GtkMenuItem">
149                <property name="visible">True</property>
150                <property name="can_focus">False</property>
151                <property name="label" translatable="yes" comments="Menu entry">_View</property>
152                <property name="use_underline">True</property>
153                <child type="submenu">
154                  <object class="GtkMenu">
155                    <property name="visible">True</property>
156                    <property name="can_focus">False</property>
157                    <child>
158                      <object class="GtkCheckMenuItem">
159                        <property name="visible">True</property>
160                        <property name="can_focus">False</property>
161                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Fullscreen menu entry">Set window to full screen mode</property>
162                        <property name="label" translatable="yes" comments="Menu entry">_Fullscreen</property>
163                        <property name="use_underline">True</property>
164                        <signal name="toggled" handler="toggle_full_screen_cb" swapped="no"/>
165                        <accelerator key="Return" signal="activate" modifiers="GDK_MOD1_MASK"/>
166                      </object>
167                    </child>
168                    <child>
169                      <object class="GtkMenuItem">
170                        <property name="visible">True</property>
171                        <property name="can_focus">False</property>
172                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Reset menu entry">View the full map</property>
173                        <property name="label" translatable="yes" comments="Menu entry">_Reset</property>
174                        <property name="use_underline">True</property>
175                        <signal name="activate" handler="zoom_normal_cb" swapped="no"/>
176                        <accelerator key="0" signal="activate" modifiers="GDK_CONTROL_MASK"/>
177                      </object>
178                    </child>
179                    <child>
180                      <object class="GtkMenuItem">
181                        <property name="visible">True</property>
182                        <property name="can_focus">False</property>
183                        <property name="tooltip_text" translatable="yes" comments="Tooltip for Center menu entry">Center the map</property>
184                        <property name="label" translatable="yes" comments="Menu entry">_Center</property>
185                        <property name="use_underline">True</property>
186                        <signal name="activate" handler="zoom_center_map_cb" swapped="no"/>
187                      </object>
188                    </child>
189                  </object>
190                </child>
191              </object>
192            </child>
193            <child>
194              <object class="GtkMenuItem">
195                <property name="visible">True</property>
196                <property name="can_focus">False</property>
197                <property name="label" translatable="yes" comments="Menu entry">_Help</property>
198                <property name="use_underline">True</property>
199                <child type="submenu">
200                  <object class="GtkMenu">
201                    <property name="visible">True</property>
202                    <property name="can_focus">False</property>
203                    <child>
204                      <object class="GtkMenuItem">
205                        <property name="visible">True</property>
206                        <property name="can_focus">False</property>
207                        <property name="tooltip_text" translatable="yes" comments="Tooltip for About Pioneers Editor menu entry">Information about Pioneers Editor</property>
208                        <property name="accel_path">&lt;Help&gt;/About</property>
209                        <property name="label" translatable="yes" comments="Menu entry">_About Pioneers Editor</property>
210                        <property name="use_underline">True</property>
211                        <signal name="activate" handler="about_menu_cb" swapped="no"/>
212                      </object>
213                    </child>
214                  </object>
215                </child>
216              </object>
217            </child>
218          </object>
219          <packing>
220            <property name="expand">False</property>
221            <property name="fill">True</property>
222            <property name="position">0</property>
223          </packing>
224        </child>
225        <child>
226          <object class="GtkNotebook" id="notebook">
227            <property name="visible">True</property>
228            <property name="can_focus">True</property>
229          </object>
230          <packing>
231            <property name="expand">False</property>
232            <property name="fill">True</property>
233            <property name="position">1</property>
234          </packing>
235        </child>
236      </object>
237    </child>
238  </object>
239</interface>
240