lower cpu use with icon. replace HUE by ALPHA on icon (see task_icon_asb).

git-svn-id: http://tint2.googlecode.com/svn/trunk@187 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-09-19 20:56:15 +00:00
parent ef0d7ac586
commit b3e399b3d2
6 changed files with 80 additions and 120 deletions

View File

@@ -50,9 +50,9 @@ typedef struct config_color
} config_color;
// adjust HSB on an ARGB icon
void adjust_hsb(DATA32 *data, int w, int h, float hue, float satur, float bright);
// adjust Alpha/Saturation/Brightness on an ARGB icon
// alpha from 0 to 100, satur from 0 to 1, bright from 0 to 1.
void adjust_asb(DATA32 *data, int w, int h, int alpha, float satur, float bright);
#endif