adjust saturation/brightness on task icon
git-svn-id: http://tint2.googlecode.com/svn/trunk@160 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -32,9 +32,6 @@ enum { NONE=0, CLOSE, TOGGLE, ICONIFY, SHADE, TOGGLE_ICONIFY, MAXIMIZE_RESTORE,
|
||||
|
||||
#define ALLDESKTOP 0xFFFFFFFF
|
||||
|
||||
#define MIN3(x,y,z) ((y) <= (z) ? ((x) <= (y) ? (x) : (y)) : ((x) <= (z) ? (x) : (z)))
|
||||
#define MAX3(x,y,z) ((y) >= (z) ? ((x) >= (y) ? (x) : (y)) : ((x) >= (z) ? (x) : (z)))
|
||||
|
||||
|
||||
typedef struct config_border
|
||||
{
|
||||
@@ -52,6 +49,9 @@ typedef struct config_color
|
||||
} config_color;
|
||||
|
||||
|
||||
// adjust HSB on an ARGB icon
|
||||
void adjust_hsb(unsigned int *data, int w, int h, float hue, float satur, float bright);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user