]> Dogcows Code - chaz/tint2/blob - src/util/common.h
big change : panel_monitor = all will draw one panel per monitor, panel_size accept...
[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 /*
15 void fxfree(void** ptr){
16 if(*ptr){
17 free(*ptr);
18 *ptr=NULL;
19 }
20 }
21 FXint fxmalloc(void** ptr,unsigned long size){
22 *ptr=NULL;
23 if(size!=0){
24 if((*ptr=malloc(size))==NULL) return FALSE;
25 }
26 return TRUE;
27 }
28 */
29
30 // mouse actions
31 enum { NONE=0, CLOSE, TOGGLE, ICONIFY, SHADE, TOGGLE_ICONIFY };
32
33 #define ALLDESKTOP 0xFFFFFFFF
34
35
36 typedef struct config_border
37 {
38 double color[3];
39 double alpha;
40 int width;
41 int rounded;
42 } config_border;
43
44
45 typedef struct config_color
46 {
47 double color[3];
48 double alpha;
49 } config_color;
50
51
52
53
54 #endif
55
This page took 0.038595 seconds and 5 git commands to generate.