3 <!-- interface-requires gtk+ 2.8 -->
4 <!-- interface-naming-policy project-wide -->
5 <widget class="GtkDialog" id="dlgStart">
6 <property name="border_width">5</property>
7 <property name="resizable">False</property>
8 <property name="modal">True</property>
9 <property name="window_position">center</property>
10 <property name="type_hint">normal</property>
11 <property name="has_separator">False</property>
12 <child internal-child="vbox">
13 <widget class="GtkVBox" id="dialog-vbox1">
14 <property name="visible">True</property>
15 <property name="spacing">5</property>
17 <widget class="GtkVBox" id="vbox1">
18 <property name="visible">True</property>
19 <property name="spacing">12</property>
21 <widget class="GtkLabel" id="label1">
22 <property name="visible">True</property>
23 <property name="label" translatable="yes">Select here if you'll be Server (Player1) or Client (Player2).
25 If you select Server you must Copy your IP address to the Clipboard and paste if (Ctrl+V) wherever the Client can see it.
27 If you selected Client please enter the IP address the Server gave to you in the IP Address Control.</property>
28 <property name="wrap">True</property>
31 <property name="position">0</property>
35 <widget class="GtkTable" id="table1">
36 <property name="visible">True</property>
37 <property name="n_rows">2</property>
38 <property name="n_columns">2</property>
39 <property name="column_spacing">8</property>
40 <property name="row_spacing">12</property>
42 <widget class="GtkButton" id="btnCopyIP">
43 <property name="visible">True</property>
44 <property name="can_focus">True</property>
45 <property name="receives_default">True</property>
47 <widget class="GtkHBox" id="hbox2">
48 <property name="visible">True</property>
50 <widget class="GtkImage" id="image1">
51 <property name="visible">True</property>
52 <property name="stock">gtk-copy</property>
55 <property name="expand">False</property>
56 <property name="fill">False</property>
57 <property name="position">0</property>
61 <widget class="GtkLabel" id="label4">
62 <property name="visible">True</property>
63 <property name="label" translatable="yes">Copy PC IP to Clipboard</property>
66 <property name="position">1</property>
73 <property name="left_attach">1</property>
74 <property name="right_attach">2</property>
78 <widget class="GtkEntry" id="tbServerIP">
79 <property name="visible">True</property>
80 <property name="can_focus">True</property>
81 <property name="max_length">15</property>
82 <property name="invisible_char">●</property>
83 <signal name="activate" handler="on_tbServerIP_activate"/>
86 <property name="left_attach">1</property>
87 <property name="right_attach">2</property>
88 <property name="top_attach">1</property>
89 <property name="bottom_attach">2</property>
93 <widget class="GtkRadioButton" id="rbServer">
94 <property name="label" translatable="yes">Server (Player1)</property>
95 <property name="visible">True</property>
96 <property name="can_focus">True</property>
97 <property name="receives_default">False</property>
98 <property name="active">True</property>
99 <property name="draw_indicator">True</property>
103 <widget class="GtkRadioButton" id="rbClient">
104 <property name="label" translatable="yes">Client (Player2)</property>
105 <property name="visible">True</property>
106 <property name="can_focus">True</property>
107 <property name="receives_default">False</property>
108 <property name="active">True</property>
109 <property name="draw_indicator">True</property>
110 <property name="group">rbServer</property>
113 <property name="top_attach">1</property>
114 <property name="bottom_attach">2</property>
119 <property name="padding">2</property>
120 <property name="position">1</property>
124 <widget class="GtkVBox" id="vbox2">
125 <property name="visible">True</property>
126 <property name="spacing">6</property>
128 <widget class="GtkLabel" id="label2">
129 <property name="visible">True</property>
130 <property name="label" translatable="yes">Do not change if not necessary (remember it must be changed on both sides).</property>
131 <property name="wrap">True</property>
134 <property name="position">0</property>
138 <widget class="GtkHBox" id="hbox1">
139 <property name="visible">True</property>
141 <widget class="GtkLabel" id="label3">
142 <property name="visible">True</property>
143 <property name="label" translatable="yes">Port Number</property>
146 <property name="position">0</property>
150 <widget class="GtkEntry" id="tbPort">
151 <property name="visible">True</property>
152 <property name="can_focus">True</property>
153 <property name="max_length">5</property>
154 <property name="invisible_char">●</property>
157 <property name="position">1</property>
162 <property name="position">1</property>
167 <property name="position">2</property>
172 <property name="position">1</property>
175 <child internal-child="action_area">
176 <widget class="GtkHButtonBox" id="dialog-action_area1">
177 <property name="visible">True</property>
178 <property name="layout_style">end</property>
180 <widget class="GtkButton" id="btnStart">
181 <property name="response_id">-5</property>
182 <property name="visible">True</property>
183 <property name="can_focus">True</property>
184 <property name="receives_default">True</property>
186 <widget class="GtkHBox" id="hbox3">
187 <property name="visible">True</property>
189 <widget class="GtkImage" id="image2">
190 <property name="visible">True</property>
191 <property name="stock">gtk-network</property>
194 <property name="expand">False</property>
195 <property name="fill">False</property>
196 <property name="position">0</property>
200 <widget class="GtkLabel" id="label5">
201 <property name="visible">True</property>
202 <property name="label" translatable="yes">Start Game</property>
205 <property name="position">1</property>
212 <property name="expand">False</property>
213 <property name="fill">False</property>
214 <property name="position">0</property>
218 <widget class="GtkButton" id="btnOffline">
219 <property name="response_id">-6</property>
220 <property name="visible">True</property>
221 <property name="can_focus">True</property>
222 <property name="receives_default">True</property>
224 <widget class="GtkHBox" id="hbox4">
225 <property name="visible">True</property>
227 <widget class="GtkImage" id="image3">
228 <property name="visible">True</property>
229 <property name="stock">gtk-no</property>
232 <property name="expand">False</property>
233 <property name="fill">False</property>
234 <property name="position">0</property>
238 <widget class="GtkLabel" id="label6">
239 <property name="visible">True</property>
240 <property name="label" translatable="yes">Play Offline</property>
243 <property name="position">1</property>
250 <property name="expand">False</property>
251 <property name="fill">False</property>
252 <property name="position">1</property>
257 <property name="expand">False</property>
258 <property name="pack_type">end</property>
259 <property name="position">0</property>