summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2014-09-02 15:32:53 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-02 15:34:57 +0200
commit807a5aa263eb71735cc67fc39d5f506d2a74105d (patch)
treeaaf5ca8080fd52312d72491b647b619776aa001d
parentb1caa37177d4f5a32b57e23296bd26d64d0b7449 (diff)
evas: forgotten evas canvas event EVAS_CANVAS_EVENT_DEVICE_CHANGED.
-rw-r--r--src/lib/evas/Evas_Eo.h2
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_Eo.h b/src/lib/evas/Evas_Eo.h
index fcd6e0c472..e81c5d1368 100644
--- a/src/lib/evas/Evas_Eo.h
+++ b/src/lib/evas/Evas_Eo.h
@@ -36,6 +36,7 @@ EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_OBJECT_FOCUS_IN;
36EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT; 36EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT;
37EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_RENDER_PRE; 37EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_RENDER_PRE;
38EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_RENDER_POST; 38EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_RENDER_POST;
39EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_DEVICE_CHANGED;
39 40
40// Callbacks events for use with Evas objects 41// Callbacks events for use with Evas objects
41#define EVAS_OBJECT_EVENT_MOUSE_IN (&(_EVAS_OBJECT_EVENT_MOUSE_IN)) 42#define EVAS_OBJECT_EVENT_MOUSE_IN (&(_EVAS_OBJECT_EVENT_MOUSE_IN))
@@ -73,6 +74,7 @@ EAPI extern const Eo_Event_Description _EVAS_CANVAS_EVENT_RENDER_POST;
73#define EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT (&(_EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT)) 74#define EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT (&(_EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT))
74#define EVAS_CANVAS_EVENT_RENDER_PRE (&(_EVAS_CANVAS_EVENT_RENDER_PRE)) 75#define EVAS_CANVAS_EVENT_RENDER_PRE (&(_EVAS_CANVAS_EVENT_RENDER_PRE))
75#define EVAS_CANVAS_EVENT_RENDER_POST (&(_EVAS_CANVAS_EVENT_RENDER_POST)) 76#define EVAS_CANVAS_EVENT_RENDER_POST (&(_EVAS_CANVAS_EVENT_RENDER_POST))
77#define EVAS_CANVAS_EVENT_DEVICE_CHANGED (&(_EVAS_CANVAS_EVENT_DEVICE_CHANGED))
76 78
77EAPI extern const Eo_Event_Description _CLICKED_EVENT; 79EAPI extern const Eo_Event_Description _CLICKED_EVENT;
78EAPI extern const Eo_Event_Description _CLICKED_DOUBLE_EVENT; 80EAPI extern const Eo_Event_Description _CLICKED_DOUBLE_EVENT;
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 1549557c8d..7176e76892 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -75,6 +75,9 @@ EAPI const Eo_Event_Description _EVAS_CANVAS_EVENT_OBJECT_FOCUS_IN =
75EAPI const Eo_Event_Description _EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT = 75EAPI const Eo_Event_Description _EVAS_CANVAS_EVENT_OBJECT_FOCUS_OUT =
76 EO_HOT_EVENT_DESCRIPTION("Canvas Object Focus Out", "Canvas object lost focus"); 76 EO_HOT_EVENT_DESCRIPTION("Canvas Object Focus Out", "Canvas object lost focus");
77 77
78EAPI const Eo_Event_Description _EVAS_CANVAS_EVENT_DEVICE_CHANGED =
79 EO_HOT_EVENT_DESCRIPTION("Device changed",
80 "Devices added, removed or changed to the canvas");
78/** 81/**
79 * Evas events descriptions for Eo. 82 * Evas events descriptions for Eo.
80 */ 83 */
@@ -113,6 +116,7 @@ static const Eo_Event_Description *_legacy_evas_callback_table[EVAS_CALLBACK_LAS
113 EVAS_CANVAS_EVENT_RENDER_PRE, 116 EVAS_CANVAS_EVENT_RENDER_PRE,
114 EVAS_CANVAS_EVENT_RENDER_POST, 117 EVAS_CANVAS_EVENT_RENDER_POST,
115 EVAS_OBJECT_EVENT_IMAGE_RESIZE, 118 EVAS_OBJECT_EVENT_IMAGE_RESIZE,
119 EVAS_CANVAS_EVENT_DEVICE_CHANGED,
116 NULL 120 NULL
117}; 121};
118 122