Enable silent-rules for compilation
[fsviewer.git] / src / DnD.h
blob8352a29d4f94bf3bd8a9fce5bf1dea3ce44d1a4e
1 #ifndef WINGs_DND
2 #define WINGs_DND
4 #include <WINGs/WINGs.h>
6 void DndInitialize(WMWidget *w);
8 void DndRegisterDropWidget(WMWidget *w, WMEventProc *handler, void *data);
9 void DndRegisterDrop(WMEventProc *handler);
11 void DndGetData(unsigned char **Data,unsigned long *Size);
12 void DndSetData(int Type,unsigned char *Data,unsigned long Size);
14 int DndDataType(XEvent *event);
15 unsigned int DndDragButtons(XEvent *event);
17 int DndHandleDragging(WMWidget *w, XEvent *event, WMPixmap *pixmap);
19 #define DndNotDnd -1
20 #define DndUnknown 0
21 #define DndRawData 1
22 #define DndFile 2
23 #define DndFiles 3
24 #define DndText 4
25 #define DndDir 5
26 #define DndLink 6
27 #define DndExe 7
29 #define DndEND 8
31 extern int DragStarted;
33 #endif