ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
Colors Struct Reference

W3C Color constants. More...

#include <Colors.h>

Data Fields

SDL_Color AliceBlue
 
SDL_Color AntiqueWhite
 
SDL_Color Aqua
 
SDL_Color Aquamarine
 
SDL_Color Azure
 
SDL_Color Beige
 
SDL_Color Bisque
 
SDL_Color Black
 
SDL_Color BlanchedAlmond
 
SDL_Color Blue
 
SDL_Color BlueViolet
 
SDL_Color Brown
 
SDL_Color BurlyWood
 
SDL_Color CadetBlue
 
SDL_Color Charcoal
 
SDL_Color Chartreuse
 
SDL_Color Chocolate
 
SDL_Color Coral
 
SDL_Color CornflowerBlue
 
SDL_Color Cornsilk
 
SDL_Color Crimson
 
SDL_Color Cyan
 
SDL_Color DarkBlue
 
SDL_Color DarkCyan
 
SDL_Color DarkGoldenRod
 
SDL_Color DarkGray
 
SDL_Color DarkGreen
 
SDL_Color DarkGrey
 
SDL_Color DarkKhaki
 
SDL_Color DarkMagenta
 
SDL_Color DarkOliveGreen
 
SDL_Color DarkOrange
 
SDL_Color DarkOrchid
 
SDL_Color DarkRed
 
SDL_Color DarkSalmon
 
SDL_Color DarkSeaGreen
 
SDL_Color DarkSlateBlue
 
SDL_Color DarkSlateGray
 
SDL_Color DarkSlateGrey
 
SDL_Color DarkTurquoise
 
SDL_Color DarkViolet
 
SDL_Color DeepPink
 
SDL_Color DeepSkyBlue
 
SDL_Color DimGray
 
SDL_Color DimGrey
 
SDL_Color DodgerBlue
 
SDL_Color FireBrick
 
SDL_Color FloralWhite
 
SDL_Color ForestGreen
 
SDL_Color Fuchsia
 
SDL_Color Gainsboro
 
SDL_Color GhostWhite
 
SDL_Color Gold
 
SDL_Color GoldenRod
 
SDL_Color Gray
 
SDL_Color Green
 
SDL_Color GreenYellow
 
SDL_Color Grey
 
SDL_Color HoneyDew
 
SDL_Color HotPink
 
SDL_Color IndianRed
 
SDL_Color Indigo
 
SDL_Color Ivory
 
SDL_Color Khaki
 
SDL_Color Lavender
 
SDL_Color LavenderBlush
 
SDL_Color LawnGreen
 
SDL_Color LemonChiffon
 
SDL_Color LightBlue
 
SDL_Color LightCoral
 
SDL_Color LightCyan
 
SDL_Color LightGoldenRodYellow
 
SDL_Color LightGray
 
SDL_Color LightGreen
 
SDL_Color LightGrey
 
SDL_Color LightPink
 
SDL_Color LightSalmon
 
SDL_Color LightSeaGreen
 
SDL_Color LightSkyBlue
 
SDL_Color LightSlateGray
 
SDL_Color LightSlateGrey
 
SDL_Color LightSteelBlue
 
SDL_Color LightYellow
 
SDL_Color Lime
 
SDL_Color LimeGreen
 
SDL_Color Linen
 
SDL_Color Magenta
 
SDL_Color Maroon
 
SDL_Color MediumAquaMarine
 
SDL_Color MediumBlue
 
SDL_Color MediumOrchid
 
SDL_Color MediumPurple
 
SDL_Color MediumSeaGreen
 
SDL_Color MediumSlateBlue
 
SDL_Color MediumSpringGreen
 
SDL_Color MediumTurquoise
 
SDL_Color MediumVioletRed
 
SDL_Color MidnightBlue
 
SDL_Color MintCream
 
SDL_Color MistyRose
 
SDL_Color Moccasin
 
SDL_Color NavajoWhite
 
SDL_Color Navy
 
SDL_Color OldLace
 
SDL_Color Olive
 
SDL_Color OliveDrab
 
SDL_Color Orange
 
SDL_Color OrangeRed
 
SDL_Color Orchid
 
SDL_Color PaleGoldenRod
 
SDL_Color PaleGreen
 
SDL_Color PaleTurquoise
 
SDL_Color PaleVioletRed
 
SDL_Color PapayaWhip
 
SDL_Color PeachPuff
 
SDL_Color Peru
 
SDL_Color Pink
 
SDL_Color Plum
 
SDL_Color PowderBlue
 
SDL_Color Purple
 
SDL_Color RebeccaPurple
 
SDL_Color Red
 
SDL_Color RosyBrown
 
SDL_Color RoyalBlue
 
SDL_Color SaddleBrown
 
SDL_Color Salmon
 
SDL_Color SandyBrown
 
SDL_Color SeaGreen
 
SDL_Color SeaShell
 
SDL_Color Sienna
 
SDL_Color Silver
 
SDL_Color SkyBlue
 
SDL_Color SlateBlue
 
SDL_Color SlateGray
 
SDL_Color SlateGrey
 
SDL_Color Snow
 
SDL_Color SpringGreen
 
SDL_Color SteelBlue
 
SDL_Color Tan
 
SDL_Color Teal
 
SDL_Color Thistle
 
SDL_Color Tomato
 
SDL_Color Transparent
 
SDL_Color Turquoise
 
SDL_Color Violet
 
SDL_Color Wheat
 
SDL_Color White
 
SDL_Color WhiteSmoke
 
SDL_Color Yellow
 
SDL_Color YellowGreen
 

Related Symbols

(Note that these are not member symbols.)

#define MakeColor(r, g, b, a)   (SDL_Color) { (r), (g), (b), (a) }
 Creates an SDL_Color with the given components.
 
OBJECTIVELYMVC_EXPORT SDL_Color MVC_ColorForName (const char *name)
 
OBJECTIVELYMVC_EXPORT SDL_Color MVC_HexToRGBA (const char *hexString)
 Converts the given hexadecimal color string to an RGBA color.
 
OBJECTIVELYMVC_EXPORT SDL_Color MVC_HSVToRGB (double hue, double saturation, double value)
 Converts the given HSV components to an RGB color.
 
OBJECTIVELYMVC_EXPORT char * MVC_RGBAToHex (const SDL_Color *color)
 
OBJECTIVELYMVC_EXPORT char * MVC_RGBToHex (const SDL_Color *color)
 
OBJECTIVELYMVC_EXPORT void MVC_RGBToHSV (const SDL_Color *color, double *hue, double *saturation, double *value)
 Converts the given RGB color to HSV components.
 

Detailed Description

W3C Color constants.

See also
http://www.w3schools.com/colors/colors_names.asp

Definition at line 37 of file Colors.h.

Friends And Related Symbol Documentation

◆ MakeColor

