Skip to content

Commit d03b4fb

Browse files
sapierparamat
sapier
authored andcommittedJan 15, 2017
Add color names from web page referenced in luaapi doc
1 parent c41352a commit d03b4fb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎src/util/string.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ ColorContainer::ColorContainer()
561561
colors["darkgoldenrod"] = 0xb8860b;
562562
colors["darkgray"] = 0xa9a9a9;
563563
colors["darkgreen"] = 0x006400;
564+
colors["darkgrey"] = 0xa9a9a9;
564565
colors["darkkhaki"] = 0xbdb76b;
565566
colors["darkmagenta"] = 0x8b008b;
566567
colors["darkolivegreen"] = 0x556b2f;
@@ -571,11 +572,13 @@ ColorContainer::ColorContainer()
571572
colors["darkseagreen"] = 0x8fbc8f;
572573
colors["darkslateblue"] = 0x483d8b;
573574
colors["darkslategray"] = 0x2f4f4f;
575+
colors["darkslategrey"] = 0x2f4f4f;
574576
colors["darkturquoise"] = 0x00ced1;
575577
colors["darkviolet"] = 0x9400d3;
576578
colors["deeppink"] = 0xff1493;
577579
colors["deepskyblue"] = 0x00bfff;
578580
colors["dimgray"] = 0x696969;
581+
colors["dimgrey"] = 0x696969;
579582
colors["dodgerblue"] = 0x1e90ff;
580583
colors["firebrick"] = 0xb22222;
581584
colors["floralwhite"] = 0xfffaf0;
@@ -588,6 +591,7 @@ ColorContainer::ColorContainer()
588591
colors["gray"] = 0x808080;
589592
colors["green"] = 0x008000;
590593
colors["greenyellow"] = 0xadff2f;
594+
colors["grey"] = 0x808080;
591595
colors["honeydew"] = 0xf0fff0;
592596
colors["hotpink"] = 0xff69b4;
593597
colors["indianred"] = 0xcd5c5c;
@@ -604,11 +608,13 @@ ColorContainer::ColorContainer()
604608
colors["lightgoldenrodyellow"] = 0xfafad2;
605609
colors["lightgray"] = 0xd3d3d3;
606610
colors["lightgreen"] = 0x90ee90;
611+
colors["lightgrey"] = 0xd3d3d3;
607612
colors["lightpink"] = 0xffb6c1;
608613
colors["lightsalmon"] = 0xffa07a;
609614
colors["lightseagreen"] = 0x20b2aa;
610615
colors["lightskyblue"] = 0x87cefa;
611616
colors["lightslategray"] = 0x778899;
617+
colors["lightslategrey"] = 0x778899;
612618
colors["lightsteelblue"] = 0xb0c4de;
613619
colors["lightyellow"] = 0xffffe0;
614620
colors["lime"] = 0x00ff00;
@@ -661,6 +667,7 @@ ColorContainer::ColorContainer()
661667
colors["skyblue"] = 0x87ceeb;
662668
colors["slateblue"] = 0x6a5acd;
663669
colors["slategray"] = 0x708090;
670+
colors["slategrey"] = 0x708090;
664671
colors["snow"] = 0xfffafa;
665672
colors["springgreen"] = 0x00ff7f;
666673
colors["steelblue"] = 0x4682b4;

0 commit comments

Comments
 (0)
Please sign in to comment.