mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 11:40:05 +00:00
442 lines
7.4 KiB
INI
442 lines
7.4 KiB
INI
#textdomain wesnoth-lib
|
|
|
|
#define _GUI_UNIT_PREVIEW_PANE_FULL
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
border = "bottom"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
vertical_alignment = "center"
|
|
|
|
[image]
|
|
id = "type_image"
|
|
definition = "default"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
border = "top,bottom"
|
|
border_size = 5
|
|
vertical_grow = true
|
|
horizontal_grow = true
|
|
|
|
[label]
|
|
id = "type_name"
|
|
wrap = true
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
horizontal_grow = true
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
border = "right,bottom"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
id = "type_level"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
border = "left,right,bottom"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[image]
|
|
id = "type_alignment"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
border = "right,bottom"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[image]
|
|
id = "type_race"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
border = "right,bottom"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
|
|
[label]
|
|
id = "type_race_label"
|
|
definition = "default_small"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
border = "left,bottom"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "type_profile"
|
|
definition = "action_about"
|
|
|
|
label = _ "Profile"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
vertical_grow = true
|
|
horizontal_grow = true
|
|
|
|
# TODO: remove this if default_width is sufficient
|
|
#{GUI_FORCE_WIDGET_MINIMUM_SIZE 225 0 (
|
|
[tree_view]
|
|
id = "type_details"
|
|
indentation_step_size = 8
|
|
vertical_scrollbar_mode = "auto"
|
|
|
|
[node]
|
|
id = "header"
|
|
unfolded = true
|
|
[node_definition]
|
|
[row]
|
|
[column]
|
|
[spacer]
|
|
height = 10
|
|
[/spacer]
|
|
[/column]
|
|
[/row]
|
|
[row]
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
vertical_alignment = "top"
|
|
border = "top,bottom"
|
|
border_size = 1
|
|
[label]
|
|
definition = "default_small"
|
|
id = "name"
|
|
[/label]
|
|
[/column]
|
|
[/row]
|
|
[/node_definition]
|
|
[/node]
|
|
|
|
[node]
|
|
id = "item"
|
|
unfolded = true
|
|
[node_definition]
|
|
[row]
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
vertical_alignment = "top"
|
|
border = "top,bottom"
|
|
border_size = 1
|
|
[label]
|
|
wrap = true
|
|
definition = "default_small"
|
|
id = "name"
|
|
[/label]
|
|
[/column]
|
|
[/row]
|
|
[/node_definition]
|
|
[/node]
|
|
|
|
[node]
|
|
id = "hp_xp_mp"
|
|
unfolded = true
|
|
[node_definition]
|
|
[row]
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
vertical_alignment = "top"
|
|
border = "top,bottom"
|
|
border_size = 1
|
|
[grid]
|
|
[row]
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
vertical_alignment = "top"
|
|
[label]
|
|
wrap = true
|
|
definition = "default_small"
|
|
id = "hp"
|
|
[/label]
|
|
[/column]
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
vertical_alignment = "top"
|
|
[label]
|
|
wrap = true
|
|
definition = "default_small"
|
|
id = "xp"
|
|
[/label]
|
|
[/column]
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
vertical_alignment = "top"
|
|
[label]
|
|
wrap = true
|
|
definition = "default_small"
|
|
id = "mp"
|
|
[/label]
|
|
[/column]
|
|
[/row]
|
|
[/grid]
|
|
[/column]
|
|
[/row]
|
|
[/node_definition]
|
|
[/node]
|
|
[/tree_view]
|
|
#)}
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
#enddef
|
|
|
|
#define _GUI_UNIT_PREVIEW_PANE_MINIMAL_LEFT
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
horizontal_alignment = "center"
|
|
vertical_alignment = "center"
|
|
|
|
border = "right"
|
|
border_size = 5
|
|
|
|
[image]
|
|
id = "type_image"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_alignment = "right"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
horizontal_alignment = "right"
|
|
|
|
border = "left,bottom"
|
|
border_size = 5
|
|
|
|
[label]
|
|
id = "type_details_minimal"
|
|
definition = "default_small"
|
|
|
|
text_alignment = "right"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
horizontal_alignment = "right"
|
|
border = "left,top"
|
|
border_size = 5
|
|
|
|
[button]
|
|
id = "type_profile"
|
|
definition = "default"
|
|
|
|
label = _ "Profile"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
#enddef
|
|
|
|
#define _GUI_UNIT_PREVIEW_PANE_MINIMAL_RIGHT
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_alignment = "left"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
|
|
border = "right,bottom"
|
|
border_size = 5
|
|
|
|
[label]
|
|
id = "type_details_minimal"
|
|
definition = "default_small"
|
|
|
|
text_alignment = "left"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
horizontal_alignment = "left"
|
|
border = "right,top"
|
|
border_size = 5
|
|
|
|
[button]
|
|
id = "type_profile"
|
|
definition = "default"
|
|
|
|
label = _ "Profile"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
horizontal_alignment = "center"
|
|
vertical_alignment = "center"
|
|
border = "left"
|
|
border_size = 5
|
|
|
|
[image]
|
|
id = "type_image"
|
|
[/image]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
#enddef
|
|
|
|
#define _GUI_RESOLUTION DEFAULT_WIDTH DEFAULT_HEIGHT DEFINITION_GRID
|
|
[resolution]
|
|
|
|
min_width = 0
|
|
min_height = 0
|
|
|
|
default_width = {DEFAULT_WIDTH}
|
|
default_height = {DEFAULT_HEIGHT}
|
|
|
|
max_width = 0
|
|
max_height = 0
|
|
|
|
[background]
|
|
|
|
[draw]
|
|
|
|
[/draw]
|
|
|
|
[/background]
|
|
|
|
[foreground]
|
|
|
|
[draw]
|
|
|
|
[/draw]
|
|
|
|
[/foreground]
|
|
|
|
{DEFINITION_GRID}
|
|
|
|
[/resolution]
|
|
#enddef
|
|
|
|
[unit_preview_pane_definition]
|
|
id = "default"
|
|
description = "A fully detailed preview area for unit stats."
|
|
|
|
{_GUI_RESOLUTION 225 500 ({_GUI_UNIT_PREVIEW_PANE_FULL})}
|
|
[/unit_preview_pane_definition]
|
|
|
|
[unit_preview_pane_definition]
|
|
id = "unit_minimal_left"
|
|
description = "A more text-based unit preview pane with the sprite to the left."
|
|
|
|
{_GUI_RESOLUTION 0 0 ({_GUI_UNIT_PREVIEW_PANE_MINIMAL_LEFT})}
|
|
[/unit_preview_pane_definition]
|
|
|
|
[unit_preview_pane_definition]
|
|
id = "unit_minimal_right"
|
|
description = "A more text-based unit preview pane with the sprite to the right."
|
|
|
|
{_GUI_RESOLUTION 0 0 ({_GUI_UNIT_PREVIEW_PANE_MINIMAL_RIGHT})}
|
|
[/unit_preview_pane_definition]
|
|
|
|
#undef _GUI_UNIT_PREVIEW_PANE_FULL
|
|
#undef _GUI_UNIT_PREVIEW_PANE_MINIMAL_LEFT
|
|
#undef _GUI_UNIT_PREVIEW_PANE_MINIMAL_RIGHT
|
|
#undef _GUI_RESOLUTION
|