]> Dogcows Code - chaz/tint2/blob - src/taskbar/taskbar.h
*fix* panel_monitor = n works again, after I've broken it with revision 308
[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 extern GHashTable* win_to_task_table;
14 // tint2 use one taskbar per desktop.
15 typedef struct {
16 // always start with area
17 Area area;
18
19 int desktop;
20
21 // task parameters
22 int task_width;
23 int task_modulo;
24 int text_width;
25 } Taskbar;
26
27
28 typedef struct {
29 //always start with area
30 Area area;
31 Background* bg;
32 Background* bg_active;
33 int use_active;
34 } Global_taskbar;
35
36 void init_taskbar();
37 void cleanup_taskbar();
38
39 Task *task_get_task (Window win);
40 GPtrArray* task_get_tasks(Window win);
41 void task_refresh_tasklist ();
42
43 void resize_taskbar(void *obj);
44
45
46 #endif
47
This page took 0.033476 seconds and 5 git commands to generate.