aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_dnd.h
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-05-01 18:28:20 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-05-01 18:28:20 +0000
commit43b881b6ea67ce8d257a6810ea3ffc45c9bf7023 (patch)
tree49578ae4477386c2d9a2d946af4d19e8827a2f0e /src/bin/e_dnd.h
parent23fd88fde24cd7c91d9ab33a539f18146f6fc86f (diff)
downloadenlightenment-43b881b6ea67ce8d257a6810ea3ffc45c9bf7023.tar.gz
enlightenment-43b881b6ea67ce8d257a6810ea3ffc45c9bf7023.tar.xz
enlightenment-43b881b6ea67ce8d257a6810ea3ffc45c9bf7023.zip
Name changes.
Only parse the type of a drop handler at drag start. SVN revision: 14532
Diffstat (limited to 'src/bin/e_dnd.h')
-rw-r--r--src/bin/e_dnd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/e_dnd.h b/src/bin/e_dnd.h
index e37e9ecb8..6f665f9fc 100644
--- a/src/bin/e_dnd.h
+++ b/src/bin/e_dnd.h
@@ -18,9 +18,10 @@ struct _E_Drop_Handler
struct {
void (*drop)(void *data, const char *type, void *event);
void (*move)(void *data, const char *type, void *event);
- } func;
+ } cb;
char *type;
int x, y, w, h;
+ unsigned char active : 1;
};
struct _E_Drop_Event
@@ -45,8 +46,8 @@ EAPI void e_drag_update(int x, int y);
EAPI void e_drag_end(int x, int y);
EAPI E_Drop_Handler *e_drop_handler_add(void *data,
- void (*drop_func)(void *data, const char *type, void *event),
- void (*move_func)(void *data, const char *type, void *event),
+ void (*drop_cb)(void *data, const char *type, void *event),
+ void (*move_cb)(void *data, const char *type, void *event),
const char *type, int x, int y, int w, int h);
EAPI void e_drop_handler_del(E_Drop_Handler *handler);