From 7038032884c4f25200000550f20aaed230004941 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 17 Sep 2010 15:47:36 +0900 Subject: [PATCH] [ecore_imf] shift_mode_set -> caps_mode_set --- src/lib/ecore_imf/Ecore_IMF.h | 14 +++++++------- src/lib/ecore_imf/ecore_imf_context.c | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h index c51ced1..6580846 100644 --- a/src/lib/ecore_imf/Ecore_IMF.h +++ b/src/lib/ecore_imf/Ecore_IMF.h @@ -174,15 +174,15 @@ extern "C" { // will be deleted soon typedef struct { - bool fUseImEffect; /**< whether use Im effect or not */ + bool fUseImEffect; /**< whether use Im effect or not */ } ISE_STYLE; typedef enum { - ECORE_IMF_INPUT_PANEL_SHIFT_MODE_OFF, /**< Off */ - ECORE_IMF_INPUT_PANEL_SHIFT_MODE_ON, /**< On */ - ECORE_IMF_INPUT_PANEL_SHIFT_MODE_LOCK, /**< Lock */ - } Ecore_IMF_Input_Panel_Shift_Mode; + ECORE_IMF_INPUT_PANEL_CAPS_MODE_OFF, /**< Off */ + ECORE_IMF_INPUT_PANEL_CAPS_MODE_ON, /**< On */ + ECORE_IMF_INPUT_PANEL_CAPS_MODE_LOCK, /**< Lock */ + } Ecore_IMF_Input_Panel_Caps_Mode; typedef enum { @@ -488,7 +488,7 @@ extern "C" { int (*ise_set_active_ise_by_name) (Ecore_IMF_Context *ctx, const char* name); /**< will be deprecated */ int (*ise_set_active_ise_by_uuid) (Ecore_IMF_Context *ctx, const char* uuid); /**< will be deprecated */ int (*ise_get_iselist) (Ecore_IMF_Context *ctx, char*** iselist); /**< will be deprecated */ - int (*input_panel_shift_mode_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Shift_Mode mode); + int (*input_panel_caps_mode_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Caps_Mode mode); }; struct _Ecore_IMF_Context_Info @@ -1237,7 +1237,7 @@ extern "C" { */ EAPI void ecore_imf_context_input_panel_move (Ecore_IMF_Context *ctx, int x, int y); - EAPI void ecore_imf_context_input_panel_shift_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Shift_Mode mode); + EAPI void ecore_imf_context_input_panel_caps_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Caps_Mode mode); /* The following entry points must be exported by each input method module */ diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c index d5481bb..c83f04b 100644 --- a/src/lib/ecore_imf/ecore_imf_context.c +++ b/src/lib/ecore_imf/ecore_imf_context.c @@ -1406,13 +1406,13 @@ ecore_imf_context_input_panel_move (Ecore_IMF_Context *ctx, int x, int y) } EAPI void -ecore_imf_context_input_panel_shift_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Shift_Mode mode) +ecore_imf_context_input_panel_caps_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Caps_Mode mode) { if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) { - ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,"ecore_imf_context_input_panel_shift_mode_set"); + ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,"ecore_imf_context_input_panel_caps_mode_set"); return; } - if (ctx->klass->input_panel_shift_mode_set) ctx->klass->input_panel_shift_mode_set(ctx, mode); + if (ctx->klass->input_panel_caps_mode_set) ctx->klass->input_panel_caps_mode_set(ctx, mode); } -- 2.7.4