Add colors : ORANGE, PINK and VIOLET
This commit is contained in:
@@ -51,6 +51,9 @@ extern const SDL_Color COLOR_RED;
|
||||
extern const SDL_Color COLOR_GREEN;
|
||||
extern const SDL_Color COLOR_BLUE;
|
||||
extern const SDL_Color COLOR_YELLOW;
|
||||
extern const SDL_Color COLOR_ORANGE;
|
||||
extern const SDL_Color COLOR_PINK;
|
||||
extern const SDL_Color COLOR_VIOLET;
|
||||
|
||||
|
||||
void Utils_setBackgroundColor(SDL_Renderer *renderer, SDL_Color color);
|
||||
|
||||
@@ -43,6 +43,9 @@ const SDL_Color COLOR_RED = {255, 0, 0, 255};
|
||||
const SDL_Color COLOR_GREEN = {0, 255, 0, 255};
|
||||
const SDL_Color COLOR_BLUE = {0, 0, 255, 255};
|
||||
const SDL_Color COLOR_YELLOW = {255, 255, 0, 255};
|
||||
const SDL_Color COLOR_ORANGE = {255, 133, 0, 255};
|
||||
const SDL_Color COLOR_PINK = {255, 0, 206, 255};
|
||||
const SDL_Color COLOR_VIOLET = {145, 0, 255, 255};
|
||||
|
||||
void Utils_setBackgroundColor(SDL_Renderer *renderer, SDL_Color color)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user