Enlightenment CVS committal Author : andrunko Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_imf Modified Files: Ecore_IMF.h ecore_imf_context.c Log Message: Changed ecore_imf_context_client_window_set to receive an Evas pointer. This would allow applications to create input method plugins with more fancy stuff (like transparency, ...). See http://staff.get-e.org/?p=users/andrunko/ilike-imf-ecore.git;a=summary. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_imf/Ecore_IMF.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Ecore_IMF.h 19 Nov 2007 18:27:11 -0000 1.1 +++ Ecore_IMF.h 21 Nov 2007 01:33:50 -0000 1.2 @@ -92,7 +92,7 @@ { void (*add) (Ecore_IMF_Context *ctx); void (*del) (Ecore_IMF_Context *ctx); - void (*client_window_set) (Ecore_IMF_Context *ctx, void *window); + void (*client_window_set) (Ecore_IMF_Context *ctx, Evas *evas); void (*show) (Ecore_IMF_Context *ctx); void (*hide) (Ecore_IMF_Context *ctx); void (*preedit_string_get) (Ecore_IMF_Context *ctx, char **str, int *cursor_pos); @@ -121,7 +121,7 @@ EAPI Ecore_IMF_Context *ecore_imf_context_add(const char *id); EAPI void ecore_imf_context_del(Ecore_IMF_Context *ctx); - EAPI void ecore_imf_context_client_window_set(Ecore_IMF_Context *ctx, void *window); + EAPI void ecore_imf_context_client_window_set(Ecore_IMF_Context *ctx, Evas *evas); EAPI void ecore_imf_context_show(Ecore_IMF_Context *ctx); EAPI void ecore_imf_context_hide(Ecore_IMF_Context *ctx); EAPI void ecore_imf_context_preedit_string_get(Ecore_IMF_Context *ctx, char **str, int *cursor_pos); =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_imf/ecore_imf_context.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ecore_imf_context.c 19 Nov 2007 18:27:11 -0000 1.1 +++ ecore_imf_context.c 21 Nov 2007 01:33:50 -0000 1.2 @@ -183,7 +183,7 @@ /** * Set the client window for the Input Method Context; this is the - * window returned by ecore_evas_window_get() in which the input appears. + * Evas canvas in which the input appears. * This window is used in order to correctly position status windows, and may * also be used for purposes internal to the Input Method Context. * @@ -193,7 +193,7 @@ * @ingroup Ecore_IMF_Context_Group */ EAPI void -ecore_imf_context_client_window_set(Ecore_IMF_Context *ctx, void *window) +ecore_imf_context_client_window_set(Ecore_IMF_Context *ctx, Evas *evas) { if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) { @@ -201,7 +201,7 @@ "ecore_imf_context_client_window_set"); return; } - if (ctx->klass->client_window_set) ctx->klass->client_window_set(ctx, window); + if (ctx->klass->client_window_set) ctx->klass->client_window_set(ctx, evas); } /** ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs