Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / all-hosted / hidd / x11 / bitmap_class.h
blob4e1e7ada038e4c3c93802c2210108536091a1ee8
1 /*
2 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: X11 bitmap class, external definitions
6 Lang: english
7 */
9 #ifndef _BITMAP_H
10 #define _BITMAP_H
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"
24 enum
26 aoHidd_X11BitMap_Drawable,
27 aoHidd_X11BitMap_SysDisplay,
28 aoHidd_X11BitMap_SysScreen,
29 aoHidd_X11BitMap_GC,
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)
48 #endif