added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / gadgets / aroslistview.h
blobf43292cfb99996d6fd6e8d9faa42dc6f22e0f1af
1 #ifndef GADGETS_AROSLISTVIEW_H
2 #define GADGETS_AROSLISTVIEW_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: MethodIDs and AttrIDs for the AROS listview class.
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef UTILITY_TAGITEM_H
16 # include <utility/tagitem.h>
17 #endif
19 #define AROSLISTVIEWCLASS "listview.aros"
20 #define AROSLISTVIEWNAME "Gadgets/aroslistview.gadget"
22 #define AROSLV_TAGBASE (TAG_USER + 0x05120000)
24 /* Attribute IDs */
26 #define AROSA_Listview_DisplayHook AROSLV_TAGBASE + 0 /* [I] */
27 #define AROSA_Listview_RenderHook AROSLV_TAGBASE + 1 /* [IS] */
28 #define AROSA_Listview_HorSpacing AROSLV_TAGBASE + 2 /* [ISG] */
29 #define AROSA_Listview_VertSpacing AROSLV_TAGBASE + 3 /* [ISG] */
30 #define AROSA_Listview_List AROSLV_TAGBASE + 4 /* [IS] */
33 #define AROSA_Listview_MaxColumns AROSLV_TAGBASE + 5 /* [I] The displayhook limit */
36 /* Formatstring for the coulumns. If none is specified the default will be BACKGROUNDPEN,
37 Leftalign and equal weight */
39 #define AROSA_Listview_Format AROSLV_TAGBASE + 6 /* [IS] */
40 #define AROSA_Listview_First AROSLV_TAGBASE + 7 /* [ISGUN] */
41 #define AROSA_Listview_MultiSelect AROSLV_TAGBASE + 8 /* [IS] */
42 #define AROSA_Listview_DoubleClick AROSLV_TAGBASE + 9 /* [G] */
43 #define AROSA_Listview_Visible AROSLV_TAGBASE + 10 /* [N] */
44 #define AROSA_Listview_Total AROSLV_TAGBASE + 11 /* [N] */
45 #define AROSA_Listview_FrontPen AROSLV_TAGBASE + 12 /* [IS] */
46 #define AROSA_Listview_BackPen AROSLV_TAGBASE + 13 /* [IS] */
49 /* These methods are merely aliases for the List ones.
50 * These are needed because I must include that damn
51 * GadgetInfo structure as the 2nd argument.
54 #define AROSM_Listview_Insert AROSM_List_Insert
55 #define AROSM_Listview_InsertSingle AROSM_List_InsertSingle
56 #define AROSM_Listview_Remove AROSM_List_Remove
58 #define AROSM_Listview_DoubleClick AROSLV_TAGBASE + 50
59 #define AROSM_Listview_SingleClick AROSLV_TAGBASE + 51
63 struct AROSP_Listview_Insert
65 STACKED ULONG MethodID;
66 STACKED struct GadgetInfo *GInfo;
67 STACKED APTR *ItemArray;
68 STACKED LONG Position;
71 struct AROSP_Listview_InsertSingle
73 STACKED ULONG MethodID;
74 STACKED struct GadgetInfo *GInfo;
75 STACKED APTR Item;
76 STACKED LONG Position;
79 struct AROSP_Listview_Remove
81 STACKED ULONG MethodID;
82 STACKED struct GadgetInfo *GInfo;
83 STACKED LONG Position;
86 struct AROSP_Listview_DoubleClick
88 STACKED ULONG MethodID;
89 STACKED struct GadgetInfo *GInfo;
90 STACKED LONG Position;
93 struct AROSP_Listview_SingleClick
95 STACKED ULONG MethodID;
96 STACKED struct GadgetInfo *GInfo;
97 STACKED LONG Position;
101 /* Method IDs */
104 #endif /* GADGETS_AROSLISTVIEW_H */