Skip to content

Commit 90eb7fe

Browse files
committed
Added 6 HTML colours ('grey' as well as 'gray') and fixed 3
1 parent fc3b7af commit 90eb7fe

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

mxp/mxpinit.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ tMXP_colour MXP_colours [] =
151151
{ "darkcyan", 0x008b8b },
152152
{ "darkgoldenrod", 0xb8860b },
153153
{ "darkgray", 0xa9a9a9 },
154+
{ "darkgrey", 0xa9a9a9 }, // new in 5.07
154155
{ "darkgreen", 0x006400 },
155156
{ "darkkhaki", 0xbdb76b },
156157
{ "darkmagenta", 0x8b008b },
@@ -159,14 +160,16 @@ tMXP_colour MXP_colours [] =
159160
{ "darkorchid", 0x9932cc },
160161
{ "darkred", 0x8b0000 },
161162
{ "darksalmon", 0xe9967a },
162-
{ "darkseagreen", 0x8dbc8f },
163+
{ "darkseagreen", 0x8fbc8f }, // changed in 5.07 from 0x8dbc8f
163164
{ "darkslateblue", 0x483d8b },
164165
{ "darkslategray", 0x2f4f4f },
165-
{ "darkturquoise", 0x00ded1 },
166+
{ "darkslategrey", 0x2f4f4f }, // new in 5.07
167+
{ "darkturquoise", 0x00ced1 }, // changed in 5.07 from 0x00ded1
166168
{ "darkviolet", 0x9400d3 },
167169
{ "deeppink", 0xff1493 },
168170
{ "deepskyblue", 0x00bfff },
169171
{ "dimgray", 0x696969 },
172+
{ "dimgrey", 0x696969 }, // new in 5.07
170173
{ "dodgerblue", 0x1e90ff },
171174
{ "firebrick", 0xb22222 },
172175
{ "floralwhite", 0xfffaf0 },
@@ -177,6 +180,7 @@ tMXP_colour MXP_colours [] =
177180
{ "gold", 0xffd700 },
178181
{ "goldenrod", 0xdaa520 },
179182
{ "gray", 0x808080 },
183+
{ "grey", 0x808080 }, // new in 5.07
180184
{ "green", 0x008000 },
181185
{ "greenyellow", 0xadff2f },
182186
{ "honeydew", 0xf0fff0 },
@@ -201,6 +205,7 @@ tMXP_colour MXP_colours [] =
201205
{ "lightseagreen", 0x20b2aa },
202206
{ "lightskyblue", 0x87cefa },
203207
{ "lightslategray", 0x778899 },
208+
{ "lightslategrey", 0x778899 }, // new in 5.07
204209
{ "lightsteelblue", 0xb0c4de },
205210
{ "lightyellow", 0xffffe0 },
206211
{ "lime", 0x00ff00 },
@@ -236,7 +241,7 @@ tMXP_colour MXP_colours [] =
236241
{ "papayawhip", 0xffefd5 },
237242
{ "peachpuff", 0xffdab9 },
238243
{ "peru", 0xcd853f },
239-
{ "pink", 0xffc8cb },
244+
{ "pink", 0xffc0cb }, // changed in 5.07 from 0xffc8cb
240245
{ "plum", 0xdda0dd },
241246
{ "powderblue", 0xb0e0e6 },
242247
{ "purple", 0x800080 },
@@ -254,6 +259,7 @@ tMXP_colour MXP_colours [] =
254259
{ "skyblue", 0x87ceeb },
255260
{ "slateblue", 0x6a5acd },
256261
{ "slategray", 0x708090 }, // new in 3.18
262+
{ "slategrey", 0x708090 }, // new in 5.07
257263
{ "snow", 0xfffafa },
258264
{ "springgreen", 0x00ff7f },
259265
{ "steelblue", 0x4682b4 },

0 commit comments

Comments
 (0)