4 /***************************************************************************
6 NBitmap.mcc - New Bitmap MUI Custom Class
7 Copyright (C) 2006 by Daniel Allsopp
8 Copyright (C) 2007-2009 by NList Open Source Team
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 NList classes Support Site: http://www.sf.net/projects/nlist-classes
24 ***************************************************************************/
27 #include <exec/types.h>
30 #define MUIC_NBitmap "NBitmap.mcc"
31 #if defined(__AROS__) && !defined(NO_INLINE_STDARG)
32 #define NBitmapObject MUIOBJMACRO_START(MUIC_NBitmap)
34 #define NBitmapObject MUI_NewObject(MUIC_NBitmap
38 #define MUIA_NBitmap_Type 0xa94f0000UL
39 #define MUIA_NBitmap_Label 0xa94f0001UL
40 #define MUIA_NBitmap_Button 0xa94f0002UL
41 #define MUIA_NBitmap_Normal 0xa94f0003UL
42 #define MUIA_NBitmap_Ghosted 0xa94f0004UL
43 #define MUIA_NBitmap_Selected 0xa94f0005UL
44 #define MUIA_NBitmap_Width 0xa94f0006UL
45 #define MUIA_NBitmap_Height 0xa94f0007UL
46 #define MUIA_NBitmap_MaxWidth 0xa94f0008UL
47 #define MUIA_NBitmap_MaxHeight 0xa94f0009UL
48 #define MUIA_NBitmap_CLUT 0xa94f000aUL
49 #define MUIA_NBitmap_Alpha 0xa94f000bUL
52 #define MUIV_NBitmap_Type_File 0
53 #define MUIV_NBitmap_Type_DTObject 1
54 #define MUIV_NBitmap_Type_CLUT8 2
55 #define MUIV_NBitmap_Type_RGB24 3
56 #define MUIV_NBitmap_Type_ARGB32 4
60 #define NBitmapFile(filename) NBitmapObject, \
61 MUIA_NBitmap_Type, MUIV_NBitmap_Type_File, \
62 MUIA_NBitmap_Normal, (filename), \
65 #endif /* NBITMAP_MCC_H */