aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_dnd.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2009-03-16 16:24:43 +0000
committerCedric BAIL <cedric.bail@free.fr>2009-03-16 16:24:43 +0000
commit46e8efcd8c2b6ba9f23ac1e38372fa80da059227 (patch)
treeef63ded6bdd984cf9edb4c0d7b5a117085e95f1d /src/bin/e_dnd.h
parent684fbe122c6890ac3d4d98f30a1b72e4264dd34d (diff)
downloadenlightenment-46e8efcd8c2b6ba9f23ac1e38372fa80da059227.tar.gz
enlightenment-46e8efcd8c2b6ba9f23ac1e38372fa80da059227.tar.xz
enlightenment-46e8efcd8c2b6ba9f23ac1e38372fa80da059227.zip
Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of specific code per engine. This patch does just that. All your application should continu to work has previously, if it's not the case please report any new behaviour regarding mouse and keyboard. SVN revision: 39505
Diffstat (limited to 'src/bin/e_dnd.h')
-rw-r--r--src/bin/e_dnd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/e_dnd.h b/src/bin/e_dnd.h
index 84734cd4d..812b07032 100644
--- a/src/bin/e_dnd.h
+++ b/src/bin/e_dnd.h
@@ -38,8 +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);
+ void (*key_down)(E_Drag *drag, Ecore_Event_Key *e);
+ void (*key_up)(E_Drag *drag, Ecore_Event_Key *e);
} cb;
E_Container *container;
@@ -122,8 +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));
+EAPI void e_drag_key_down_cb_set(E_Drag *drag, void (*func)(E_Drag *drag, Ecore_Event_Key *e));
+EAPI void e_drag_key_up_cb_set(E_Drag *drag, void (*func)(E_Drag *drag, Ecore_Event_Key *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);