Skip to content

Commit

Permalink
GUI2: added macro for border color
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 15, 2016
1 parent 53af40b commit 0678895
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions data/gui/default/macros/_initial.cfg
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion data/gui/default/widget/combobox_default.cfg
Expand Up @@ -11,7 +11,7 @@
h = "(height)"

border_thickness = 1
border_color = "114, 79, 46, 255"
border_color = {GUI__BORDER_COLOR}

[/rectangle]
#enddef
Expand Down
2 changes: 1 addition & 1 deletion data/gui/default/widget/window_tooltip_large.cfg
Expand Up @@ -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]
Expand Down

0 comments on commit 0678895

Please sign in to comment.