Merging NList MCC 0.119 into the main branch.
[AROS.git] / workbench / classes / zune / nlist / include / mui / NListview_mcc.h
blob83c1ad262db6bd7519da679ef2ec3a069f7c7216
1 /***************************************************************************
3 NListview.mcc - New Listview MUI Custom Class
4 Registered MUI class, Serial Number: 1d51 (0x9d510020 to 0x9d51002F)
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_NListview_MCC_H
26 #define MUI_NListview_MCC_H
28 #ifndef LIBRARIES_MUI_H
29 #include <libraries/mui.h>
30 #endif
32 #ifndef MUI_NList_MCC_H
33 #include <mui/NList_mcc.h>
34 #endif
36 #define MUIC_NListview "NListview.mcc"
37 #if defined(__AROS__) && !defined(NO_INLINE_STDARG)
38 #define NListviewObject MUIOBJMACRO_START(MUIC_NListview)
39 #else
40 #define NListviewObject MUI_NewObject(MUIC_NListview
41 #endif
43 /* Attributes */
45 #define MUIA_NListview_NList 0x9d510020UL /* GM i.g Object * */
47 #define MUIA_NListview_Vert_ScrollBar 0x9d510021UL /* GM isg LONG */
48 #define MUIA_NListview_Horiz_ScrollBar 0x9d510022UL /* GM isg LONG */
49 #define MUIA_NListview_VSB_Width 0x9d510023UL /* GM ..g LONG */
50 #define MUIA_NListview_HSB_Height 0x9d510024UL /* GM ..g LONG */
52 #define MUIV_Listview_ScrollerPos_Default 0
53 #define MUIV_Listview_ScrollerPos_Left 1
54 #define MUIV_Listview_ScrollerPos_Right 2
55 #define MUIV_Listview_ScrollerPos_None 3
57 #define MUIM_NListview_QueryBeginning MUIM_NList_QueryBeginning /* obsolete */
58 #define MUIM_NListview_SetScrollers 0x9d5100A8UL /* private */
60 struct MUIP_NListview_SetScrollers { STACKED ULONG MethodID; STACKED ULONG scrollers; };
62 #define MUIV_NListview_VSB_Always 1
63 #define MUIV_NListview_VSB_Auto 2
64 #define MUIV_NListview_VSB_FullAuto 3
65 #define MUIV_NListview_VSB_None 4
66 #define MUIV_NListview_VSB_Default 5
67 #define MUIV_NListview_VSB_Left 6
69 #define MUIV_NListview_HSB_Always 1
70 #define MUIV_NListview_HSB_Auto 2
71 #define MUIV_NListview_HSB_FullAuto 3
72 #define MUIV_NListview_HSB_None 4
73 #define MUIV_NListview_HSB_Default 5
75 #define MUIV_NListview_VSB_On 0x0030
76 #define MUIV_NListview_VSB_Off 0x0010
78 #define MUIV_NListview_HSB_On 0x0300
79 #define MUIV_NListview_HSB_Off 0x0100
81 #endif /* MUI_NListview_MCC_H */