summaryrefslogtreecommitdiff
path: root/src/drivers/video/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/video/video.h')
-rw-r--r--src/drivers/video/video.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/drivers/video/video.h b/src/drivers/video/video.h
index d17a51d..6da8e60 100644
--- a/src/drivers/video/video.h
+++ b/src/drivers/video/video.h
@@ -46,4 +46,22 @@ bool video_supports_mode( void *obj, const video_mode_t mode );
bool video_set_mode( void *obj, const video_mode_t mode );
bool video_switch_mode( void *obj, const video_mode_t *mode );
+typedef struct {
+ int R;
+ int G;
+ int B;
+} video_rgb_color_t;
+
+extern const video_rgb_color_t VIDEO_RGB_COLOR_BLACK;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_BLUE;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_GREEN;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_CYAN;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_RED;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_MAGENTA;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_BROWN;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_GRAY;
+extern const video_rgb_color_t VIDEO_RGB_COLOR_WHITE;
+
+video_rgb_color_t video_make_rgb_color( const int R, const int G, const int B );
+
#endif // VIDEO_H