Something went wrong. Try again.
"let your cpu cosplay as a gpu!" Mirrored from exoad's Git Server.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435#ifndef __PAINTING_H__#define __PAINTING_H__
#include "def.h"
/// @brief stores a color in 0-255 format as RGBAtypedef struct{ /// @brief red channel U8 r; /// @brief green channel U8 g; /// @brief blue channel U8 b; /// @brief alpha channel U8 a;} JM_Color;/// @brief returns a random color with the alpha channel locked at 255/// @return colorJM_Color jm_color_random();
extern const JM_Color JM_COLOR_BLACK;extern const JM_Color JM_COLOR_WHITE;extern const JM_Color JM_COLOR_RED;extern const JM_Color JM_COLOR_GREEN;extern const JM_Color JM_COLOR_BLUE;extern const JM_Color JM_COLOR_YELLOW;extern const JM_Color JM_COLOR_MAGENTA;extern const JM_Color JM_COLOR_CYAN;extern const JM_Color JM_COLOR_GRAY;extern const JM_Color JM_COLOR_LIGHT_GRAY;extern const JM_Color JM_COLOR_DARK_GRAY;
#endif