Moved to suitable place.
[AROS-Contrib.git] / bgui / include / bgui_obsolete.h
blob636dc663b0fadcf60874b045783c5c1ef867a487
1 /*
2 * @(#) $Header$
4 * $VER: clib/bgui_obsolete.h 41.10 (25.2.98)
5 * bgui.library obsolete definitions
7 * (C) Copyright 1998 Manuel Lemos.
8 * (C) Copyright 1996-1997 Ian J. Einman.
9 * (C) Copyright 1993-1996 Jaba Development.
10 * (C) Copyright 1993-1996 Jan van den Baard.
11 * All Rights Reserved.
13 * $Log$
14 * Revision 42.2 2003/01/18 19:10:21 chodorowski
15 * Instead of using the _AROS or __AROS preprocessor symbols, use __AROS__.
17 * Revision 42.1 2000/07/07 17:15:54 stegerg
18 * stack??? stuff in method structs.
20 * Revision 42.0 2000/05/09 22:23:21 mlemos
21 * Bumped to revision 42.0 before handing BGUI to AROS team
23 * Revision 41.11 2000/05/09 20:01:55 mlemos
24 * Merged with the branch Manuel_Lemos_fixes.
26 * Revision 41.10.2.1 1999/08/29 20:25:51 mlemos
27 * Moved the definitions for methods GRM_ADDMEMBER, GRM_REMMEMBER,
28 * GRM_DIMENSIONS, GRM_ADDSPACEMEMBER, GRM_INSERTMEMBER, GRM_REPLACEMEMBER to
29 * bgui.h.
31 * Revision 41.10 1998/02/25 21:13:56 mlemos
32 * Bumping to 41.10
34 * Revision 1.1 1998/02/25 17:16:03 mlemos
35 * Ian sources
43 /* New methods */
44 #define BASE_ADDMAP (BGUI_MB+41)
46 #ifndef __AROS__
47 #undef STACKULONG
48 #define STACKULONG ULONG
49 #endif
51 /* Add an object to the maplist notification list. */
52 struct bmAddMap {
53 STACKULONG MethodID;
54 Object *bam_Object;
55 struct TagItem *bam_MapList;
58 #define BASE_ADDCONDITIONAL (BGUI_MB+42)
60 /* Add an object to the conditional notification list. */
61 struct bmAddConditional {
62 STACKULONG MethodID;
63 Object *bac_Object;
64 struct TagItem bac_Condition;
65 struct TagItem bac_TRUE;
66 struct TagItem bac_FALSE;
69 #define BASE_ADDMETHOD (BGUI_MB+43)
71 /* Add an object to the method notification list. */
72 struct bmAddMethod {
73 STACKULONG MethodID;
74 Object *bam_Object;
75 STACKULONG bam_Flags;
76 STACKULONG bam_Size;
77 STACKULONG bam_MethodID;
80 #define BAMF_NO_GINFO (1<<0) /* Do not send GadgetInfo. */
81 #define BAMF_NO_INTERIM (1<<1) /* Skip interim messages. */
83 #define BASE_REMMAP (BGUI_MB+44)
84 #define BASE_REMCONDITIONAL (BGUI_MB+45)
85 #define BASE_REMMETHOD (BGUI_MB+46)
87 /* Remove an object from a notification list. */
88 struct bmRemove {
89 STACKULONG MethodID;
90 Object *bar_Object;
93 #define BASE_ADDHOOK (BGUI_MB+52)
95 /* Add a hook to the hook-notification list. */
96 struct bmAddHook {
97 STACKULONG MethodID;
98 struct Hook *bah_Hook;
101 /* Remove a hook from the hook-notification list. */
102 #define BASE_REMHOOK (BGUI_MB+53)
106 * These are required for backwards compatibility with old code.
107 * Use the new identifiers instead.
109 #define FRQ_Left ASLREQ_Left
110 #define FRQ_Top ASLREQ_Top
111 #define FRQ_Width ASLREQ_Width
112 #define FRQ_Height ASLREQ_Height
113 #define FRQ_Drawer FILEREQ_Drawer
114 #define FRQ_File FILEREQ_File
115 #define FRQ_Pattern FILEREQ_Pattern
116 #define FRQ_Path FILEREQ_Path
117 #define FRQ_MultiHook FILEREQ_MultiHook
118 #define FRQ_OK ASLREQ_OK
119 #define FRQ_CANCEL ASLREQ_CANCEL
120 #define FRQ_ERROR_NO_MEM ASLREQ_ERROR_NO_MEM
121 #define FRQ_ERROR_NO_FREQ ASLREQ_ERROR_NO_REQ
122 #define FRM_DOREQUEST ASLM_DOREQUEST