diff options
Diffstat (limited to 'libraries/ecore/src/lib/ecore_imf_evas')
-rw-r--r-- | libraries/ecore/src/lib/ecore_imf_evas/Makefile.in | 20 | ||||
-rw-r--r-- | libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c | 44 |
2 files changed, 56 insertions, 8 deletions
diff --git a/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in b/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in index ab6503b..1542919 100644 --- a/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in +++ b/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in | |||
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ | |||
50 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ | 50 | $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ |
51 | $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ | 51 | $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ |
52 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ | 52 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ |
53 | $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ | 53 | $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ |
54 | $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ | 54 | $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ |
55 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | 55 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
56 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | 56 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
57 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ | 57 | $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ |
58 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | 58 | $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac |
59 | $(top_srcdir)/configure.ac | ||
60 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | 59 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
61 | $(ACLOCAL_M4) | 60 | $(ACLOCAL_M4) |
62 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | 61 | mkinstalldirs = $(install_sh) -d |
63 | CONFIG_HEADER = $(top_builddir)/config.h | 62 | CONFIG_HEADER = $(top_builddir)/config.h |
64 | CONFIG_CLEAN_FILES = | 63 | CONFIG_CLEAN_FILES = |
65 | CONFIG_CLEAN_VPATH_FILES = | 64 | CONFIG_CLEAN_VPATH_FILES = |
@@ -192,6 +191,8 @@ EVAS_LIBS = @EVAS_LIBS@ | |||
192 | EVIL_CFLAGS = @EVIL_CFLAGS@ | 191 | EVIL_CFLAGS = @EVIL_CFLAGS@ |
193 | EVIL_LIBS = @EVIL_LIBS@ | 192 | EVIL_LIBS = @EVIL_LIBS@ |
194 | EXEEXT = @EXEEXT@ | 193 | EXEEXT = @EXEEXT@ |
194 | EXOTIC_CFLAGS = @EXOTIC_CFLAGS@ | ||
195 | EXOTIC_LIBS = @EXOTIC_LIBS@ | ||
195 | FGREP = @FGREP@ | 196 | FGREP = @FGREP@ |
196 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ | 197 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ |
197 | GLIB_CFLAGS = @GLIB_CFLAGS@ | 198 | GLIB_CFLAGS = @GLIB_CFLAGS@ |
@@ -247,6 +248,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@ | |||
247 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ | 248 | PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ |
248 | PIXMAN_LIBS = @PIXMAN_LIBS@ | 249 | PIXMAN_LIBS = @PIXMAN_LIBS@ |
249 | PKG_CONFIG = @PKG_CONFIG@ | 250 | PKG_CONFIG = @PKG_CONFIG@ |
251 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
252 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
250 | POSUB = @POSUB@ | 253 | POSUB = @POSUB@ |
251 | RANLIB = @RANLIB@ | 254 | RANLIB = @RANLIB@ |
252 | SCIM_CFLAGS = @SCIM_CFLAGS@ | 255 | SCIM_CFLAGS = @SCIM_CFLAGS@ |
@@ -257,6 +260,7 @@ SDL_LIBS = @SDL_LIBS@ | |||
257 | SED = @SED@ | 260 | SED = @SED@ |
258 | SET_MAKE = @SET_MAKE@ | 261 | SET_MAKE = @SET_MAKE@ |
259 | SHELL = @SHELL@ | 262 | SHELL = @SHELL@ |
263 | SHM_OPEN_LIBS = @SHM_OPEN_LIBS@ | ||
260 | SSL_CFLAGS = @SSL_CFLAGS@ | 264 | SSL_CFLAGS = @SSL_CFLAGS@ |
261 | SSL_LIBS = @SSL_LIBS@ | 265 | SSL_LIBS = @SSL_LIBS@ |
262 | STRIP = @STRIP@ | 266 | STRIP = @STRIP@ |
diff --git a/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c b/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c index 86badf5..62ba4c8 100644 --- a/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c +++ b/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c | |||
@@ -221,6 +221,28 @@ ecore_imf_evas_event_mouse_wheel_wrap(Evas_Event_Mouse_Wheel *evas_event, | |||
221 | * @param evas_event The received Evas event. | 221 | * @param evas_event The received Evas event. |
222 | * @param imf_event The location to store the converted Ecore_IMF event. | 222 | * @param imf_event The location to store the converted Ecore_IMF event. |
223 | * @ingroup Ecore_IMF_Evas_Group | 223 | * @ingroup Ecore_IMF_Evas_Group |
224 | * | ||
225 | * Example | ||
226 | * @code | ||
227 | * static void | ||
228 | * _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) | ||
229 | * { | ||
230 | * Evas_Event_Key_Down *ev = event_info; | ||
231 | * if (!ev->keyname) return; | ||
232 | * | ||
233 | * if (imf_context) | ||
234 | * { | ||
235 | * Ecore_IMF_Event_Key_Down ecore_ev; | ||
236 | * ecore_imf_evas_event_key_down_wrap(ev, &ecore_ev); | ||
237 | * if (ecore_imf_context_filter_event(imf_context, | ||
238 | * ECORE_IMF_EVENT_KEY_DOWN, | ||
239 | * (Ecore_IMF_Event *)&ecore_ev)) | ||
240 | * return; | ||
241 | * } | ||
242 | * } | ||
243 | * | ||
244 | * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_DOWN, _key_down_cb, data); | ||
245 | * @endcode | ||
224 | */ | 246 | */ |
225 | EAPI void | 247 | EAPI void |
226 | ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event, | 248 | ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event, |
@@ -244,6 +266,28 @@ ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event, | |||
244 | * @param evas_event The received Evas event. | 266 | * @param evas_event The received Evas event. |
245 | * @param imf_event The location to store the converted Ecore_IMF event. | 267 | * @param imf_event The location to store the converted Ecore_IMF event. |
246 | * @ingroup Ecore_IMF_Evas_Group | 268 | * @ingroup Ecore_IMF_Evas_Group |
269 | * | ||
270 | * Example | ||
271 | * @code | ||
272 | * static void | ||
273 | * _key_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) | ||
274 | * { | ||
275 | * Evas_Event_Key_Up *ev = event_info; | ||
276 | * if (!ev->keyname) return; | ||
277 | * | ||
278 | * if (imf_context) | ||
279 | * { | ||
280 | * Ecore_IMF_Event_Key_Up ecore_ev; | ||
281 | * ecore_imf_evas_event_key_up_wrap(ev, &ecore_ev); | ||
282 | * if (ecore_imf_context_filter_event(imf_context, | ||
283 | * ECORE_IMF_EVENT_KEY_UP, | ||
284 | * (Ecore_IMF_Event *)&ecore_ev)) | ||
285 | * return; | ||
286 | * } | ||
287 | * } | ||
288 | * | ||
289 | * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_UP, _key_up_cb, data); | ||
290 | * @endcode | ||
247 | */ | 291 | */ |
248 | EAPI void | 292 | EAPI void |
249 | ecore_imf_evas_event_key_up_wrap(Evas_Event_Key_Up *evas_event, | 293 | ecore_imf_evas_event_key_up_wrap(Evas_Event_Key_Up *evas_event, |