]> Dogcows Code - chaz/tint2/blob - src/util/common.h
New import
[chaz/tint2] / src / util / common.h
1 /**************************************************************************
2 * Common declarations
3 *
4 **************************************************************************/
5
6 #ifndef COMMON_H
7 #define COMMON_H
8
9
10 #define WM_CLASS_TINT "panel"
11
12 #include "area.h"
13
14 // taskbar table : convert 2 dimension in 1 dimension
15 #define index(i, j) ((i * panel.nb_monitor) + j)
16
17 // mouse actions
18 enum { NONE=0, CLOSE, TOGGLE, ICONIFY, SHADE, TOGGLE_ICONIFY };
19
20
21
22 typedef struct config_border
23 {
24 double color[3];
25 double alpha;
26 int width;
27 int rounded;
28 } config_border;
29
30
31 typedef struct config_color
32 {
33 double color[3];
34 double alpha;
35 } config_color;
36
37
38
39
40 #endif
41
This page took 0.03543 seconds and 5 git commands to generate.