]> Dogcows Code - chaz/tint2/blob - src/systray/systraybar.h
cleanup code
[chaz/tint2] / src / systray / systraybar.h
1 /**************************************************************************
2 * Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
3 *
4 * systraybar
5 *
6 **************************************************************************/
7
8 #ifndef SYSTRAYBAR_H
9 #define SYSTRAYBAR_H
10
11 #include "area.h"
12
13
14 typedef struct {
15 // always start with area
16 Area area;
17
18 } Systraybar;
19
20
21 typedef struct
22 {
23 Window id;
24 int x, y;
25
26 Window win;
27 long *icon_data;
28 int icon_width;
29 int icon_height;
30 } TrayWindow;
31
32
33 void init_systray();
34 void cleanup_systray();
35 int net_init();
36
37 // return 1 if task_width changed
38 int resize_systray (Systraybar *sysbar);
39
40
41
42 #endif
43
This page took 0.03802 seconds and 5 git commands to generate.