2 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
5 Desc: X11 bitmap class, external definitions
13 * This attribute interface is common for both x11 onscreen and offscreen bitmap
14 * classes, although they don't have a common superclass
17 extern OOP_AttrBase HiddX11BitMapAB
;
19 /* extern OOP_AttrBase HiddX11BitMapAB; */
21 #define CLID_Hidd_BitMap_X11 "hidd.bitmap.x11"
22 #define IID_Hidd_BitMap_X11 "hidd.bitmap.x11"
26 aoHidd_X11BitMap_Drawable
,
27 aoHidd_X11BitMap_SysDisplay
,
28 aoHidd_X11BitMap_SysScreen
,
30 aoHidd_X11BitMap_SysCursor
,
31 aoHidd_X11BitMap_ColorMap
,
32 aoHidd_X11BitMap_VisualClass
, /* stegerg */
34 num_Hidd_X11BitMap_Attrs
37 #define aHidd_X11BitMap_Drawable (HiddX11BitMapAB + aoHidd_X11BitMap_Drawable)
38 #define aHidd_X11BitMap_SysDisplay (HiddX11BitMapAB + aoHidd_X11BitMap_SysDisplay)
39 #define aHidd_X11BitMap_SysScreen (HiddX11BitMapAB + aoHidd_X11BitMap_SysScreen)
40 #define aHidd_X11BitMap_GC (HiddX11BitMapAB + aoHidd_X11BitMap_GC)
41 #define aHidd_X11BitMap_SysCursor (HiddX11BitMapAB + aoHidd_X11BitMap_SysCursor)
42 #define aHidd_X11BitMap_ColorMap (HiddX11BitMapAB + aoHidd_X11BitMap_ColorMap)
43 #define aHidd_X11BitMap_VisualClass (HiddX11BitMapAB + aoHidd_X11BitMap_VisualClass) /* stegerg */
45 #define IS_BM_ATTR(attr, idx) ( ( (idx) = (attr) - HiddBitMapAttrBase) < num_Hidd_BitMap_Attrs)
46 #define IS_X11BM_ATTR(attr, idx) ( ( (idx) = (attr) - HiddX11BitMapAB) < num_Hidd_X11BitMap_Attrs)