Distinguish between 15bit and 16bit color routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4986 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,10 +31,12 @@
|
|||||||
#include <GraphicsDefs.h>
|
#include <GraphicsDefs.h>
|
||||||
|
|
||||||
void SetRGBColor(rgb_color *col,uint8 r, uint8 g, uint8 b, uint8 a=255);
|
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);
|
void SetRGBColor(rgb_color *col,uint32 color);
|
||||||
|
|
||||||
uint8 FindClosestColor(rgb_color *palette, rgb_color color);
|
uint8 FindClosestColor(rgb_color *palette, rgb_color color);
|
||||||
|
uint16 FindClosestColor15(rgb_color color);
|
||||||
uint16 FindClosestColor16(rgb_color color);
|
uint16 FindClosestColor16(rgb_color color);
|
||||||
|
|
||||||
rgb_color MakeBlendColor(rgb_color col, rgb_color col2, float position);
|
rgb_color MakeBlendColor(rgb_color col, rgb_color col2, float position);
|
||||||
|
|||||||
Reference in New Issue
Block a user