3729
|
1 /*
|
|
2 * wintransparency.h
|
|
3 */
|
|
4
|
|
5 #ifndef _WINTRANSPARENCY_H_
|
|
6 #define _WINTRANSPARENCY_H_
|
|
7 #include <gdk/gdkevents.h>
|
|
8
|
|
9 extern int alpha;
|
|
10
|
|
11 /* These defines aren't found in the current version of mingw */
|
|
12 #ifndef LWA_ALPHA
|
|
13 #define LWA_ALPHA 0x00000002
|
|
14 #endif
|
|
15
|
|
16 #ifndef WS_EX_LAYERED
|
|
17 #define WS_EX_LAYERED 0x00080000
|
|
18 #endif
|
|
19
|
|
20
|
|
21 extern GdkFilterReturn wgaim_window_filter(GdkXEvent *xevent,
|
|
22 GdkEvent *event,
|
|
23 gpointer data);
|
|
24
|
|
25 /* Needed for accessing global variables outside the current module */
|
|
26
|
|
27 extern void wgaim_init(void);
|
|
28
|
|
29 #define unlink _unlink
|
|
30 #define bzero( dest, size ) memset( ## dest ##, 0, ## size ## )
|
|
31 #define sleep(x) Sleep((x)*1000)
|
|
32 #define snprintf _snprintf
|
|
33 #define vsnprintf _vsnprintf
|
|
34
|
|
35 #endif /* _WINTRANSPARENCY_H_ */
|
|
36
|