1 #ifndef X11GFX_INTERN_H
2 #define X11GFX_INTERN_H
5 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
8 Desc: X11 gfx HIDD for AROS.
13 # include <exec/types.h>
15 #ifndef EXEC_LIBRARIES_H
16 # include <exec/libraries.h>
19 # include <dos/bptr.h>
27 #include "x11_class.h"
29 /****************************************************************************************/
31 ULONG
map_x11_to_hidd(long *penarray
, ULONG x11pixel
);
32 XImage
*alloc_ximage(Display
*display
, int screen
, ULONG width
, UBYTE depth
, UBYTE height
);
33 VOID
free_ximage(XImage
*image
);
35 /****************************************************************************************/
37 #define USE_X11_DRAWFUNCS 1
38 #define X11SOFTMOUSE 1 /* Use software mouse sprite */
39 #define ADJUST_XWIN_SIZE 1 /* Resize the xwindow to the size of the actual visible screen */
41 /****************************************************************************************/
43 /* Private Attrs and methods for the X11Gfx Hidd */
45 #define CLID_Hidd_Gfx_X11 "hidd.gfx.x11"
46 #define IID_Hidd_Gfx_X11 "hidd.gfx.x11"
49 #define NUM_COLORS (1L << PEN_BITS)
50 #define PEN_MASK (NUM_COLORS - 1)
52 #endif /* X11GFX_INTERN_H */