]> Dogcows Code - chaz/tint2/blobdiff - src/util/common.h
adjust saturation/brightness on task icon
[chaz/tint2] / src / util / common.h
index e874ba6d8627e8a4a505da6443a4eb372e798c6c..bb67481d9af66dae501b3510828b9e26b34eb764 100644 (file)
@@ -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
This page took 0.024399 seconds and 4 git commands to generate.