#define MakeColor (   r,
  g,
  b,
 
)    (SDL_Color) { (r), (g), (b), (a) }
related

Creates an SDL_Color with the given components.

Definition at line 195 of file Colors.h.

◆ MVC_ColorForName()

OBJECTIVELYMVC_EXPORT SDL_Color MVC_ColorForName ( const char *  name)
related
Parameters
nameA W3C color name.
Returns
An SDL_Color matching the given color name, or Colors.Black if none.

Definition at line 181 of file Colors.c.

181 {
182
183 if (name) {
184 if (strcasecmp(name, "AliceBlue") == 0) {
185 return Colors.AliceBlue;
186 }
187 if (strcasecmp(name, "AntiqueWhite") == 0) {
188 return Colors.AntiqueWhite;
189 }
190 if (strcasecmp(name, "Aqua") == 0) {
191 return Colors.Aqua;
192 }
193 if (strcasecmp(name, "Aquamarine") == 0) {
194 return Colors.Aquamarine;
195 }
196 if (strcasecmp(name, "Azure") == 0) {
197 return Colors.Azure;
198 }
199 if (strcasecmp(name, "Beige") == 0) {
200 return Colors.Beige;
201 }
202 if (strcasecmp(name, "Bisque") == 0) {
203 return Colors.Bisque;
204 }
205 if (strcasecmp(name, "Black") == 0) {
206 return Colors.Black;
207 }
208 if (strcasecmp(name, "BlanchedAlmond") == 0) {
209 return Colors.BlanchedAlmond;
210 }
211 if (strcasecmp(name, "Blue") == 0) {
212 return Colors.Blue;
213 }
214 if (strcasecmp(name, "BlueViolet") == 0) {
215 return Colors.BlueViolet;
216 }
217 if (strcasecmp(name, "Brown") == 0) {
218 return Colors.Brown;
219 }
220 if (strcasecmp(name, "BurlyWood") == 0) {
221 return Colors.BurlyWood;
222 }
223 if (strcasecmp(name, "CadetBlue") == 0) {
224 return Colors.CadetBlue;
225 }
226 if (strcasecmp(name, "Charcoal") == 0) {
227 return Colors.Charcoal;
228 }
229 if (strcasecmp(name, "Chartreuse") == 0) {
230 return Colors.Chartreuse;
231 }
232 if (strcasecmp(name, "Chocolate") == 0) {
233 return Colors.Chocolate;
234 }
235 if (strcasecmp(name, "Coral") == 0) {
236 return Colors.Coral;
237 }
238 if (strcasecmp(name, "CornflowerBlue") == 0) {
239 return Colors.CornflowerBlue;
240 }
241 if (strcasecmp(name, "Cornsilk") == 0) {
242 return Colors.Cornsilk;
243 }
244 if (strcasecmp(name, "Crimson") == 0) {
245 return Colors.Crimson;
246 }
247 if (strcasecmp(name, "Cyan") == 0) {
248 return Colors.Cyan;
249 }
250 if (strcasecmp(name, "DarkBlue") == 0) {
251 return Colors.DarkBlue;
252 }
253 if (strcasecmp(name, "DarkCyan") == 0) {
254 return Colors.DarkCyan;
255 }
256 if (strcasecmp(name, "DarkGoldenRod") == 0) {
257 return Colors.DarkGoldenRod;
258 }
259 if (strcasecmp(name, "DarkGray") == 0) {
260 return Colors.DarkGray;
261 }
262 if (strcasecmp(name, "DarkGrey") == 0) {
263 return Colors.DarkGrey;
264 }
265 if (strcasecmp(name, "DarkGreen") == 0) {
266 return Colors.DarkGreen;
267 }
268 if (strcasecmp(name, "DarkKhaki") == 0) {
269 return Colors.DarkKhaki;
270 }
271 if (strcasecmp(name, "DarkMagenta") == 0) {
272 return Colors.DarkMagenta;
273 }
274 if (strcasecmp(name, "DarkOliveGreen") == 0) {
275 return Colors.DarkOliveGreen;
276 }
277 if (strcasecmp(name, "DarkOrange") == 0) {
278 return Colors.DarkOrange;
279 }
280 if (strcasecmp(name, "DarkOrchid") == 0) {
281 return Colors.DarkOrchid;
282 }
283 if (strcasecmp(name, "DarkRed") == 0) {
284 return Colors.DarkRed;
285 }
286 if (strcasecmp(name, "DarkSalmon") == 0) {
287 return Colors.DarkSalmon;
288 }
289 if (strcasecmp(name, "DarkSeaGreen") == 0) {
290 return Colors.DarkSeaGreen;
291 }
292 if (strcasecmp(name, "DarkSlateBlue") == 0) {
293 return Colors.DarkSlateBlue;
294 }
295 if (strcasecmp(name, "DarkSlateGray") == 0) {
296 return Colors.DarkSlateGray;
297 }
298 if (strcasecmp(name, "DarkSlateGrey") == 0) {
299 return Colors.DarkSlateGrey;
300 }
301 if (strcasecmp(name, "DarkTurquoise") == 0) {
302 return Colors.DarkTurquoise;
303 }
304 if (strcasecmp(name, "DarkViolet") == 0) {
305 return Colors.DarkViolet;
306 }
307 if (strcasecmp(name, "DeepPink") == 0) {
308 return Colors.DeepPink;
309 }
310 if (strcasecmp(name, "DeepSkyBlue") == 0) {
311 return Colors.DeepSkyBlue;
312 }
313 if (strcasecmp(name, "DimGray") == 0) {
314 return Colors.DimGray;
315 }
316 if (strcasecmp(name, "DimGrey") == 0) {
317 return Colors.DimGrey;
318 }
319 if (strcasecmp(name, "DodgerBlue") == 0) {
320 return Colors.DodgerBlue;
321 }
322 if (strcasecmp(name, "FireBrick") == 0) {
323 return Colors.FireBrick;
324 }
325 if (strcasecmp(name, "FloralWhite") == 0) {
326 return Colors.FloralWhite;
327 }
328 if (strcasecmp(name, "ForestGreen") == 0) {
329 return Colors.ForestGreen;
330 }
331 if (strcasecmp(name, "Fuchsia") == 0) {
332 return Colors.Fuchsia;
333 }
334 if (strcasecmp(name, "Gainsboro") == 0) {
335 return Colors.Gainsboro;
336 }
337 if (strcasecmp(name, "GhostWhite") == 0) {
338 return Colors.GhostWhite;
339 }
340 if (strcasecmp(name, "Gold") == 0) {
341 return Colors.Gold;
342 }
343 if (strcasecmp(name, "GoldenRod") == 0) {
344 return Colors.GoldenRod;
345 }
346 if (strcasecmp(name, "Gray") == 0) {
347 return Colors.Gray;
348 }
349 if (strcasecmp(name, "Grey") == 0) {
350 return Colors.Grey;
351 }
352 if (strcasecmp(name, "Green") == 0) {
353 return Colors.Green;
354 }
355 if (strcasecmp(name, "GreenYellow") == 0) {
356 return Colors.GreenYellow;
357 }
358 if (strcasecmp(name, "HoneyDew") == 0) {
359 return Colors.HoneyDew;
360 }
361 if (strcasecmp(name, "HotPink") == 0) {
362 return Colors.HotPink;
363 }
364 if (strcasecmp(name, "IndianRed") == 0) {
365 return Colors.IndianRed;
366 }
367 if (strcasecmp(name, "Indigo") == 0) {
368 return Colors.Indigo;
369 }
370 if (strcasecmp(name, "Ivory") == 0) {
371 return Colors.Ivory;
372 }
373 if (strcasecmp(name, "Khaki") == 0) {
374 return Colors.Khaki;
375 }
376 if (strcasecmp(name, "Lavender") == 0) {
377 return Colors.Lavender;
378 }
379 if (strcasecmp(name, "LavenderBlush") == 0) {
380 return Colors.LavenderBlush;
381 }
382 if (strcasecmp(name, "LawnGreen") == 0) {
383 return Colors.LawnGreen;
384 }
385 if (strcasecmp(name, "LemonChiffon") == 0) {
386 return Colors.LemonChiffon;
387 }
388 if (strcasecmp(name, "LightBlue") == 0) {
389 return Colors.LightBlue;
390 }
391 if (strcasecmp(name, "LightCoral") == 0) {
392 return Colors.LightCoral;
393 }
394 if (strcasecmp(name, "LightCyan") == 0) {
395 return Colors.LightCyan;
396 }
397 if (strcasecmp(name, "LightGoldenRodYellow") == 0) {
399 }
400 if (strcasecmp(name, "LightGray") == 0) {
401 return Colors.LightGray;
402 }
403 if (strcasecmp(name, "LightGrey") == 0) {
404 return Colors.LightGrey;
405 }
406 if (strcasecmp(name, "LightGreen") == 0) {
407 return Colors.LightGreen;
408 }
409 if (strcasecmp(name, "LightPink") == 0) {
410 return Colors.LightPink;
411 }
412 if (strcasecmp(name, "LightSalmon") == 0) {
413 return Colors.LightSalmon;
414 }
415 if (strcasecmp(name, "LightSeaGreen") == 0) {
416 return Colors.LightSeaGreen;
417 }
418 if (strcasecmp(name, "LightSkyBlue") == 0) {
419 return Colors.LightSkyBlue;
420 }
421 if (strcasecmp(name, "LightSlateGray") == 0) {
422 return Colors.LightSlateGray;
423 }
424 if (strcasecmp(name, "LightSlateGrey") == 0) {
425 return Colors.LightSlateGrey;
426 }
427 if (strcasecmp(name, "LightSteelBlue") == 0) {
428 return Colors.LightSteelBlue;
429 }
430 if (strcasecmp(name, "LightYellow") == 0) {
431 return Colors.LightYellow;
432 }
433 if (strcasecmp(name, "Lime") == 0) {
434 return Colors.Lime;
435 }
436 if (strcasecmp(name, "LimeGreen") == 0) {
437 return Colors.LimeGreen;
438 }
439 if (strcasecmp(name, "Linen") == 0) {
440 return Colors.Linen;
441 }
442 if (strcasecmp(name, "Magenta") == 0) {
443 return Colors.Magenta;
444 }
445 if (strcasecmp(name, "Maroon") == 0) {
446 return Colors.Maroon;
447 }
448 if (strcasecmp(name, "MediumAquaMarine") == 0) {
450 }
451 if (strcasecmp(name, "MediumBlue") == 0) {
452 return Colors.MediumBlue;
453 }
454 if (strcasecmp(name, "MediumOrchid") == 0) {
455 return Colors.MediumOrchid;
456 }
457 if (strcasecmp(name, "MediumPurple") == 0) {
458 return Colors.MediumPurple;
459 }
460 if (strcasecmp(name, "MediumSeaGreen") == 0) {
461 return Colors.MediumSeaGreen;
462 }
463 if (strcasecmp(name, "MediumSlateBlue") == 0) {
464 return Colors.MediumSlateBlue;
465 }
466 if (strcasecmp(name, "MediumSpringGreen") == 0) {
468 }
469 if (strcasecmp(name, "MediumTurquoise") == 0) {
470 return Colors.MediumTurquoise;
471 }
472 if (strcasecmp(name, "MediumVioletRed") == 0) {
473 return Colors.MediumVioletRed;
474 }
475 if (strcasecmp(name, "MidnightBlue") == 0) {
476 return Colors.MidnightBlue;
477 }
478 if (strcasecmp(name, "MintCream") == 0) {
479 return Colors.MintCream;
480 }
481 if (strcasecmp(name, "MistyRose") == 0) {
482 return Colors.MistyRose;
483 }
484 if (strcasecmp(name, "Moccasin") == 0) {
485 return Colors.Moccasin;
486 }
487 if (strcasecmp(name, "NavajoWhite") == 0) {
488 return Colors.NavajoWhite;
489 }
490 if (strcasecmp(name, "Navy") == 0) {
491 return Colors.Navy;
492 }
493 if (strcasecmp(name, "OldLace") == 0) {
494 return Colors.OldLace;
495 }
496 if (strcasecmp(name, "Olive") == 0) {
497 return Colors.Olive;
498 }
499 if (strcasecmp(name, "OliveDrab") == 0) {
500 return Colors.OliveDrab;
501 }
502 if (strcasecmp(name, "Orange") == 0) {
503 return Colors.Orange;
504 }
505 if (strcasecmp(name, "OrangeRed") == 0) {
506 return Colors.OrangeRed;
507 }
508 if (strcasecmp(name, "Orchid") == 0) {
509 return Colors.Orchid;
510 }
511 if (strcasecmp(name, "PaleGoldenRod") == 0) {
512 return Colors.PaleGoldenRod;
513 }
514 if (strcasecmp(name, "PaleGreen") == 0) {
515 return Colors.PaleGreen;
516 }
517 if (strcasecmp(name, "PaleTurquoise") == 0) {
518 return Colors.PaleTurquoise;
519 }
520 if (strcasecmp(name, "PaleVioletRed") == 0) {
521 return Colors.PaleVioletRed;
522 }
523 if (strcasecmp(name, "PapayaWhip") == 0) {
524 return Colors.PapayaWhip;
525 }
526 if (strcasecmp(name, "PeachPuff") == 0) {
527 return Colors.PeachPuff;
528 }
529 if (strcasecmp(name, "Peru") == 0) {
530 return Colors.Peru;
531 }
532 if (strcasecmp(name, "Pink") == 0) {
533 return Colors.Pink;
534 }
535 if (strcasecmp(name, "Plum") == 0) {
536 return Colors.Plum;
537 }
538 if (strcasecmp(name, "PowderBlue") == 0) {
539 return Colors.PowderBlue;
540 }
541 if (strcasecmp(name, "Purple") == 0) {
542 return Colors.Purple;
543 }
544 if (strcasecmp(name, "RebeccaPurple") == 0) {
545 return Colors.RebeccaPurple;
546 }
547 if (strcasecmp(name, "Red") == 0) {
548 return Colors.Red;
549 }
550 if (strcasecmp(name, "RosyBrown") == 0) {
551 return Colors.RosyBrown;
552 }
553 if (strcasecmp(name, "RoyalBlue") == 0) {
554 return Colors.RoyalBlue;
555 }
556 if (strcasecmp(name, "SaddleBrown") == 0) {
557 return Colors.SaddleBrown;
558 }
559 if (strcasecmp(name, "Salmon") == 0) {
560 return Colors.Salmon;
561 }
562 if (strcasecmp(name, "SandyBrown") == 0) {
563 return Colors.SandyBrown;
564 }
565 if (strcasecmp(name, "SeaGreen") == 0) {
566 return Colors.SeaGreen;
567 }
568 if (strcasecmp(name, "SeaShell") == 0) {
569 return Colors.SeaShell;
570 }
571 if (strcasecmp(name, "Sienna") == 0) {
572 return Colors.Sienna;
573 }
574 if (strcasecmp(name, "Silver") == 0) {
575 return Colors.Silver;
576 }
577 if (strcasecmp(name, "SkyBlue") == 0) {
578 return Colors.SkyBlue;
579 }
580 if (strcasecmp(name, "SlateBlue") == 0) {
581 return Colors.SlateBlue;
582 }
583 if (strcasecmp(name, "SlateGray") == 0) {
584 return Colors.SlateGray;
585 }
586 if (strcasecmp(name, "SlateGrey") == 0) {
587 return Colors.SlateGrey;
588 }
589 if (strcasecmp(name, "Snow") == 0) {
590 return Colors.Snow;
591 }
592 if (strcasecmp(name, "SpringGreen") == 0) {
593 return Colors.SpringGreen;
594 }
595 if (strcasecmp(name, "SteelBlue") == 0) {
596 return Colors.SteelBlue;
597 }
598 if (strcasecmp(name, "Tan") == 0) {
599 return Colors.Tan;
600 }
601 if (strcasecmp(name, "Teal") == 0) {
602 return Colors.Teal;
603 }
604 if (strcasecmp(name, "Thistle") == 0) {
605 return Colors.Thistle;
606 }
607 if (strcasecmp(name, "Tomato") == 0) {
608 return Colors.Tomato;
609 }
610 if (strcasecmp(name, "Transparent") == 0) {
611 return Colors.Transparent;
612 }
613 if (strcasecmp(name, "Turquoise") == 0) {
614 return Colors.Turquoise;
615 }
616 if (strcasecmp(name, "Violet") == 0) {
617 return Colors.Violet;
618 }
619 if (strcasecmp(name, "Wheat") == 0) {
620 return Colors.Wheat;
621 }
622 if (strcasecmp(name, "White") == 0) {
623 return Colors.White;
624 }
625 if (strcasecmp(name, "WhiteSmoke") == 0) {
626 return Colors.WhiteSmoke;
627 }
628 if (strcasecmp(name, "Yellow") == 0) {
629 return Colors.Yellow;
630 }
631 if (strcasecmp(name, "YellowGreen") == 0) {
632 return Colors.YellowGreen;
633 }
634 }
635
636 return Colors.Black;
637}
W3C Color constants.
Definition Colors.h:37
SDL_Color LightGrey
Definition Colors.h:112
SDL_Color WhiteSmoke
Definition Colors.h:186
SDL_Color LightBlue
Definition Colors.h:107
SDL_Color DarkOrange
Definition Colors.h:70
SDL_Color Gold
Definition Colors.h:91
SDL_Color MediumBlue
Definition Colors.h:128
SDL_Color DarkGoldenRod
Definition Colors.h:63
SDL_Color Brown
Definition Colors.h:50
SDL_Color LightSalmon
Definition Colors.h:115
SDL_Color MediumSlateBlue
Definition Colors.h:132
SDL_Color Pink
Definition Colors.h:155
SDL_Color Lime
Definition Colors.h:122
SDL_Color Turquoise
Definition Colors.h:182
SDL_Color DarkTurquoise
Definition Colors.h:78
SDL_Color Thistle
Definition Colors.h:179
SDL_Color SlateGray
Definition Colors.h:172
SDL_Color AliceBlue
Definition Colors.h:39
SDL_Color Magenta
Definition Colors.h:125
SDL_Color Fuchsia
Definition Colors.h:88
SDL_Color SlateBlue
Definition Colors.h:171
SDL_Color Plum
Definition Colors.h:156
SDL_Color LavenderBlush
Definition Colors.h:104
SDL_Color DimGray
Definition Colors.h:82
SDL_Color DarkRed
Definition Colors.h:72
SDL_Color LightSteelBlue
Definition Colors.h:120
SDL_Color FloralWhite
Definition Colors.h:86
SDL_Color SlateGrey
Definition Colors.h:173
SDL_Color MidnightBlue
Definition Colors.h:136
SDL_Color ForestGreen
Definition Colors.h:87
SDL_Color DarkViolet
Definition Colors.h:79
SDL_Color DarkCyan
Definition Colors.h:62
SDL_Color White
Definition Colors.h:185
SDL_Color Crimson
Definition Colors.h:59
SDL_Color Aquamarine
Definition Colors.h:42
SDL_Color PowderBlue
Definition Colors.h:157
SDL_Color SteelBlue
Definition Colors.h:176
SDL_Color BlanchedAlmond
Definition Colors.h:47
SDL_Color Azure
Definition Colors.h:43
SDL_Color Tan
Definition Colors.h:177
SDL_Color Green
Definition Colors.h:95
SDL_Color Wheat
Definition Colors.h:184
SDL_Color Coral
Definition Colors.h:56
SDL_Color Tomato
Definition Colors.h:180
SDL_Color MintCream
Definition Colors.h:137
SDL_Color Navy
Definition Colors.h:141
SDL_Color NavajoWhite
Definition Colors.h:140
SDL_Color LightSlateGray
Definition Colors.h:118
SDL_Color Snow
Definition Colors.h:174
SDL_Color Gainsboro
Definition Colors.h:89
SDL_Color PaleTurquoise
Definition Colors.h:150
SDL_Color Lavender
Definition Colors.h:103
SDL_Color RosyBrown
Definition Colors.h:161
SDL_Color DeepSkyBlue
Definition Colors.h:81
SDL_Color Maroon
Definition Colors.h:126
SDL_Color LightPink
Definition Colors.h:114
SDL_Color CadetBlue
Definition Colors.h:52
SDL_Color RebeccaPurple
Definition Colors.h:159
SDL_Color DarkSeaGreen
Definition Colors.h:74
SDL_Color DarkGray
Definition Colors.h:64
SDL_Color Cornsilk
Definition Colors.h:58
SDL_Color RoyalBlue
Definition Colors.h:162
SDL_Color LightSkyBlue
Definition Colors.h:117
SDL_Color Ivory
Definition Colors.h:101
SDL_Color Cyan
Definition Colors.h:60
SDL_Color DodgerBlue
Definition Colors.h:84
SDL_Color PeachPuff
Definition Colors.h:153
SDL_Color DarkGrey
Definition Colors.h:65
SDL_Color Linen
Definition Colors.h:124
SDL_Color Salmon
Definition Colors.h:164
SDL_Color DarkSlateGray
Definition Colors.h:76
SDL_Color GreenYellow
Definition Colors.h:96
SDL_Color DarkKhaki
Definition Colors.h:67
SDL_Color LightSlateGrey
Definition Colors.h:119
SDL_Color Charcoal
Definition Colors.h:53
SDL_Color Yellow
Definition Colors.h:187
SDL_Color Blue
Definition Colors.h:48
SDL_Color MediumOrchid
Definition Colors.h:129
SDL_Color DimGrey
Definition Colors.h:83
SDL_Color PaleGoldenRod
Definition Colors.h:148
SDL_Color Violet
Definition Colors.h:183
SDL_Color GhostWhite
Definition Colors.h:90
SDL_Color Sienna
Definition Colors.h:168
SDL_Color DarkSlateGrey
Definition Colors.h:77
SDL_Color GoldenRod
Definition Colors.h:92
SDL_Color LightGreen
Definition Colors.h:113
SDL_Color SaddleBrown
Definition Colors.h:163
SDL_Color CornflowerBlue
Definition Colors.h:57
SDL_Color Chartreuse
Definition Colors.h:54
SDL_Color FireBrick
Definition Colors.h:85
SDL_Color Transparent
Definition Colors.h:181
SDL_Color LawnGreen
Definition Colors.h:105
SDL_Color Indigo
Definition Colors.h:100
SDL_Color MediumTurquoise
Definition Colors.h:134
SDL_Color Olive
Definition Colors.h:143
SDL_Color MediumSpringGreen
Definition Colors.h:133
SDL_Color Purple
Definition Colors.h:158
SDL_Color DarkSalmon
Definition Colors.h:73
SDL_Color DeepPink
Definition Colors.h:80
SDL_Color OliveDrab
Definition Colors.h:144
SDL_Color LightCoral
Definition Colors.h:108
SDL_Color LightGray
Definition Colors.h:111
SDL_Color Black
Definition Colors.h:46
SDL_Color Orange
Definition Colors.h:145
SDL_Color SeaShell
Definition Colors.h:167
SDL_Color Peru
Definition Colors.h:154
SDL_Color LightSeaGreen
Definition Colors.h:116
SDL_Color MediumVioletRed
Definition Colors.h:135
SDL_Color SpringGreen
Definition Colors.h:175
SDL_Color PapayaWhip
Definition Colors.h:152
SDL_Color LightGoldenRodYellow
Definition Colors.h:110
SDL_Color Aqua
Definition Colors.h:41
SDL_Color DarkSlateBlue
Definition Colors.h:75
SDL_Color Beige
Definition Colors.h:44
SDL_Color MediumPurple
Definition Colors.h:130
SDL_Color LightYellow
Definition Colors.h:121
SDL_Color DarkOliveGreen
Definition Colors.h:69
SDL_Color HotPink
Definition Colors.h:98
SDL_Color LimeGreen
Definition Colors.h:123
SDL_Color MediumSeaGreen
Definition Colors.h:131
SDL_Color Gray
Definition Colors.h:93
SDL_Color PaleVioletRed
Definition Colors.h:151
SDL_Color SandyBrown
Definition Colors.h:165
SDL_Color DarkOrchid
Definition Colors.h:71
SDL_Color AntiqueWhite
Definition Colors.h:40
SDL_Color Silver
Definition Colors.h:169
SDL_Color Teal
Definition Colors.h:178
SDL_Color DarkGreen
Definition Colors.h:66
SDL_Color BlueViolet
Definition Colors.h:49
SDL_Color OldLace
Definition Colors.h:142
SDL_Color Khaki
Definition Colors.h:102
SDL_Color Chocolate
Definition Colors.h:55
SDL_Color Moccasin
Definition Colors.h:139
SDL_Color IndianRed
Definition Colors.h:99
SDL_Color MediumAquaMarine
Definition Colors.h:127
SDL_Color LemonChiffon
Definition Colors.h:106
SDL_Color HoneyDew
Definition Colors.h:97
SDL_Color Orchid
Definition Colors.h:147
SDL_Color Bisque
Definition Colors.h:45
SDL_Color LightCyan
Definition Colors.h:109
SDL_Color YellowGreen
Definition Colors.h:188
SDL_Color PaleGreen
Definition Colors.h:149
SDL_Color OrangeRed
Definition Colors.h:146
SDL_Color BurlyWood
Definition Colors.h:51
SDL_Color DarkMagenta
Definition Colors.h:68
SDL_Color SeaGreen
Definition Colors.h:166
SDL_Color DarkBlue
Definition Colors.h:61
SDL_Color Grey
Definition Colors.h:94
SDL_Color MistyRose
Definition Colors.h:138
SDL_Color SkyBlue
Definition Colors.h:170
SDL_Color Red
Definition Colors.h:160

