]> Dogcows Code - chaz/tint2/blobdiff - src/taskbar/task.h
fixed segfault
[chaz/tint2] / src / taskbar / task.h
index d1870dbbbca9a6a25beb8216061f5b1a393c58ab..f0cefe2a705054a968ad28d3561661c607bf6863 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <X11/Xlib.h>
 #include <pango/pangocairo.h>
+#include <Imlib2.h>
 #include "common.h"
 
 
@@ -25,6 +26,8 @@ typedef struct {
        int icon_size1;
        int maximum_width;
        int maximum_height;
+   int hue, saturation, brightness;
+   int hue_active, saturation_active, brightness_active;
        // starting position for text ~ task_padding + task_border + icon_size
        double text_posx, text_posy;
 
@@ -43,9 +46,11 @@ typedef struct {
        // TODO: group task with list of windows here
        Window win;
        int  desktop;
+       // ARGB icon
        unsigned int *icon_data;
-       int icon_width;
-       int icon_height;
+       unsigned int *icon_data_active;
+       unsigned int icon_width;
+       unsigned int icon_height;
        char *title;
 } Task;
 
This page took 0.020688 seconds and 4 git commands to generate.