Palette now uses RGB components in the full 0-255 range instead of 0-63.
All palette functions can be used in HSL color space too (multi-select, etc). Fixed some more missing refreshes in Palette screen. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@368 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
op_c.h
4
op_c.h
@@ -147,8 +147,8 @@ void TC_Delete(Table_conversion * t);
|
||||
byte TC_Get(Table_conversion * t,int r,int v,int b);
|
||||
void TC_Set(Table_conversion * t,int r,int v,int b,byte i);
|
||||
|
||||
void rgb2hl(int r, int v,int b, byte* h, byte*l, byte* s);
|
||||
void HLStoRGB(byte h, byte l, byte s, byte* r, byte* g, byte* b);
|
||||
void RGBtoHSL(int r, int v,int b, byte* h, byte*s, byte* l);
|
||||
void HSLtoRGB(byte h, byte s, byte l, byte* r, byte* g, byte* b);
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user