/**************************************************************************
-* task :
-* -
+* task :
+* -
*
**************************************************************************/
// global task parameter
typedef struct {
Area area;
- Area area_active;
- Area area_inactive;
-
+
int text;
int icon;
int icon_size1;
typedef struct {
// always start with area
Area area;
- Area area_active;
- Area area_inactive;
// TODO: group task with list of windows here
Window win;
int icon_width;
int icon_height;
char *title;
+ int all_desktop;
} Task;
void add_task (Window win);
void remove_task (Task *tsk);
-int draw_foreground_task (void *obj, cairo_t *c);
+void draw_foreground_task (void *obj, cairo_t *c, int active);
void get_icon (Task *tsk);
void get_title(Task *tsk);