| 1 | <?xml version="1.0"?> |
| 2 | <glade-interface> |
| 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> |
| 16 | <child> |
| 17 | <widget class="GtkVBox" id="vbox1"> |
| 18 | <property name="visible">True</property> |
| 19 | <property name="spacing">12</property> |
| 20 | <child> |
| 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). |
| 24 | |
| 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. |
| 26 | |
| 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> |
| 29 | </widget> |
| 30 | <packing> |
| 31 | <property name="position">0</property> |
| 32 | </packing> |
| 33 | </child> |
| 34 | <child> |
| 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> |
| 41 | <child> |
| 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> |
| 46 | <child> |
| 47 | <widget class="GtkHBox" id="hbox2"> |
| 48 | <property name="visible">True</property> |
| 49 | <child> |
| 50 | <widget class="GtkImage" id="image1"> |
| 51 | <property name="visible">True</property> |
| 52 | <property name="stock">gtk-copy</property> |
| 53 | </widget> |
| 54 | <packing> |
| 55 | <property name="expand">False</property> |
| 56 | <property name="fill">False</property> |
| 57 | <property name="position">0</property> |
| 58 | </packing> |
| 59 | </child> |
| 60 | <child> |
| 61 | <widget class="GtkLabel" id="label4"> |
| 62 | <property name="visible">True</property> |
| 63 | <property name="label" translatable="yes">Copy PC IP to Clipboard</property> |
| 64 | </widget> |
| 65 | <packing> |
| 66 | <property name="position">1</property> |
| 67 | </packing> |
| 68 | </child> |
| 69 | </widget> |
| 70 | </child> |
| 71 | </widget> |
| 72 | <packing> |
| 73 | <property name="left_attach">1</property> |
| 74 | <property name="right_attach">2</property> |
| 75 | </packing> |
| 76 | </child> |
| 77 | <child> |
| 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"/> |
| 84 | </widget> |
| 85 | <packing> |
| 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> |
| 90 | </packing> |
| 91 | </child> |
| 92 | <child> |
| 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> |
| 100 | </widget> |
| 101 | </child> |
| 102 | <child> |
| 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> |
| 111 | </widget> |
| 112 | <packing> |
| 113 | <property name="top_attach">1</property> |
| 114 | <property name="bottom_attach">2</property> |
| 115 | </packing> |
| 116 | </child> |
| 117 | </widget> |
| 118 | <packing> |
| 119 | <property name="padding">2</property> |
| 120 | <property name="position">1</property> |
| 121 | </packing> |
| 122 | </child> |
| 123 | <child> |
| 124 | <widget class="GtkVBox" id="vbox2"> |
| 125 | <property name="visible">True</property> |
| 126 | <property name="spacing">6</property> |
| 127 | <child> |
| 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> |
| 132 | </widget> |
| 133 | <packing> |
| 134 | <property name="position">0</property> |
| 135 | </packing> |
| 136 | </child> |
| 137 | <child> |
| 138 | <widget class="GtkHBox" id="hbox1"> |
| 139 | <property name="visible">True</property> |
| 140 | <child> |
| 141 | <widget class="GtkLabel" id="label3"> |
| 142 | <property name="visible">True</property> |
| 143 | <property name="label" translatable="yes">Port Number</property> |
| 144 | </widget> |
| 145 | <packing> |
| 146 | <property name="position">0</property> |
| 147 | </packing> |
| 148 | </child> |
| 149 | <child> |
| 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> |
| 155 | </widget> |
| 156 | <packing> |
| 157 | <property name="position">1</property> |
| 158 | </packing> |
| 159 | </child> |
| 160 | </widget> |
| 161 | <packing> |
| 162 | <property name="position">1</property> |
| 163 | </packing> |
| 164 | </child> |
| 165 | </widget> |
| 166 | <packing> |
| 167 | <property name="position">2</property> |
| 168 | </packing> |
| 169 | </child> |
| 170 | </widget> |
| 171 | <packing> |
| 172 | <property name="position">1</property> |
| 173 | </packing> |
| 174 | </child> |
| 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> |
| 179 | <child> |
| 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> |
| 185 | <child> |
| 186 | <widget class="GtkHBox" id="hbox3"> |
| 187 | <property name="visible">True</property> |
| 188 | <child> |
| 189 | <widget class="GtkImage" id="image2"> |
| 190 | <property name="visible">True</property> |
| 191 | <property name="stock">gtk-network</property> |
| 192 | </widget> |
| 193 | <packing> |
| 194 | <property name="expand">False</property> |
| 195 | <property name="fill">False</property> |
| 196 | <property name="position">0</property> |
| 197 | </packing> |
| 198 | </child> |
| 199 | <child> |
| 200 | <widget class="GtkLabel" id="label5"> |
| 201 | <property name="visible">True</property> |
| 202 | <property name="label" translatable="yes">Start Game</property> |
| 203 | </widget> |
| 204 | <packing> |
| 205 | <property name="position">1</property> |
| 206 | </packing> |
| 207 | </child> |
| 208 | </widget> |
| 209 | </child> |
| 210 | </widget> |
| 211 | <packing> |
| 212 | <property name="expand">False</property> |
| 213 | <property name="fill">False</property> |
| 214 | <property name="position">0</property> |
| 215 | </packing> |
| 216 | </child> |
| 217 | <child> |
| 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> |
| 223 | <child> |
| 224 | <widget class="GtkHBox" id="hbox4"> |
| 225 | <property name="visible">True</property> |
| 226 | <child> |
| 227 | <widget class="GtkImage" id="image3"> |
| 228 | <property name="visible">True</property> |
| 229 | <property name="stock">gtk-no</property> |
| 230 | </widget> |
| 231 | <packing> |
| 232 | <property name="expand">False</property> |
| 233 | <property name="fill">False</property> |
| 234 | <property name="position">0</property> |
| 235 | </packing> |
| 236 | </child> |
| 237 | <child> |
| 238 | <widget class="GtkLabel" id="label6"> |
| 239 | <property name="visible">True</property> |
| 240 | <property name="label" translatable="yes">Play Offline</property> |
| 241 | </widget> |
| 242 | <packing> |
| 243 | <property name="position">1</property> |
| 244 | </packing> |
| 245 | </child> |
| 246 | </widget> |
| 247 | </child> |
| 248 | </widget> |
| 249 | <packing> |
| 250 | <property name="expand">False</property> |
| 251 | <property name="fill">False</property> |
| 252 | <property name="position">1</property> |
| 253 | </packing> |
| 254 | </child> |
| 255 | </widget> |
| 256 | <packing> |
| 257 | <property name="expand">False</property> |
| 258 | <property name="pack_type">end</property> |
| 259 | <property name="position">0</property> |
| 260 | </packing> |
| 261 | </child> |
| 262 | </widget> |
| 263 | </child> |
| 264 | </widget> |
| 265 | </glade-interface> |