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;
// TODO: group task with list of windows here
Window win;
int desktop;
- // ARGB icon
- unsigned int *icon_data;
- unsigned int *icon_data_active;
- int icon_width;
- int icon_height;
+ Imlib_Image icon;
+ Imlib_Image icon_active;
+ unsigned int icon_width;
+ unsigned int icon_height;
char *title;
} Task;
+typedef struct {
+ Task* tsk;
+ int tick;
+} Task_urgent;
+
+
Task *add_task (Window win);
void remove_task (Task *tsk);
void get_icon (Task *tsk);
void get_title(Task *tsk);
+void active_task();
+void add_urgent(Task *tsk);
+void del_urgent(Task *tsk);
+int is_urgent(Task *tsk);
#endif