path: root/src/bin/e_dnd.h
diff options
authorptomaine <ptomaine>2008-09-01 09:51:30 +0000
committerptomaine <ptomaine@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2008-09-01 09:51:30 +0000
commit2c4fae916f5ad7c21b92b2f9b5e5ca52810256d3 (patch)
tree48cbf78334925c5b15788c46f3439d1c4c090a2b /src/bin/e_dnd.h
parent8e632dcb37cec9000fec21338a3d745112960124 (diff)
* Default theme: fix preview when dragging from list view.
* Add DND modifiers: Control for copy, Shift for move, Alt for ask. Default action is move. Config for these comes later. * Add EDJE signals for theme to act on DND action change. * Default theme: Show current DND action using overlay icons. Icons done by Tom 'Toma-' Haste, thank you very much. SVN revision: 35772
Diffstat (limited to 'src/bin/e_dnd.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/e_dnd.h b/src/bin/e_dnd.h
index 069d0da12..84734cd4d 100644
--- a/src/bin/e_dnd.h
+++ b/src/bin/e_dnd.h
@@ -38,6 +38,8 @@ struct _E_Drag
struct {
void *(*convert)(E_Drag *drag, const char *type);
void (*finished)(E_Drag *drag, int dropped);
+ void (*key_down)(E_Drag *drag, Ecore_X_Event_Key_Down *e);
+ void (*key_up)(E_Drag *drag, Ecore_X_Event_Key_Up *e);
} cb;
E_Container *container;
@@ -120,6 +122,8 @@ EAPI void e_drag_object_set(E_Drag *drag, Evas_Object *object);
EAPI void e_drag_move(E_Drag *drag, int x, int y);
EAPI void e_drag_resize(E_Drag *drag, int w, int h);
EAPI void e_drag_idler_before(void);
+EAPI void e_drag_key_down_cb_set(E_Drag *drag, void (*func)(E_Drag *drag, Ecore_X_Event_Key_Down *e));
+EAPI void e_drag_key_up_cb_set(E_Drag *drag, void (*func)(E_Drag *drag, Ecore_X_Event_Key_Up *e));
/* x and y are the coords where the mouse is when dragging starts */
EAPI int e_drag_start(E_Drag *drag, int x, int y);