2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /* This attribute interface is common for both x11 onscreen and offscreen bitmap
10 classes, although they don't have a common superclass
14 #define IID_Hidd_X11BitMap "hidd.bitmap.x11bitmap"
16 #define HiddX11BitMapAB __abHidd_X11BitMap
18 /* extern OOP_AttrBase HiddX11BitMapAB; */
22 aoHidd_X11BitMap_Drawable
,
23 aoHidd_X11BitMap_MasterWindow
,
24 num_Hidd_X11BitMap_Attrs
27 #define aHidd_X11BitMap_Drawable (HiddX11BitMapAB + aoHidd_X11BitMap_Drawable)
28 #define aHidd_X11BitMap_MasterWindow (HiddX11BitMapAB + aoHidd_X11BitMap_MasterWindow)
31 /* This structure is used for both onscreen and offscreen X11 bitmaps !! */
33 #define GetSysDisplay() (data->display)
34 #define GetSysScreen() (data->screen)
35 #define GetSysCursor() (data->cursor)
37 #define IS_BM_ATTR(attr, idx) ( ( (idx) = (attr) - HiddBitMapAttrBase) < num_Hidd_BitMap_Attrs)
38 #define IS_X11BM_ATTR(attr, idx) ( ( (idx) = (attr) - HiddX11BitMapAB) < num_Hidd_X11BitMap_Attrs)
41 /* This structure is used as instance data for both the
42 onbitmap and offbitmap classes.
54 unsigned long sysplanemask
;
56 GC gc
; /* !!! This is an X11 GC, NOT a HIDD gc */
62 #define BMDF_COLORMAP_ALLOCED 1
64 #endif /* _BITMAP_H */