support layout variation
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 28 Mar 2013 07:13:18 +0000 (16:13 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 1 Apr 2013 04:33:04 +0000 (13:33 +0900)
Change-Id: I99f1607bf9dde44789c4dbd3bf2bbcfb7be6205b

ism/extras/efl_immodule/isf_imf_control_ui.cpp
ism/src/ise_context.h

index bd1bb65..af2af86 100644 (file)
@@ -469,6 +469,9 @@ void isf_imf_context_input_panel_show (Ecore_IMF_Context* ctx)
     /* set layout in ise context info */
     iseContext.layout = ecore_imf_context_input_panel_layout_get (ctx);
 
+    /* set layout variation in ise context info */
+    iseContext.layout_variation = ecore_imf_context_input_panel_layout_variation_get (ctx);
+
     /* set prediction allow */
     iseContext.prediction_allow = ecore_imf_context_prediction_allow_get (ctx);
 
@@ -515,6 +518,7 @@ void isf_imf_context_input_panel_show (Ecore_IMF_Context* ctx)
     LOGD ("[request to show input panel] ctx : %p\n", ctx);
     LOGD (" - language : %d\n", iseContext.language);
     LOGD (" - layout : %d\n", iseContext.layout);
+    LOGD (" - layout variation : %d\n", iseContext.layout_variation);
 
     /* set return key type */
     iseContext.return_key_type = ecore_imf_context_input_panel_return_key_type_get (ctx);
index 2d4bf08..9bac9bc 100644 (file)
@@ -39,7 +39,8 @@ typedef struct {
     Eina_Bool prediction_allow;
     Eina_Bool password_mode;
     Eina_Bool caps_mode;
-    int reserved[249];
+    int layout_variation;
+    int reserved[248];
 } Ise_Context;
 
 #endif  /* __ISE_CONTEXT_H */