forked from enlightenment/efl
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. SVN revision: 32804
This commit is contained in:
parent
2a77a4ec07
commit
4c27e0cd6b
|
@ -92,7 +92,7 @@ extern "C" {
|
|||
{
|
||||
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 @@ extern "C" {
|
|||
|
||||
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);
|
||||
|
|
|
@ -183,7 +183,7 @@ ecore_imf_context_del(Ecore_IMF_Context *ctx)
|
|||
|
||||
/**
|
||||
* 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 @@ ecore_imf_context_del(Ecore_IMF_Context *ctx)
|
|||
* @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(Ecore_IMF_Context *ctx, void *window)
|
|||
"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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue