]> Dogcows Code - chaz/tint2/blob - src/taskbar/taskbar.h
*add* more task states (normal, active, iconified, urgent), with each an own backgrou...
[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 // tint2 use one taskbar per desktop.
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 typedef struct {
28 //always start with area
29 Area area;
30 Background* bg;
31 Background* bg_active;
32 int use_active;
33 } Global_taskbar;
34
35 void init_taskbar();
36 void cleanup_taskbar();
37
38 Task *task_get_task (Window win);
39 GSList* task_get_tasks(Window win);
40 void task_refresh_tasklist ();
41
42 void resize_taskbar(void *obj);
43
44
45 #endif
46
This page took 0.037488 seconds and 5 git commands to generate.