◆ MVC_HexToRGBA()

OBJECTIVELYMVC_EXPORT SDL_Color MVC_HexToRGBA ( const char *  hexString)
related

Converts the given hexadecimal color string to an RGBA color.

Parameters
hexStringThe hexadecimal color string (e.g. deadbeef).
Returns
An SDL_Color containing the byte-clamped RGBA values.

Definition at line 639 of file Colors.c.

639 {
640 static char buffer[9];
641
642 union {
643 SDL_Color c;
644 unsigned int u;
645 } color;
646
647 color.u = 0;
648
649 const size_t length = strlen(hex);
650 if (length != 6 && length != 8) {
651 return color.c;
652 }
653
654 strcpy(buffer, hex);
655
656 if (length == 6) {
657 strcat(buffer, "ff");
658 }
659
660 if (sscanf(buffer, "%x", &color.u) != 1) {
661 return color.c;
662 }
663
664#if SDL_BYTEORDER == SDL_LIL_ENDIAN
665 color.u = (((color.u & 0xff000000) >> 24) | ((color.u & 0x00ff0000) >> 8) | ((color.u & 0x0000ff00) << 8) | ((color.u & 0x000000ff) << 24));
666#endif
667
668 return color.c;
669}

◆ MVC_HSVToRGB()

OBJECTIVELYMVC_EXPORT SDL_Color MVC_HSVToRGB ( double  hue,
double  saturation,
double  value 
)
related

