mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 16:00:00 +00:00
113 lines
1.8 KiB
INI
113 lines
1.8 KiB
INI
#textdomain wesnoth-lib
|
|
|
|
#
|
|
# Common player list layout used in MP Staging and MP Join Game
|
|
#
|
|
|
|
#define _GUI_MP_PLAYER_LIST_PANEL_LINKED_GROUPS
|
|
[linked_group]
|
|
id = "player_type_icon"
|
|
fixed_width = true
|
|
[/linked_group]
|
|
#enddef
|
|
|
|
#define _GUI_MP_PLAYER_LIST_PANEL_HEADER
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
|
|
[label]
|
|
definition = "title"
|
|
label = _ "Players"
|
|
[/label]
|
|
|
|
[/column]
|
|
#enddef
|
|
|
|
#define _GUI_MP_PLAYER_LIST_PANEL
|
|
[panel]
|
|
definition = "box_display_no_blur_no_border"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
horizontal_grow = true
|
|
vertical_grow = true
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[listbox]
|
|
id = "player_list"
|
|
definition = "default"
|
|
|
|
horizontal_scrollbar_mode = "never"
|
|
|
|
[list_definition]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
horizontal_grow = true
|
|
|
|
[toggle_panel]
|
|
id = "panel"
|
|
definition = "fancy"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
border = "top,left,bottom"
|
|
border_size = 10
|
|
horizontal_grow = true
|
|
|
|
[image]
|
|
id = "player_type_icon"
|
|
definition = "centered"
|
|
linked_group = "player_type_icon"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
border = "all"
|
|
border_size = 10
|
|
horizontal_grow = true
|
|
|
|
[label]
|
|
id = "player_name"
|
|
definition = "default"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/toggle_panel]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/list_definition]
|
|
|
|
[/listbox]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/panel]
|
|
#enddef
|