From 66ab35f3ffe1801a26660696fbafe661aed7dd22 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 30 Apr 2018 22:20:40 +1100 Subject: [PATCH] GUI2: removed unnecessary spaces and newlines from color macros [ci skip] Since these are usually used inline or as key values, we don't need the extra padding. --- data/gui/macros/_initial.cfg | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/data/gui/macros/_initial.cfg b/data/gui/macros/_initial.cfg index e0441df02300..f1d73a5972e1 100644 --- a/data/gui/macros/_initial.cfg +++ b/data/gui/macros/_initial.cfg @@ -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.