Skip to content

Commit

Permalink
GUI2: removed unnecessary spaces and newlines from color macros
Browse files Browse the repository at this point in the history
[ci skip]

Since these are usually used inline or as key values, we don't need the extra padding.
  • Loading branch information
Vultraz committed Apr 30, 2018
1 parent 77545e6 commit 66ab35f
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions data/gui/macros/_initial.cfg
Expand Up @@ -88,46 +88,39 @@
#define GUI__FONT_COLOR_ENABLED__TITLE
#arg ALPHA
255#endarg
"186, 172, 125, {ALPHA}"
#enddef
"186, 172, 125, {ALPHA}" #enddef

# This now uses the default disabled color but should be tiny bit lighter.
#define GUI__FONT_COLOR_DISABLED__TITLE
#arg ALPHA
255#endarg
{GUI__FONT_COLOR_DISABLED__DEFAULT ALPHA={ALPHA}}
#enddef
255 #endarg
{GUI__FONT_COLOR_DISABLED__DEFAULT ALPHA={ALPHA}} #enddef

# This color is used as background in the listbox.
#define GUI__BACKGROUND_COLOR_ENABLED
#arg ALPHA
89#endarg
"0, 0, 0, {ALPHA}"
#enddef
89 #endarg
"0, 0, 0, {ALPHA}" #enddef

#define GUI__BACKGROUND_COLOR_DISABLED
#arg ALPHA
64#endarg
"64, 64, 64, {ALPHA}"
#enddef
64 #endarg
"64, 64, 64, {ALPHA}" #enddef

#define GUI__BORDER_COLOR_DARK
#arg ALPHA
255#endarg
"114, 79, 46, {ALPHA}"
#enddef
255 #endarg
"114, 79, 46, {ALPHA}" #enddef

#define GUI__BORDER_COLOR
#arg ALPHA
255#endarg
"162, 127, 68, {ALPHA}"
#enddef
255 #endarg
"162, 127, 68, {ALPHA}" #enddef

#define GUI__BORDER_COLOR_BRIGHT
#arg ALPHA
255#endarg
"185, 158, 75, {ALPHA}"
#enddef
255 #endarg
"185, 158, 75, {ALPHA}" #enddef

# Draws the background for a selected cell in a listbox. For now there's one
# version for both tiny and normal gui.
Expand Down

0 comments on commit 66ab35f

Please sign in to comment.