LibDraw: Add named colors "MidCyan" and "DarkCyan"

I need these for .. a thing. :^)
This commit is contained in:
Andreas Kling 2019-11-18 19:02:10 +01:00
parent 7b3f1218be
commit 5f7f97355e
Notes: sideshowbarker 2024-07-19 11:09:15 +09:00
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,12 @@ Color::Color(NamedColor named)
case Cyan: case Cyan:
rgb = { 0, 255, 255 }; rgb = { 0, 255, 255 };
break; break;
case DarkCyan:
rgb = { 0, 127, 127 };
break;
case MidCyan:
rgb = { 0, 192, 192 };
break;
case Blue: case Blue:
rgb = { 0, 0, 255 }; rgb = { 0, 0, 255 };
break; break;

View File

@ -26,9 +26,11 @@ public:
MidGray, MidGray,
LightGray, LightGray,
WarmGray, WarmGray,
DarkCyan,
DarkGreen, DarkGreen,
DarkBlue, DarkBlue,
DarkRed, DarkRed,
MidCyan,
MidGreen, MidGreen,
MidRed, MidRed,
MidBlue, MidBlue,