GUI2: added macro for border color

This commit is contained in:
Charles Dang 2016-03-15 21:35:49 +11:00
parent 53af40b2f3
commit 06788955c4
3 changed files with 6 additions and 2 deletions

View file

@ -93,6 +93,10 @@
"64, 64, 64, 64"
#enddef
#define GUI__BORDER_COLOR
"114, 79, 46, 255"
#enddef
# Draws the background for a selected cell in a listbox. For now there's one
# version for both tiny and normal gui.
#define GUI__LISTBOX_SELECTED_CELL

View file

@ -11,7 +11,7 @@
h = "(height)"
border_thickness = 1
border_color = "114, 79, 46, 255"
border_color = {GUI__BORDER_COLOR}
[/rectangle]
#enddef

View file

@ -69,7 +69,7 @@
fill_color = "5, 6, 12, 255"
border_thickness = 1
border_color = "114, 79, 46, 255"
border_color = {GUI__BORDER_COLOR}
[/rectangle]
[/draw]