mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 19:40:32 +00:00

...including the server list dialog, to the new widget library. (The listbox widget needs some redesigning since it starts it looks rather bad with two columns (which can be fixed with a small hack but rather find a cleaner way in general).)
207 lines
2.9 KiB
INI
207 lines
2.9 KiB
INI
###
|
|
### Definition of the window to connect to the MP server
|
|
###
|
|
|
|
[window]
|
|
id = "mp_connect"
|
|
description = "Addon server connection 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 = _ "Connect to Server"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
[label]
|
|
definition = "default"
|
|
|
|
label = _ "You will now connect to the multiplayer server."
|
|
[/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 = _ "Server:"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_grow = "true"
|
|
|
|
[text_box]
|
|
id = "host_name"
|
|
definition = "default"
|
|
history = "mp_connect_history"
|
|
|
|
label = ""
|
|
[/text_box]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
[spacer]
|
|
definition = "default"
|
|
[/spacer]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
|
|
[spacer]
|
|
definition = "default"
|
|
[/spacer]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "list"
|
|
definition = "default"
|
|
|
|
label = _ "View List"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
|
|
[spacer]
|
|
definition = "default"
|
|
[/spacer]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "ok"
|
|
definition = "default"
|
|
|
|
size_text = _ "Connect"
|
|
label = _ "Connect"
|
|
[/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]
|