tunit_preview_pane: added minimal definition (no image/title)
This commit is contained in:
parent
99ea0aa716
commit
2b46bb7e46
1 changed files with 104 additions and 0 deletions
|
@ -131,6 +131,102 @@
|
|||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define _GUI_UNIT_PREVIEW_PANE_MINIMAL
|
||||
[grid]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "bottom"
|
||||
border_size = 5
|
||||
horizontal_alignment = "center"
|
||||
|
||||
[button]
|
||||
id = "type_profile"
|
||||
definition = "default"
|
||||
|
||||
label = _ "Profile"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
border = "right,bottom"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "type_level"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "right,bottom"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[image]
|
||||
id = "type_race"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "bottom"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[image]
|
||||
id = "type_alignment"
|
||||
[/image]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 1
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
id = "type_details"
|
||||
definition = "default_small"
|
||||
wrap = "true"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
#enddef
|
||||
|
||||
#define _GUI_RESOLUTION DEFINITION_GRID
|
||||
[resolution]
|
||||
|
||||
|
@ -171,5 +267,13 @@
|
|||
{_GUI_RESOLUTION ({_GUI_UNIT_PREVIEW_PANE_FULL})}
|
||||
[/unit_preview_pane_definition]
|
||||
|
||||
[unit_preview_pane_definition]
|
||||
id = "minimal"
|
||||
description = "A unit preview pane without the image or title."
|
||||
|
||||
{_GUI_RESOLUTION ({_GUI_UNIT_PREVIEW_PANE_MINIMAL})}
|
||||
[/unit_preview_pane_definition]
|
||||
|
||||
#undef _GUI_UNIT_PREVIEW_PANE_FULL
|
||||
#undef _GUI_UNIT_PREVIEW_PANE_MINIMAL
|
||||
#undef _GUI_RESOLUTION
|
||||
|
|
Loading…
Add table
Reference in a new issue