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:
@@ -26,8 +26,8 @@ typedef struct {
|
||||
int icon_size1;
|
||||
int maximum_width;
|
||||
int maximum_height;
|
||||
int hue, saturation, brightness;
|
||||
int hue_active, saturation_active, brightness_active;
|
||||
int alpha, saturation, brightness;
|
||||
int alpha_active, saturation_active, brightness_active;
|
||||
// starting position for text ~ task_padding + task_border + icon_size
|
||||
double text_posx, text_posy;
|
||||
|
||||
@@ -46,9 +46,8 @@ typedef struct {
|
||||
// TODO: group task with list of windows here
|
||||
Window win;
|
||||
int desktop;
|
||||
// ARGB icon
|
||||
unsigned int *icon_data;
|
||||
unsigned int *icon_data_active;
|
||||
Imlib_Image icon;
|
||||
Imlib_Image icon_active;
|
||||
unsigned int icon_width;
|
||||
unsigned int icon_height;
|
||||
char *title;
|
||||
|
||||
Reference in New Issue
Block a user