]> Dogcows Code - chaz/tint2/blob - src/taskbar/taskbar.h
big change : panel_monitor = all will draw one panel per monitor, panel_size accept...
[chaz/tint2] / src / taskbar / taskbar.h
1 /**************************************************************************
2 * Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
3 *
4 * taskbar
5 *
6 **************************************************************************/
7
8 #ifndef TASKBAR_H
9 #define TASKBAR_H
10
11 #include "task.h"
12
13
14 typedef struct {
15 // always start with area
16 Area area;
17
18 int desktop;
19
20 // task parameters
21 int task_width;
22 int task_modulo;
23 int text_width;
24 } Taskbar;
25
26
27
28 void init_taskbar();
29 void cleanup_taskbar();
30
31 Task *task_get_task (Window win);
32 void task_refresh_tasklist ();
33
34 // return 1 if task_width changed
35 int resize_tasks (Taskbar *tskbar);
36
37 void resize_taskbar(void *panel);
38
39
40 #endif
41
This page took 0.035886 seconds and 5 git commands to generate.