revert 213 commits (to 56092) from the last month. 10 still need work to resolve...
[AROS.git] / workbench / classes / zune / nlist / nfloattext_mcc / private.h
blobbab8555aaa0835cb2eaee776f9ab0b20c98ab255
1 #ifndef MUI_NFloattext_priv_MCC_H
2 #define MUI_NFloattext_priv_MCC_H
4 /***************************************************************************
6 NFloattext.mcc - New Floattext MUI Custom Class
7 Registered MUI class, Serial Number: 1d51 (0x9d5100a1 to 0x9d5100aF)
9 Copyright (C) 1996-2001 by Gilles Masson
10 Copyright (C) 2001-2014 NList Open Source Team
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Lesser General Public
14 License as published by the Free Software Foundation; either
15 version 2.1 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Lesser General Public License for more details.
22 NList classes Support Site: http://www.sf.net/projects/nlist-classes
24 $Id$
26 ***************************************************************************/
28 #include <dos/exall.h>
29 #include <exec/types.h>
30 #include <proto/intuition.h>
31 #include <intuition/classusr.h>
32 #include <libraries/mui.h>
34 #include <mcc_common.h>
36 #include <mui/NFloattext_mcc.h>
38 #include "Debug.h"
40 #define ALIGN_MASK (0x0700)
42 struct NFTData
44 char *NFloattext_Text;
45 LONG NFloattext_Align;
46 LONG NFloattext_entry_len;
47 char *NFloattext_entry;
48 BOOL NFloattext_Justify;
49 BOOL NFloattext_Copied;
52 #if defined(__amigaos4__)
53 #define AllocVecShared(size, flags) AllocVecTags((size), AVT_Type, MEMF_SHARED, AVT_Lock, FALSE, ((flags)&MEMF_CLEAR) ? AVT_ClearWithValue : TAG_IGNORE, 0, TAG_DONE)
54 #else
55 #define AllocVecShared(size, flags) AllocVec((size), (flags))
56 #endif
58 #endif /* MUI_NFloattext_priv_MCC_H */