openpilot color names (#4)
This commit is contained in:
parent
5b56f44b1f
commit
f5b0a7237c
110
src/raylib.h
110
src/raylib.h
|
|
@ -172,33 +172,91 @@
|
|||
|
||||
// Some Basic Colors
|
||||
// NOTE: Custom raylib color palette for amazing visuals on WHITE background
|
||||
#define LIGHTGRAY CLITERAL(Color){ 200, 200, 200, 255 } // Light Gray
|
||||
#define GRAY CLITERAL(Color){ 130, 130, 130, 255 } // Gray
|
||||
#define DARKGRAY CLITERAL(Color){ 80, 80, 80, 255 } // Dark Gray
|
||||
#define YELLOW CLITERAL(Color){ 253, 249, 0, 255 } // Yellow
|
||||
#define GOLD CLITERAL(Color){ 255, 203, 0, 255 } // Gold
|
||||
#define ORANGE CLITERAL(Color){ 255, 161, 0, 255 } // Orange
|
||||
#define PINK CLITERAL(Color){ 255, 109, 194, 255 } // Pink
|
||||
#define RED CLITERAL(Color){ 230, 41, 55, 255 } // Red
|
||||
#define MAROON CLITERAL(Color){ 190, 33, 55, 255 } // Maroon
|
||||
#define GREEN CLITERAL(Color){ 0, 228, 48, 255 } // Green
|
||||
#define LIME CLITERAL(Color){ 0, 158, 47, 255 } // Lime
|
||||
#define DARKGREEN CLITERAL(Color){ 0, 117, 44, 255 } // Dark Green
|
||||
#define SKYBLUE CLITERAL(Color){ 102, 191, 255, 255 } // Sky Blue
|
||||
#define BLUE CLITERAL(Color){ 0, 121, 241, 255 } // Blue
|
||||
#define DARKBLUE CLITERAL(Color){ 0, 82, 172, 255 } // Dark Blue
|
||||
#define PURPLE CLITERAL(Color){ 200, 122, 255, 255 } // Purple
|
||||
#define VIOLET CLITERAL(Color){ 135, 60, 190, 255 } // Violet
|
||||
#define DARKPURPLE CLITERAL(Color){ 112, 31, 126, 255 } // Dark Purple
|
||||
#define BEIGE CLITERAL(Color){ 211, 176, 131, 255 } // Beige
|
||||
#define BROWN CLITERAL(Color){ 127, 106, 79, 255 } // Brown
|
||||
#define DARKBROWN CLITERAL(Color){ 76, 63, 47, 255 } // Dark Brown
|
||||
#define _rl_LIGHTGRAY CLITERAL(Color){ 200, 200, 200, 255 } // Light Gray
|
||||
#define _rl_GRAY CLITERAL(Color){ 130, 130, 130, 255 } // Gray
|
||||
#define _rl_DARKGRAY CLITERAL(Color){ 80, 80, 80, 255 } // Dark Gray
|
||||
#define _rl_YELLOW CLITERAL(Color){ 253, 249, 0, 255 } // Yellow
|
||||
#define _rl_GOLD CLITERAL(Color){ 255, 203, 0, 255 } // Gold
|
||||
#define _rl_ORANGE CLITERAL(Color){ 255, 161, 0, 255 } // Orange
|
||||
#define _rl_PINK CLITERAL(Color){ 255, 109, 194, 255 } // Pink
|
||||
#define _rl_RED CLITERAL(Color){ 230, 41, 55, 255 } // Red
|
||||
#define _rl_MAROON CLITERAL(Color){ 190, 33, 55, 255 } // Maroon
|
||||
#define _rl_GREEN CLITERAL(Color){ 0, 228, 48, 255 } // Green
|
||||
#define _rl_LIME CLITERAL(Color){ 0, 158, 47, 255 } // Lime
|
||||
#define _rl_DARKGREEN CLITERAL(Color){ 0, 117, 44, 255 } // Dark Green
|
||||
#define _rl_SKYBLUE CLITERAL(Color){ 102, 191, 255, 255 } // Sky Blue
|
||||
#define _rl_BLUE CLITERAL(Color){ 0, 121, 241, 255 } // Blue
|
||||
#define _rl_DARKBLUE CLITERAL(Color){ 0, 82, 172, 255 } // Dark Blue
|
||||
#define _rl_PURPLE CLITERAL(Color){ 200, 122, 255, 255 } // Purple
|
||||
#define _rl_VIOLET CLITERAL(Color){ 135, 60, 190, 255 } // Violet
|
||||
#define _rl_DARKPURPLE CLITERAL(Color){ 112, 31, 126, 255 } // Dark Purple
|
||||
#define _rl_BEIGE CLITERAL(Color){ 211, 176, 131, 255 } // Beige
|
||||
#define _rl_BROWN CLITERAL(Color){ 127, 106, 79, 255 } // Brown
|
||||
#define _rl_DARKBROWN CLITERAL(Color){ 76, 63, 47, 255 } // Dark Brown
|
||||
|
||||
#define WHITE CLITERAL(Color){ 255, 255, 255, 255 } // White
|
||||
#define BLACK CLITERAL(Color){ 0, 0, 0, 255 } // Black
|
||||
#define BLANK CLITERAL(Color){ 0, 0, 0, 0 } // Blank (Transparent)
|
||||
#define MAGENTA CLITERAL(Color){ 255, 0, 255, 255 } // Magenta
|
||||
#define RAYWHITE CLITERAL(Color){ 245, 245, 245, 255 } // My own White (raylib logo)
|
||||
#define _rl_WHITE CLITERAL(Color){ 255, 255, 255, 255 } // White
|
||||
#define _rl_BLACK CLITERAL(Color){ 0, 0, 0, 255 } // Black
|
||||
#define _rl_BLANK CLITERAL(Color){ 0, 0, 0, 0 } // Blank (Transparent)
|
||||
#define _rl_MAGENTA CLITERAL(Color){ 255, 0, 255, 255 } // Magenta
|
||||
#define _rl_RAYWHITE CLITERAL(Color){ 245, 245, 245, 255 } // My own White (raylib logo)
|
||||
|
||||
#ifndef OPENPILOT_RAYLIB
|
||||
#define LIGHTGRAY _rl_LIGHTGRAY
|
||||
#define GRAY _rl_GRAY
|
||||
#define DARKGRAY _rl_DARKGRAY
|
||||
#define YELLOW _rl_YELLOW
|
||||
#define GOLD _rl_GOLD
|
||||
#define ORANGE _rl_ORANGE
|
||||
#define PINK _rl_PINK
|
||||
#define RED _rl_RED
|
||||
#define MAROON _rl_MAROON
|
||||
#define GREEN _rl_GREEN
|
||||
#define LIME _rl_LIME
|
||||
#define DARKGREEN _rl_DARKGREEN
|
||||
#define SKYBLUE _rl_SKYBLUE
|
||||
#define BLUE _rl_BLUE
|
||||
#define DARKBLUE _rl_DARKBLUE
|
||||
#define PURPLE _rl_PURPLE
|
||||
#define VIOLET _rl_VIOLET
|
||||
#define DARKPURPLE _rl_DARKBLUE
|
||||
#define BEIGE _rl_BEIGE
|
||||
#define BROWN _rl_BROWN
|
||||
#define DARKBROWN _rl_DARKBROWN
|
||||
|
||||
#define WHITE _rl_WHITE
|
||||
#define BLACK _rl_BLACK
|
||||
#define BLANK _rl_BLANK
|
||||
#define MAGENTA _rl_MAGENTA
|
||||
#define RAYWHITE _rl_RAYWHITE
|
||||
#else
|
||||
#define RAYLIB_LIGHTGRAY _rl_LIGHTGRAY
|
||||
#define RAYLIB_GRAY _rl_GRAY
|
||||
#define RAYLIB_DARKGRAY _rl_DARKGRAY
|
||||
#define RAYLIB_YELLOW _rl_YELLOW
|
||||
#define RAYLIB_GOLD _rl_GOLD
|
||||
#define RAYLIB_ORANGE _rl_ORANGE
|
||||
#define RAYLIB_PINK _rl_PINK
|
||||
#define RAYLIB_RED _rl_RED
|
||||
#define RAYLIB_MAROON _rl_MAROON
|
||||
#define RAYLIB_GREEN _rl_GREEN
|
||||
#define RAYLIB_LIME _rl_LIME
|
||||
#define RAYLIB_DARKGREEN _rl_DARKGREEN
|
||||
#define RAYLIB_SKYBLUE _rl_SKYBLUE
|
||||
#define RAYLIB_BLUE _rl_BLUE
|
||||
#define RAYLIB_DARKBLUE _rl_DARKBLUE
|
||||
#define RAYLIB_PURPLE _rl_PURPLE
|
||||
#define RAYLIB_VIOLET _rl_VIOLET
|
||||
#define RAYLIB_DARKPURPLE _rl_DARKBLUE
|
||||
#define RAYLIB_BEIGE _rl_BEIGE
|
||||
#define RAYLIB_BROWN _rl_BROWN
|
||||
#define RAYLIB_DARKBROWN _rl_DARKBROWN
|
||||
|
||||
#define RAYLIB_WHITE _rl_WHITE
|
||||
#define RAYLIB_BLACK _rl_BLACK
|
||||
#define RAYLIB_BLANK _rl_BLANK
|
||||
#define RAYLIB_MAGENTA _rl_MAGENTA
|
||||
#define RAYLIB_RAYWHITE _rl_RAYWHITE
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Structures Definition
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user