SVN revision: 17210
This commit is contained in:
sebastid 2005-10-05 19:35:13 +00:00 committed by sebastid
parent 7a28622910
commit 5bd5898014
1 changed files with 5 additions and 3 deletions

View File

@ -21,11 +21,13 @@ struct _E_Drag
E_Object e_obj_inherit;
char *type;
void *data;
char *type;
void *data;
struct {
void (*finished)(E_Drag *drag, int dropped);
} cb;
E_Container *container;
Ecore_Evas *ecore_evas;
Evas *evas;
@ -89,7 +91,7 @@ EAPI int e_dnd_shutdown(void);
EAPI int e_dnd_active(void);
/* x and y are the top left coords of the object that is to be dragged */
EAPI E_Drag* e_drag_new(E_Container *container, int x, int y, const char *type, void *data,
EAPI E_Drag *e_drag_new(E_Container *container, int x, int y, const char *type, void *data,
void (*finished_cb)(E_Drag *drag, int dropped));
EAPI Evas *e_drag_evas_get(E_Drag *drag);
EAPI void e_drag_object_set(E_Drag *drag, Evas_Object *object);