From 37c324a7416772647518757affe4e848d7886c66 Mon Sep 17 00:00:00 2001 From: shadow303 Date: Fri, 10 Oct 2003 20:34:45 +0000 Subject: [PATCH] Distinguish between 15bit and 16bit color routines git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4986 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/interface/ColorUtils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/headers/os/interface/ColorUtils.h b/headers/os/interface/ColorUtils.h index c2a5b441af..2519cb416c 100644 --- a/headers/os/interface/ColorUtils.h +++ b/headers/os/interface/ColorUtils.h @@ -31,10 +31,12 @@ #include void SetRGBColor(rgb_color *col,uint8 r, uint8 g, uint8 b, uint8 a=255); -void SetRGBColor(rgb_color *col,uint16 color); +void SetRGBColor15(rgb_color *col,uint16 color); +void SetRGBColor16(rgb_color *col,uint16 color); void SetRGBColor(rgb_color *col,uint32 color); uint8 FindClosestColor(rgb_color *palette, rgb_color color); +uint16 FindClosestColor15(rgb_color color); uint16 FindClosestColor16(rgb_color color); rgb_color MakeBlendColor(rgb_color col, rgb_color col2, float position);