Converts the given HSV components to an RGB color.

Parameters
hueThe hue component (0.0 - 360.0).
saturationThe saturation component (0.0 - 1.0).
valueThe value component (0.0 - 1.0).
Returns
An SDL_Color containing the byte-clamped RGB values.

Definition at line 685 of file Colors.c.

685 {
686
687 SDL_Color color = { .a = 255 };
688
689 const double h = fabs(fmod(hue, 360.0)) / 60.0;
690 const int i = (int) h;
691 const double f = h - i;
692 const double v = value * 255;
693 const double p = v * (1.0 - saturation);
694 const double q = v * (1.0 - (saturation * f));
695 const double t = v * (1.0 - (saturation * (1.0 - f)));
696
697 switch (i) {
698 case 0:
699 color.r = v;
700 color.g = t;
701 color.b = p;
702 break;
703 case 1:
704 color.r = q;
705 color.g = v;
706 color.b = p;
707 break;
708 case 2:
709 color.r = p;
710 color.g = v;
711 color.b = t;
712 break;
713 case 3:
714 color.r = p;
715 color.g = q;
716 color.b = v;
717 break;
718 case 4:
719 color.r = t;
720 color.g = p;
721 color.b = v;
722 break;
723 default:
724 color.r = v;
725 color.g = p;
726 color.b = q;
727 break;
728 }
729
730 return color;
731}

