4 #include <aros/config.h>
6 #define timeval sys_timeval
14 Display
* (*XOpenDisplay
) ( const char* );
15 int (*XCloseDisplay
) ( Display
* );
16 int (*XFree
) ( void* );
17 #if defined(RENDERER_SEPARATE_X_WINDOW)
18 Colormap (*XCreateColormap
) ( Display
* , Window
, Visual
* , int );
19 Window (*XCreateWindow
) ( Display
* , Window
, int , int , unsigned int , unsigned int , unsigned int , int , unsigned int , Visual
* , unsigned long , XSetWindowAttributes
* );
20 int (*XDestroyWindow
) ( Display
* , Window
);
21 int (*XFlush
) ( Display
* );
22 int (*XMapWindow
) ( Display
* , Window
);
26 extern void *x11_handle
;
27 extern struct x11_func x11_func
;
29 #define XCALL(func,...) (x11_func.func(__VA_ARGS__))
32 #define X11_SOFILE "libX11.so.6"
36 #define X11_SOFILE "/usr/X11/lib/libX11.6.dylib"
40 #define X11_SOFILE "libX11.so"