config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / arch / .unmaintained / morphos / Include / gadgets / aroslist.h
blob65d35f597448976dab416d6713908542e326f3e2
1 #ifndef GADGETS_AROSLIST_H
2 #define GADGETS_AROSLIST_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 AROSLISTCLASS "list.aros"
20 #define AROSLISTNAME "Gadgets/aroslist.class"
22 #define AROSLIST_TAGBASE (TAG_USER + 0x05110000)
24 /* Attribute IDs */
25 #define AROSA_List_SourceArray AROSLIST_TAGBASE + 1
26 #define AROSA_List_Entries AROSLIST_TAGBASE + 2
27 #define AROSA_List_ConstructHook AROSLIST_TAGBASE + 3
28 #define AROSA_List_DestructHook AROSLIST_TAGBASE + 4
29 #define AROSA_List_PoolPuddleSize AROSLIST_TAGBASE + 5
30 #define AROSA_List_PoolThreshSize AROSLIST_TAGBASE + 6
31 #define AROSA_List_Pool AROSLIST_TAGBASE + 7
32 #define AROSA_List_Active AROSLIST_TAGBASE + 8
34 /* Method IDs */
35 #define AROSM_List_Insert AROSLIST_TAGBASE + 50
36 #define AROSM_List_InsertSingle AROSLIST_TAGBASE + 51
37 #define AROSM_List_Remove AROSLIST_TAGBASE + 52
38 #define AROSM_List_GetEntry AROSLIST_TAGBASE + 53
39 #define AROSM_List_Clear AROSLIST_TAGBASE + 54
40 #define AROSM_List_Sort AROSLIST_TAGBASE + 55
41 #define AROSM_List_Select AROSLIST_TAGBASE + 56
42 #define AROSM_List_NextSelected AROSLIST_TAGBASE + 57
44 /* Special values */
45 #define AROSV_List_Insert_Top -1L
46 #define AROSV_List_Insert_Bottom -2L
48 #define AROSV_List_Active_None -1L
50 /* pos */
51 #define AROSV_List_Select_All -1L
53 /* seltype */
54 #define AROSV_List_Select_Off -1L
55 #define AROSV_List_Select_On -2L
56 #define AROSV_List_Select_Toggle -3L
57 #define AROSV_List_Select_Ask -4L
59 #define AROSV_List_NextSelected_Start -1L
60 #define AROSV_List_NextSelected_End -2L
63 /* Msg structs */
65 struct AROSP_List_Insert
67 STACKULONG MethodID;
68 APTR *ItemArray;
69 STACKLONG Position;
72 struct AROSP_List_InsertSingle
74 STACKULONG MethodID;
75 APTR Item;
76 STACKLONG Position;
79 struct AROSP_List_Remove
81 STACKULONG MethodID;
82 STACKLONG Position;
85 #define AROSV_List_Remove_First -1L
86 #define AROSV_List_Remove_Last -2L
88 struct AROSP_List_GetEntry
90 STACKULONG MethodID;
91 STACKLONG Position;
92 APTR *ItemPtr;
97 struct AROSP_List_Select
99 STACKULONG MethodID;
100 STACKLONG Position;
101 STACKLONG SelType;
102 LONG *State;
105 struct AROSP_List_NextSelected
107 STACKULONG MethodID;
108 LONG *Position;
111 #endif /* GADGETS_AROSLISTVIEW_H */