mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-23 18:45:56 +01:00
removed listbag added tree bag
started drag & drop
This commit is contained in:
@@ -474,6 +474,31 @@ typedef struct WMTabViewDelegate {
|
||||
|
||||
|
||||
|
||||
typedef struct W_DraggingInfo WMDraggingInfo;
|
||||
|
||||
|
||||
typedef struct W_DragSourceProcs {
|
||||
unsigned (*draggingSourceOperation)(WMView *self, Bool local);
|
||||
void (*beganDragImage)(WMView *self, WMPixmap *image, WMPoint point);
|
||||
void (*endedDragImage)(WMView *self, WMPixmap *image, WMPoint point,
|
||||
Bool deposited);
|
||||
WMData* (*fetchDragData)(WMView *self, char *type, Bool local);
|
||||
/* Bool (*ignoreModifierKeysWhileDragging)(WMView *view);*/
|
||||
} WMDragSourceProcs;
|
||||
|
||||
|
||||
|
||||
typedef struct W_DragDestinationProcs {
|
||||
unsigned (*draggingEntered)(WMView *self, WMDraggingInfo *info);
|
||||
unsigned (*draggingUpdated)(WMView *self, WMDraggingInfo *info);
|
||||
void (*draggingExited)(WMView *self, WMDraggingInfo *info);
|
||||
Bool (*prepareForDragOperation)(WMView *self, WMDraggingInfo *info);
|
||||
Bool (*performDragOperation)(WMView *self, WMDraggingInfo *info);
|
||||
void (*concludeDragOperation)(WMView *self, WMDraggingInfo *info);
|
||||
} WMDragDestinationProcs;
|
||||
|
||||
|
||||
|
||||
/* ...................................................................... */
|
||||
|
||||
|
||||
@@ -727,6 +752,8 @@ WMSize WMGetViewSize(WMView *view);
|
||||
|
||||
WMPoint WMGetViewPosition(WMView *view);
|
||||
|
||||
WMPoint WMGetViewScreenPosition(WMView *view);
|
||||
|
||||
WMWidget *WMWidgetOfView(WMView *view);
|
||||
|
||||
/* notifications */
|
||||
|
||||
Reference in New Issue
Block a user