Small code and border cleanups

This commit is contained in:
Charles Dang 2016-08-05 05:04:17 +11:00
parent e75325a399
commit 95fecb9d90

View file

@ -148,7 +148,7 @@
[/grid]
#enddef
#define _GUI_UNIT_PREVIEW_PANE_UNIT_MINIMAL_LEFT
#define _GUI_UNIT_PREVIEW_PANE_MINIMAL_LEFT
[grid]
[row]
@ -158,7 +158,7 @@
horizontal_alignment = "center"
vertical_alignment = "center"
border = "all"
border = "right"
border_size = 5
[image]
@ -179,7 +179,7 @@
[column]
horizontal_alignment = "right"
border = "all"
border = "left,bottom"
border_size = 5
[label]
@ -197,7 +197,7 @@
[column]
horizontal_alignment = "right"
border = "all"
border = "left,top"
border_size = 5
[button]
@ -220,7 +220,7 @@
[/grid]
#enddef
#define _GUI_UNIT_PREVIEW_PANE_UNIT_MINIMAL_RIGHT
#define _GUI_UNIT_PREVIEW_PANE_MINIMAL_RIGHT
[grid]
[row]
@ -238,7 +238,7 @@
[column]
horizontal_alignment = "left"
border = "all"
border = "right,bottom"
border_size = 5
[label]
@ -257,7 +257,7 @@
[column]
horizontal_alignment = "left"
border = "all"
border = "right,top"
border_size = 5
[button]
@ -278,7 +278,7 @@
[column]
horizontal_alignment = "center"
vertical_alignment = "center"
border = "all"
border = "left"
border_size = 5
[image]
@ -334,20 +334,19 @@
[unit_preview_pane_definition]
id = "unit_minimal_left"
description = "A more text-based unit preview pane, used in the attack dialog with the sprite to the left."
description = "A more text-based unit preview pane with the sprite to the left."
{_GUI_RESOLUTION ({_GUI_UNIT_PREVIEW_PANE_UNIT_MINIMAL_LEFT})}
{_GUI_RESOLUTION ({_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, used in the attack dialog with the sprite to the right."
description = "A more text-based unit preview pane with the sprite to the right."
{_GUI_RESOLUTION ({_GUI_UNIT_PREVIEW_PANE_UNIT_MINIMAL_RIGHT})}
{_GUI_RESOLUTION ({_GUI_UNIT_PREVIEW_PANE_MINIMAL_RIGHT})}
[/unit_preview_pane_definition]
#undef _GUI_UNIT_PREVIEW_PANE_FULL
#undef _GUI_UNIT_PREVIEW_PANE_MINIMAL
#undef _GUI_UNIT_PREVIEW_PANE_UNIT_MINIMAL_LEFT
#undef _GUI_UNIT_PREVIEW_PANE_UNIT_MINIMAL_RIGHT
#undef _GUI_UNIT_PREVIEW_PANE_MINIMAL_LEFT
#undef _GUI_UNIT_PREVIEW_PANE_MINIMAL_RIGHT
#undef _GUI_RESOLUTION