Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / all-hosted / hidd / x11 / x11gfx_intern.h
blob0b542cecf0e8dc1ec1d3e097767f7ac3677e089e
1 #ifndef X11GFX_INTERN_H
2 #define X11GFX_INTERN_H
4 /*
5 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: X11 gfx HIDD for AROS.
9 Lang: English.
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef EXEC_LIBRARIES_H
16 # include <exec/libraries.h>
17 #endif
18 #ifndef DOS_BPTR_H
19 # include <dos/bptr.h>
20 #endif
21 #ifndef OOP_OOP_H
22 # include <oop/oop.h>
23 #endif
25 #include <X11/Xlib.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"
48 #define PEN_BITS 4
49 #define NUM_COLORS (1L << PEN_BITS)
50 #define PEN_MASK (NUM_COLORS - 1)
52 #endif /* X11GFX_INTERN_H */