wesnoth/data/gui/default/window/mp_method_selection.cfg
Mark de Wever 8e4145ebb7 Added the option to use a double click on a toggle button and panel...
...to close the window. Also added it to listboxes used.
2008-06-24 15:48:04 +00:00

236 lines
3.6 KiB
INI

###
### Definition of the window select the way to access the addon server.
###
[window]
id = "mp_method_selection"
description = "Language selection dialog."
[resolution]
definition = "default"
automatic_placement = "true"
vertical_placement = "center"
horizontal_placement = "center"
[grid]
[row]
grow_factor = 0
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "left"
[label]
definition = "title"
label = _ "Multiplayer"
[/label]
[/column]
[/row]
[row]
grow_factor = 1
[column]
grow_factor = 1
horizontal_grow = "true"
[grid]
[row]
grow_factor = 1
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[label]
definition = "default"
label = _ "Login:"
[/label]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = "true"
[text_box]
id = "user_name"
definition = "default"
history = "mp_user_name_history"
label = ""
[/text_box]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
grow_factor = 1
vertical_grow = "true"
[column]
grow_factor = 1
horizontal_grow = "true"
border = "all"
border_size = 5
horizontal_alignment = "right"
[listbox]
id = "method_list"
definition = "default"
assume_fixed_row_size = "true"
[list_definition]
[row]
[column]
grow_factor = 1
horizontal_grow = "true"
[toggle_button]
definition = "listbox_text_with_icon"
return_value = -1
[/toggle_button]
[/column]
[/row]
[/list_definition]
[list_data]
[row]
[column]
retval = 1
label = _ "Join Official Server"
tooltip = _ "Log on to the official Wesnoth multiplayer server"
icon = "icons/icon-server.png"
[/column]
[/row]
[row]
[column]
retval = 2
label = _ "Connect to Server"
tooltip = _ "Join a different server"
icon = "icons/icon-serverother.png"
[/column]
[/row]
[row]
[column]
retval = 3
label = _ "Host Networked Game"
tooltip = _ "Host a game using dedicated server 'wesnothd"
icon = "icons/icon-hostgame.png"
[/column]
[/row]
[row]
[column]
retval = 4
label = _ "Local Game"
tooltip = _ "Play a multiplayer game with the AI or humans sharing the same machine"
icon = "icons/icon-hotseat.png"
[/column]
[/row]
[/list_data]
[/listbox]
[/column]
[/row]
[row]
grow_factor = 0
[column]
grow_factor = 1
horizontal_grow = "true"
[grid]
[row]
grow_factor = 0
[column]
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "ok"
definition = "default"
label = _ "Ok"
[/button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "cancel"
definition = "default"
label = _ "Cancel"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/resolution]
[/window]