GUI2: added macro for vertical spacer line

This commit is contained in:
Charles Dang 2016-04-10 06:57:27 +11:00
parent 25e8d4f07c
commit 344955e4c1
2 changed files with 32 additions and 28 deletions

View file

@ -279,6 +279,37 @@
[/row]
#enddef
#define GUI_VERTICAL_SPACER_LINE
[column]
border = "all"
border_size = 10
vertical_grow = true
[drawing]
definition = "default"
width = 1
height = (height)
[draw]
[line]
x1 = 0
y1 = 1
x2 = 0
y2 = (height - 1)
color = {GUI__FONT_COLOR_DISABLED__DEFAULT}
thickness = 1
[/line]
[/draw]
[/drawing]
[/column]
#enddef
###############################################################################
### ###
### Macros for the normal gui. ###

View file

@ -162,34 +162,7 @@
{_GUI_BIG_ATTACKER_PANEL}
[/column]
[column]
border = "all"
border_size = 10
vertical_grow = true
[drawing]
definition = "default"
width = 1
height = (height)
[draw]
[line]
x1 = 0
y1 = 1
x2 = 0
y2 = (height - 1)
color = {GUI__FONT_COLOR_DISABLED__DEFAULT}
thickness = 1
[/line]
[/draw]
[/drawing]
[/column]
{GUI_VERTICAL_SPACER_LINE}
[column]
grow_factor = 1