Added macro for a horizontal spacer line

This commit is contained in:
Charles Dang 2016-03-11 21:40:41 +11:00
parent aa880e57e9
commit cb0f7d81fa

View file

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