]> Dogcows Code - chaz/tint2/blob - src/systray/systraybar.h
basic systray with some bugs, update tintrc sample file
[chaz/tint2] / src / systray / systraybar.h
1 /**************************************************************************
2 * Copyright (C) 2009 thierry lorthiois (lorthiois@bbsoft.fr)
3 *
4 * systraybar
5 * based on 'docker-1.5' from Ben Jansens
6 *
7 **************************************************************************/
8
9 #ifndef SYSTRAYBAR_H
10 #define SYSTRAYBAR_H
11
12 #include "common.h"
13 #include "area.h"
14
15
16 typedef struct {
17 // always start with area
18 Area area;
19
20 GSList *list_icons;
21 } Systraybar;
22
23
24 typedef struct
25 {
26 Window id;
27 int x, y;
28 int width, height;
29
30 long *icon_data;
31 } TrayWindow;
32
33
34 extern Window net_sel_win;
35 extern Systraybar systray;
36
37
38 void init_systray();
39 void cleanup_systray();
40 int net_init();
41 void net_message(XClientMessageEvent *e);
42 void icon_remove(TrayWindow *traywin);
43
44 void draw_systray(void *obj, cairo_t *c, int active);
45
46 void resize_systray(void *obj);
47
48
49 #endif
50
This page took 0.038628 seconds and 5 git commands to generate.