Merging NList MCC 0.119 into the main branch.
[AROS.git] / workbench / classes / zune / nlist / include / mui / NFloattext_mcc.h
blob411f50d704bcf2c20c6c288c603d0e741455e159
1 /***************************************************************************
3 NFloattext.mcc - New Floattext MUI Custom Class
4 Registered MUI class, Serial Number: 1d51 (0x9d5100a1 to 0x9d5100aF)
6 Copyright (C) 1996-2001 by Gilles Masson
7 Copyright (C) 2001-2014 NList Open Source Team
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 NList classes Support Site: http://www.sf.net/projects/nlist-classes
21 $Id$
23 ***************************************************************************/
25 #ifndef MUI_NFloattext_MCC_H
26 #define MUI_NFloattext_MCC_H
28 #ifndef LIBRARIES_MUI_H
29 #include <libraries/mui.h>
30 #endif
32 #ifndef MUI_NListview_MCC_H
33 #include <mui/NListview_mcc.h>
34 #endif
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
40 #if !defined(__AROS__) && defined(__PPC__)
41 #if defined(__GNUC__)
42 #pragma pack(2)
43 #elif defined(__VBCC__)
44 #pragma amiga-align
45 #endif
46 #endif
48 /***********************************************************************/
50 // STACKED ensures proper alignment on AROS 64 bit systems
51 #if !defined(__AROS__) && !defined(STACKED)
52 #define STACKED
53 #endif
55 /***********************************************************************/
57 #define MUIC_NFloattext "NFloattext.mcc"
58 #if defined(__AROS__) && !defined(NO_INLINE_STDARG)
59 #define NFloattextObject MUIOBJMACRO_START(MUIC_NFloattext)
60 #else
61 #define NFloattextObject MUI_NewObject(MUIC_NFloattext
62 #endif
64 /* Attributes */
66 #define MUIA_NFloattext_Text 0x9d5100a1UL /* GM isg STRPTR */
67 #define MUIA_NFloattext_SkipChars 0x9d5100a2UL /* GM isg char * */
68 #define MUIA_NFloattext_TabSize 0x9d5100a3UL /* GM isg ULONG */
69 #define MUIA_NFloattext_Justify 0x9d5100a4UL /* GM isg BOOL */
70 #define MUIA_NFloattext_Align 0x9d5100a5UL /* GM isg LONG */
72 #define MUIM_NFloattext_GetEntry 0x9d5100aFUL /* GM */
73 struct MUIP_NFloattext_GetEntry { STACKED ULONG MethodID; STACKED LONG pos; STACKED APTR *entry; };
75 #if !defined(__AROS__) && defined(__PPC__)
76 #if defined(__GNUC__)
77 #pragma pack()
78 #elif defined(__VBCC__)
79 #pragma default-align
80 #endif
81 #endif
83 #ifdef __cplusplus
85 #endif
87 #endif /* MUI_NFloattext_MCC_H */