New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / workbench / libs / desktop / observer.h
blob0c3bfcc89ed5907d8614118eb48fc257aff4736d
1 /*
2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef OBSERVER_H
7 # define OBSERVER_H
9 # define OA_Base TAG_USER+4200
11 # define OA_InTree OA_Base+1
12 # define OA_Presentation OA_Base+2
13 # define OA_Parent OA_Base+3
14 # define OA_Disused OA_Base+4
16 # define OM_FreeList_Add OA_Base+5
17 # define OM_Delete OA_Base+6
19 struct FreeNode
21 struct MinNode f_Node;
22 APTR f_mem;
25 struct ObserverClassData
27 Object *presentation;
28 Object *parent;
29 struct MinList freeList;
30 BOOL inTree;
33 struct __dummyObserverData__
35 struct MUI_NotifyData mnd;
36 struct ObserverClassData ocd;
39 struct ObsFreeListAddMsg
41 Msg methodID;
42 APTR free;
45 struct ObsDeleteMsg
47 Msg methodID;
48 Object *obj;
51 # define observerData(obj) (&(((struct __dummyObserverData__ *)(obj))->ocd))
53 # define _presentation(obj) (observerData(obj)->presentation)
54 # define _o_parent(obj) (observerData(obj)->parent)
57 #endif