Safer handling of Booleans.
[AROS.git] / workbench / libs / muimaster / dragndrop.h
blob5b9840cf6c92f05873580dc9c4e034bbd9874ec1
1 /*
2 Copyright © 2002-2011, The AROS Development Team.
3 All rights reserved.
5 $Id$
6 */
8 #ifndef _DRAGNDROP_H
9 #define _DRAGNDROP_H
11 #ifndef _MUIMASTER_SUPPORT_H
12 #include "support.h"
13 #endif
15 /* Tags for GUI_CreateBitMapNodeA() */
16 #define GUI_BitMap (TAG_USER+1) /* struct BitMap * */
17 #define GUI_Mask (TAG_USER+2) /* APTR */
18 #define GUI_LeftOffset (TAG_USER+3) /* LONG */
19 #define GUI_TopOffset (TAG_USER+4) /* LONG */
20 #define GUI_Width (TAG_USER+5) /* LONG */
21 #define GUI_Height (TAG_USER+6) /* LONG */
22 #define GUI_SourceAlpha (TAG_USER+7) /* BOOL */
24 struct DragNDrop *CreateDragNDropA( struct TagItem *tlist );
25 VOID DeleteDragNDrop( struct DragNDrop *dnd );
27 BOOL PrepareDragNDrop(struct DragNDrop *dnd,struct Screen *scr);
28 VOID FinishDragNDrop(struct DragNDrop *dnd);
30 VOID DrawDragNDrop(struct DragNDrop *dnd, LONG x, LONG y);
31 VOID UndrawDragNDrop(struct DragNDrop *dnd);
33 struct BitMapNode *CreateBitMapNodeA( struct TagItem *tagList );
34 struct BitMapNode *VARARGS68K CreateBitMapNode(void *dummy, ...) __stackparm;
35 VOID DeleteBitMapNode(struct BitMapNode *bmn );
37 VOID AttachBitMapNode( struct DragNDrop *dnd, struct BitMapNode *bmn );
38 VOID DetachBitMapNode( struct BitMapNode *bmn );
40 #endif