Add optional ALPHA macro args to all color macros
This commit is contained in:
parent
0ffe009eef
commit
15b3317b36
1 changed files with 27 additions and 9 deletions
|
@ -62,16 +62,22 @@
|
|||
|
||||
# This white color is used for most texts.
|
||||
#define GUI__FONT_COLOR_ENABLED__DEFAULT
|
||||
"215, 215, 215, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"215, 215, 215, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
# This gray color is used for most text when the widget is disabled.
|
||||
#define GUI__FONT_COLOR_DISABLED__DEFAULT
|
||||
"128, 128, 128, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"128, 128, 128, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
#define GUI__FONT_COLOR_DISABLED_DARK__DEFAULT
|
||||
"96, 96, 96, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"96, 96, 96, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
# This gold color is used for the
|
||||
|
@ -80,7 +86,9 @@
|
|||
# - checkbox captions
|
||||
# - menu captions
|
||||
#define GUI__FONT_COLOR_ENABLED__TITLE
|
||||
"186, 172, 125, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"186, 172, 125, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
# This now uses the default disabled color but should be tiny bit lighter.
|
||||
|
@ -90,23 +98,33 @@
|
|||
|
||||
# This color is used as background in the listbox.
|
||||
#define GUI__BACKGROUND_COLOR_ENABLED
|
||||
"0, 0, 0, 89"
|
||||
#arg ALPHA
|
||||
89#endarg
|
||||
"0, 0, 0, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
#define GUI__BACKGROUND_COLOR_DISABLED
|
||||
"64, 64, 64, 64"
|
||||
#arg ALPHA
|
||||
64#endarg
|
||||
"64, 64, 64, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
#define GUI__BORDER_COLOR_DARK
|
||||
"114, 79, 46, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"114, 79, 46, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
#define GUI__BORDER_COLOR
|
||||
"162, 127, 68, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"162, 127, 68, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
#define GUI__BORDER_COLOR_BRIGHT
|
||||
"185, 158, 75, 255"
|
||||
#arg ALPHA
|
||||
255#endarg
|
||||
"185, 158, 75, {ALPHA}"
|
||||
#enddef
|
||||
|
||||
# Draws the background for a selected cell in a listbox. For now there's one
|
||||
|
|
Loading…
Add table
Reference in a new issue