◆ MVC_RGBAToHex()

OBJECTIVELYMVC_EXPORT char * MVC_RGBAToHex ( const SDL_Color *  color)
related
Parameters
colorThe RGBA color.
Returns
The hexadecimal color string (e.g. deadbeef).
Remarks
This function uses static memory and is not thread safe.

Definition at line 675 of file Colors.c.

675 {
676 static char hex[9];
677
678 assert(color);
679
680 snprintf(hex, sizeof(hex), "%02x%02x%02x%02x", color->r, color->g, color->b, color->a);
681
682 return hex;
683}

◆ MVC_RGBToHex()

OBJECTIVELYMVC_EXPORT char * MVC_RGBToHex ( const SDL_Color *  color)
related
Parameters
colorThe RGB color.
Returns
The hexadecimal color string (e.g. deadbeef).
Remarks
This function uses static memory and is not thread safe.

Definition at line 671 of file Colors.c.

671 {
672 return MVC_RGBAToHex(&(const SDL_Color) { .r = color->r, .g = color->g, .b = color->b, .a = 255 });
673}
OBJECTIVELYMVC_EXPORT char * MVC_RGBAToHex(const SDL_Color *color)
Definition Colors.c:675

◆ MVC_RGBToHSV()

OBJECTIVELYMVC_EXPORT void MVC_RGBToHSV ( const SDL_Color *  color,
double *  hue,
double *  saturation,
double *  value 
)
related

