]>
Dogcows Code - chaz/tint2/blob - task.h
6bb9ef3c22e25501b8f86fc15bcbb33d415da3ea
1 /**************************************************************************
5 **************************************************************************/
11 #include <pango/pangocairo.h>
16 // --------------------------------------------------
17 // global task parameter
29 int alpha
, saturation
, brightness
;
30 int alpha_active
, saturation_active
, brightness_active
;
31 // starting position for text ~ task_padding + task_border + icon_size
32 double text_posx
, text_posy
;
35 PangoFontDescription
*font_desc
;
37 config_color font_active
;
43 // always start with area
46 // TODO: group task with list of windows here
50 Imlib_Image icon_active
;
51 unsigned int icon_width
;
52 unsigned int icon_height
;
64 Task
*add_task (Window win
);
65 void remove_task (Task
*tsk
);
67 void draw_task (void *obj
, cairo_t
*c
, int active
);
69 void get_icon (Task
*tsk
);
70 void get_title(Task
*tsk
);
73 Task
*next_task (Task
*tsk
);
74 Task
*prev_task (Task
*tsk
);
76 void add_urgent(Task
*tsk
);
77 void del_urgent(Task
*tsk
);
78 int is_urgent(Task
*tsk
);
This page took 0.041966 seconds and 3 git commands to generate.