Some color cleanup.

This commit is contained in:
Andreas Kling 2018-10-12 23:02:23 +02:00
commit e16d145cb4
Notes: sideshowbarker 2024-07-19 18:49:38 +09:00
9 changed files with 27 additions and 22 deletions

View file

@ -20,6 +20,9 @@ Color::Color(NamedColor named)
case Red: rgb = { 255, 0, 0}; break;
case Green: rgb = { 0, 255, 0}; break;
case Blue: rgb = { 0, 0, 255}; break;
case DarkGray: rgb = { 64, 64, 64 }; break;
case MidGray: rgb = { 127, 127, 127 }; break;
case LightGray: rgb = { 192, 192, 192 }; break;
default: ASSERT_NOT_REACHED(); break;
}