Converts the given RGB color to HSV components.

Parameters
colorThe RGB color.
hueThe hue component.
saturationThe saturation component.
valueThe value component.

Definition at line 733 of file Colors.c.

733 {
734
735 assert(color);
736
737 const double r = color->r / 255.0;
738 const double g = color->g / 255.0;
739 const double b = color->b / 255.0;
740
741 const double rgbMax = max(max(r, g), b);
742 const double rgbMin = min(min(r, g), b);
743 const double rgbDelta = rgbMax - rgbMin;
744
745 if (rgbDelta > 0.0) {
746
747 if (hue) {
748 if (rgbMax == r) {
749 *hue = 60.0 * fmod(((g - b) / rgbDelta), 6.0);
750 } else if (rgbMax == g) {
751 *hue = 60.0 * (((b - r) / rgbDelta) + 2.0);
752 } else if (rgbMax == b) {
753 *hue = 60.0 * (((r - g) / rgbDelta) + 4.0);
754 }
755
756 while (*hue < 0.0) {
757 *hue += 360.0;
758 }
759 }
760
761 if (saturation) {
762 if (rgbMax > 0.0) {
763 *saturation = rgbDelta / rgbMax;
764 } else {
765 *saturation = 0.0;
766 }
767 }
768
769 if (value) {
770 *value = rgbMax;
771 }
772
773 } else {
774 if (hue) {
775 *hue = 0.0;
776 }
777
778 if (saturation) {
779 *saturation = 0.0;
780 }
781
782 if (value) {
783 *value = rgbMax;
784 }
785 }
786}

Field Documentation

◆ AliceBlue

SDL_Color Colors::AliceBlue

Definition at line 39 of file Colors.h.

◆ AntiqueWhite

SDL_Color Colors::AntiqueWhite

Definition at line 40 of file Colors.h.

◆ Aqua

SDL_Color Colors::Aqua

Definition at line 41 of file Colors.h.

◆ Aquamarine

SDL_Color Colors::Aquamarine

Definition at line 42 of file Colors.h.

◆ Azure

SDL_Color Colors::Azure

Definition at line 43 of file Colors.h.

◆ Beige

SDL_Color Colors::Beige

Definition at line 44 of file Colors.h.

◆ Bisque

SDL_Color Colors::Bisque

Definition at line 45 of file Colors.h.

◆ Black

SDL_Color Colors::Black

Definition at line 46 of file Colors.h.

◆ BlanchedAlmond

SDL_Color Colors::BlanchedAlmond

Definition at line 47 of file Colors.h.

◆ Blue

SDL_Color Colors::Blue

Definition at line 48 of file Colors.h.

◆ BlueViolet

SDL_Color Colors::BlueViolet

Definition at line 49 of file Colors.h.

◆ Brown

SDL_Color Colors::Brown

Definition at line 50 of file Colors.h.

◆ BurlyWood

SDL_Color Colors::BurlyWood

Definition at line 51 of file Colors.h.

◆ CadetBlue

SDL_Color Colors::CadetBlue

Definition at line 52 of file Colors.h.

◆ Charcoal

SDL_Color Colors::Charcoal

Definition at line 53 of file Colors.h.

◆ Chartreuse

SDL_Color Colors::Chartreuse

Definition at line 54 of file Colors.h.

◆ Chocolate

SDL_Color Colors::Chocolate

Definition at line 55 of file Colors.h.

◆ Coral

SDL_Color Colors::Coral

Definition at line 56 of file Colors.h.

◆ CornflowerBlue

SDL_Color Colors::CornflowerBlue

Definition at line 57 of file Colors.h.

◆ Cornsilk

SDL_Color Colors::Cornsilk

Definition at line 58 of file Colors.h.

◆ Crimson

SDL_Color Colors::Crimson

Definition at line 59 of file Colors.h.

◆ Cyan

SDL_Color Colors::Cyan

Definition at line 60 of file Colors.h.

◆ DarkBlue

SDL_Color Colors::DarkBlue

Definition at line 61 of file Colors.h.

◆ DarkCyan

