]> Dogcows Code - chaz/tint2/blob - src/taskbar/taskbar.h
fixed bugs with new design (first step)
[chaz/tint2] / src / taskbar / taskbar.h
1
2 #ifndef TASKBAR_H
3 #define TASKBAR_H
4
5 #include "task.h"
6
7
8 // --------------------------------------------------
9 // taskbar parameter
10 typedef struct {
11 // always start with area
12 Area area;
13
14 int desktop;
15 int monitor;
16
17 // task parameters
18 int task_width;
19 int task_modulo;
20 int text_width;
21 } Taskbar;
22
23
24 // --------------------------------------------------
25 // global taskbar parameter
26 Area g_taskbar;
27
28
29 Task *task_get_task (Window win);
30 void task_refresh_tasklist ();
31
32 // return 1 if task_width changed
33 int resize_tasks (Taskbar *tskbar);
34
35 void resize_taskbar();
36
37 //void add_taskbar(Area *a);
38
39 #endif
40
This page took 0.033069 seconds and 5 git commands to generate.