diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-08 00:56:30 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-08 00:56:30 -0500 |
commit | 800cce2de40fe60185472cfb93c3a2201eea0b60 (patch) | |
tree | 035d358c7da6844ba5ad47ccc118096acd70b1fa /libdimension | |
parent | 4ddd6b7f2ec82155b7535062b4af67618ce70e30 (diff) | |
download | dimension-800cce2de40fe60185472cfb93c3a2201eea0b60.tar.xz |
Add dmnsn_orange color.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/color.c | 7 | ||||
-rw-r--r-- | libdimension/dimension/color.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libdimension/color.c b/libdimension/color.c index 8712938..eee1f0e 100644 --- a/libdimension/color.c +++ b/libdimension/color.c @@ -69,6 +69,13 @@ const dmnsn_color dmnsn_magenta = { .filter = 0.0, .trans = 0.0 }; +const dmnsn_color dmnsn_orange = { + .R = 1.0, + .G = 0.5, + .B = 0.0, + .filter = 0.0, + .trans = 0.0 +}; const dmnsn_color dmnsn_yellow = { .R = 1.0, .G = 1.0, diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h index 1588ab3..9e47282 100644 --- a/libdimension/dimension/color.h +++ b/libdimension/dimension/color.h @@ -64,7 +64,7 @@ typedef struct { /* Standard colors */ extern const dmnsn_color dmnsn_black, dmnsn_white, dmnsn_red, dmnsn_green, - dmnsn_blue, dmnsn_magenta, dmnsn_yellow, dmnsn_cyan; + dmnsn_blue, dmnsn_magenta, dmnsn_orange, dmnsn_yellow, dmnsn_cyan; /* Standard whitepoint, determined by the conversion of sRGB white to CIE XYZ */ extern const dmnsn_CIE_XYZ dmnsn_whitepoint; |