SDL_Color Colors::DarkCyan

Definition at line 62 of file Colors.h.

◆ DarkGoldenRod

SDL_Color Colors::DarkGoldenRod

Definition at line 63 of file Colors.h.

◆ DarkGray

SDL_Color Colors::DarkGray

Definition at line 64 of file Colors.h.

◆ DarkGreen

SDL_Color Colors::DarkGreen

Definition at line 66 of file Colors.h.

◆ DarkGrey

SDL_Color Colors::DarkGrey

Definition at line 65 of file Colors.h.

◆ DarkKhaki

SDL_Color Colors::DarkKhaki

Definition at line 67 of file Colors.h.

◆ DarkMagenta

SDL_Color Colors::DarkMagenta

Definition at line 68 of file Colors.h.

◆ DarkOliveGreen

SDL_Color Colors::DarkOliveGreen

Definition at line 69 of file Colors.h.

◆ DarkOrange

SDL_Color Colors::DarkOrange

Definition at line 70 of file Colors.h.

◆ DarkOrchid

SDL_Color Colors::DarkOrchid

Definition at line 71 of file Colors.h.

◆ DarkRed

SDL_Color Colors::DarkRed

Definition at line 72 of file Colors.h.

◆ DarkSalmon

SDL_Color Colors::DarkSalmon

Definition at line 73 of file Colors.h.

◆ DarkSeaGreen

SDL_Color Colors::DarkSeaGreen

Definition at line 74 of file Colors.h.

◆ DarkSlateBlue

SDL_Color Colors::DarkSlateBlue

Definition at line 75 of file Colors.h.

◆ DarkSlateGray

SDL_Color Colors::DarkSlateGray

Definition at line 76 of file Colors.h.

◆ DarkSlateGrey

SDL_Color Colors::DarkSlateGrey

Definition at line 77 of file Colors.h.

◆ DarkTurquoise

SDL_Color Colors::DarkTurquoise

Definition at line 78 of file Colors.h.

◆ DarkViolet

SDL_Color Colors::DarkViolet

Definition at line 79 of file Colors.h.

◆ DeepPink

SDL_Color Colors::DeepPink

Definition at line 80 of file Colors.h.

◆ DeepSkyBlue

SDL_Color Colors::DeepSkyBlue

Definition at line 81 of file Colors.h.

◆ DimGray

SDL_Color Colors::DimGray

Definition at line 82 of file Colors.h.

◆ DimGrey

SDL_Color Colors::DimGrey

Definition at line 83 of file Colors.h.

◆ DodgerBlue

SDL_Color Colors::DodgerBlue

Definition at line 84 of file Colors.h.

◆ FireBrick

SDL_Color Colors::FireBrick

Definition at line 85 of file Colors.h.

◆ FloralWhite

SDL_Color Colors::FloralWhite

Definition at line 86 of file Colors.h.

◆ ForestGreen

SDL_Color Colors::ForestGreen

Definition at line 87 of file Colors.h.

◆ Fuchsia

SDL_Color Colors::Fuchsia

Definition at line 88 of file Colors.h.

◆ Gainsboro

SDL_Color Colors::Gainsboro

Definition at line 89 of file Colors.h.

◆ GhostWhite

SDL_Color Colors::GhostWhite

Definition at line 90 of file Colors.h.

◆ Gold

SDL_Color Colors::Gold

Definition at line 91 of file Colors.h.

◆ GoldenRod

SDL_Color Colors::GoldenRod

Definition at line 92 of file Colors.h.

◆ Gray

SDL_Color Colors::Gray

Definition at line 93 of file Colors.h.

◆ Green

SDL_Color Colors::Green

Definition at line 95 of file Colors.h.

◆ GreenYellow

SDL_Color Colors::GreenYellow

Definition at line 96 of file Colors.h.

◆ Grey

SDL_Color Colors::Grey

Definition at line 94 of file Colors.h.

◆ HoneyDew

SDL_Color Colors::HoneyDew

Definition at line 97 of file Colors.h.

◆ HotPink

SDL_Color Colors::HotPink

Definition at line 98 of file Colors.h.

◆ IndianRed

SDL_Color Colors::IndianRed

Definition at line 99 of file Colors.h.

◆ Indigo

SDL_Color Colors::Indigo

Definition at line 100 of file Colors.h.

◆ Ivory

SDL_Color Colors::Ivory

Definition at line 101 of file Colors.h.

◆ Khaki

SDL_Color Colors::Khaki

Definition at line 102 of file Colors.h.

◆ Lavender

SDL_Color Colors::Lavender

Definition at line 103 of file Colors.h.

◆ LavenderBlush

SDL_Color Colors::LavenderBlush

Definition at line 104 of file Colors.h.

◆ LawnGreen

SDL_Color Colors::LawnGreen

Definition at line 105 of file Colors.h.

◆ LemonChiffon

SDL_Color Colors::LemonChiffon

Definition at line 106 of file Colors.h.

◆ LightBlue

SDL_Color Colors::LightBlue

Definition at line 107 of file Colors.h.

◆ LightCoral

SDL_Color Colors::LightCoral

Definition at line 108 of file Colors.h.

◆ LightCyan

SDL_Color Colors::LightCyan

Definition at line 109 of file Colors.h.

◆ LightGoldenRodYellow

SDL_Color Colors::LightGoldenRodYellow

Definition at line 110 of file Colors.h.

◆ LightGray

SDL_Color Colors::LightGray

Definition at line 111 of file Colors.h.

◆ LightGreen

SDL_Color Colors::LightGreen

Definition at line 113 of file Colors.h.

◆ LightGrey

SDL_Color Colors::LightGrey

Definition at line 112 of file Colors.h.

◆ LightPink

SDL_Color Colors::LightPink

Definition at line 114 of file Colors.h.

◆ LightSalmon

SDL_Color Colors::LightSalmon

Definition at line 115 of file Colors.h.

◆ LightSeaGreen

SDL_Color Colors::LightSeaGreen

Definition at line 116 of file Colors.h.

◆ LightSkyBlue

SDL_Color Colors::LightSkyBlue

Definition at line 117 of file Colors.h.

◆ LightSlateGray

SDL_Color Colors::LightSlateGray

Definition at line 118 of file Colors.h.

◆ LightSlateGrey

SDL_Color Colors::LightSlateGrey

Definition at line 119 of file Colors.h.

◆ LightSteelBlue

SDL_Color Colors::LightSteelBlue

Definition at line 120 of file Colors.h.

◆ LightYellow

SDL_Color Colors::LightYellow

Definition at line 121 of file Colors.h.

◆ Lime

SDL_Color Colors::Lime

Definition at line 122 of file Colors.h.

◆ LimeGreen

SDL_Color Colors::LimeGreen

Definition at line 123 of file Colors.h.

◆ Linen

SDL_Color Colors::Linen

Definition at line 124 of file Colors.h.

◆ Magenta

SDL_Color Colors::Magenta

Definition at line 125 of file Colors.h.

◆ Maroon

SDL_Color Colors::Maroon

Definition at line 126 of file Colors.h.

◆ MediumAquaMarine

SDL_Color Colors::MediumAquaMarine

Definition at line 127 of file Colors.h.

◆ MediumBlue

SDL_Color Colors::MediumBlue

Definition at line 128 of file Colors.h.

◆ MediumOrchid

SDL_Color Colors::MediumOrchid

Definition at line 129 of file Colors.h.

◆ MediumPurple

SDL_Color Colors::MediumPurple

Definition at line 130 of file Colors.h.

◆ MediumSeaGreen

SDL_Color Colors::MediumSeaGreen

Definition at line 131 of file Colors.h.

◆ MediumSlateBlue

SDL_Color Colors::MediumSlateBlue

Definition at line 132 of file Colors.h.

◆ MediumSpringGreen

SDL_Color Colors::MediumSpringGreen

Definition at line 133 of file Colors.h.

◆ MediumTurquoise

SDL_Color Colors::MediumTurquoise

Definition at line 134 of file Colors.h.

◆ MediumVioletRed

SDL_Color Colors::MediumVioletRed

Definition at line 135 of file Colors.h.

◆ MidnightBlue

SDL_Color Colors::MidnightBlue

Definition at line 136 of file Colors.h.

◆ MintCream

SDL_Color Colors::MintCream

Definition at line 137 of file Colors.h.

◆ MistyRose

SDL_Color Colors::MistyRose

Definition at line 138 of file Colors.h.

◆ Moccasin

SDL_Color Colors::Moccasin

Definition at line 139 of file Colors.h.

◆ NavajoWhite

SDL_Color Colors::NavajoWhite

Definition at line 140 of file Colors.h.

◆ Navy

SDL_Color Colors::Navy

Definition at line 141 of file Colors.h.

◆ OldLace

SDL_Color Colors::OldLace

Definition at line 142 of file Colors.h.

◆ Olive

SDL_Color Colors::Olive

Definition at line 143 of file Colors.h.

◆ OliveDrab

SDL_Color Colors::OliveDrab

Definition at line 144 of file Colors.h.

◆ Orange

SDL_Color Colors::Orange

Definition at line 145 of file Colors.h.

◆ OrangeRed

SDL_Color Colors::OrangeRed

Definition at line 146 of file Colors.h.

◆ Orchid

SDL_Color Colors::Orchid

Definition at line 147 of file Colors.h.

◆ PaleGoldenRod

SDL_Color Colors::PaleGoldenRod

Definition at line 148 of file Colors.h.

◆ PaleGreen

SDL_Color Colors::PaleGreen

Definition at line 149 of file Colors.h.

◆ PaleTurquoise

SDL_Color Colors::PaleTurquoise

Definition at line 150 of file Colors.h.

◆ PaleVioletRed

SDL_Color Colors::PaleVioletRed

Definition at line 151 of file Colors.h.

◆ PapayaWhip

SDL_Color Colors::PapayaWhip

Definition at line 152 of file Colors.h.

◆ PeachPuff

SDL_Color Colors::PeachPuff

Definition at line 153 of file Colors.h.

◆ Peru

SDL_Color Colors::Peru

Definition at line 154 of file Colors.h.

◆ Pink

SDL_Color Colors::Pink

Definition at line 155 of file Colors.h.

◆ Plum

SDL_Color Colors::Plum

Definition at line 156 of file Colors.h.

◆ PowderBlue

SDL_Color Colors::PowderBlue

Definition at line 157 of file Colors.h.

◆ Purple

SDL_Color Colors::Purple

Definition at line 158 of file Colors.h.

◆ RebeccaPurple

SDL_Color Colors::RebeccaPurple

Definition at line 159 of file Colors.h.

◆ Red

SDL_Color Colors::Red

Definition at line 160 of file Colors.h.

◆ RosyBrown

SDL_Color Colors::RosyBrown

Definition at line 161 of file Colors.h.

◆ RoyalBlue

SDL_Color Colors::RoyalBlue

Definition at line 162 of file Colors.h.

◆ SaddleBrown

SDL_Color Colors::SaddleBrown

Definition at line 163 of file Colors.h.

◆ Salmon

SDL_Color Colors::Salmon

Definition at line 164 of file Colors.h.

◆ SandyBrown

SDL_Color Colors::SandyBrown

Definition at line 165 of file Colors.h.

◆ SeaGreen

SDL_Color Colors::SeaGreen

Definition at line 166 of file Colors.h.

◆ SeaShell

SDL_Color Colors::SeaShell

Definition at line 167 of file Colors.h.

◆ Sienna

SDL_Color Colors::Sienna

Definition at line 168 of file Colors.h.

◆ Silver

SDL_Color Colors::Silver

Definition at line 169 of file Colors.h.

◆ SkyBlue

SDL_Color Colors::SkyBlue

Definition at line 170 of file Colors.h.

◆ SlateBlue

SDL_Color Colors::SlateBlue

Definition at line 171 of file Colors.h.

◆ SlateGray

SDL_Color Colors::SlateGray

Definition at line 172 of file Colors.h.

◆ SlateGrey

SDL_Color Colors::SlateGrey

Definition at line 173 of file Colors.h.

◆ Snow

SDL_Color Colors::Snow

Definition at line 174 of file Colors.h.

◆ SpringGreen

SDL_Color Colors::SpringGreen

Definition at line 175 of file Colors.h.

◆ SteelBlue

SDL_Color Colors::SteelBlue

Definition at line 176 of file Colors.h.

◆ Tan

SDL_Color Colors::Tan

Definition at line 177 of file Colors.h.

◆ Teal

SDL_Color Colors::Teal

Definition at line 178 of file Colors.h.

◆ Thistle

SDL_Color Colors::Thistle

Definition at line 179 of file Colors.h.

◆ Tomato

SDL_Color Colors::Tomato

Definition at line 180 of file Colors.h.

◆ Transparent

SDL_Color Colors::Transparent

Definition at line 181 of file Colors.h.

◆ Turquoise

SDL_Color Colors::Turquoise

Definition at line 182 of file Colors.h.

◆ Violet

SDL_Color Colors::Violet

Definition at line 183 of file Colors.h.

◆ Wheat

SDL_Color Colors::Wheat

Definition at line 184 of file Colors.h.

◆ White

SDL_Color Colors::White

Definition at line 185 of file Colors.h.

◆ WhiteSmoke

SDL_Color Colors::WhiteSmoke

Definition at line 186 of file Colors.h.

◆ Yellow

SDL_Color Colors::Yellow

Definition at line 187 of file Colors.h.

◆ YellowGreen

SDL_Color Colors::YellowGreen

Definition at line 188 of file Colors.h.


The documentation for this struct was generated from the following file: