Add autocapital type in isecontext 08/17508/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 28 Aug 2013 11:35:57 +0000 (20:35 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 02:23:20 +0000 (11:23 +0900)
Change-Id: I454614ef58bc15dae6b9e8a005024512447857e0

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

index 510ac16..3cdcbbb 100644 (file)
@@ -536,9 +536,11 @@ void isf_imf_context_input_panel_show (Ecore_IMF_Context* ctx)
     /* set the cursor position of the editable widget */
     ecore_imf_context_surrounding_get (ctx, NULL, &iseContext.cursor_pos);
 
+    iseContext.autocapital_type = ecore_imf_context_autocapital_type_get (ctx);
+
     LOGD ("ctx : %p, layout : %d, layout variation : %d\n", ctx, iseContext.layout, iseContext.layout_variation);
     LOGD ("language : %d, cursor position : %d, caps mode : %d\n", iseContext.language, iseContext.cursor_pos, iseContext.caps_mode);
-    LOGD ("return_key_type : %d, return_key_disabled : %d\n", iseContext.return_key_type, iseContext.return_key_disabled);
+    LOGD ("return_key_type : %d, return_key_disabled : %d, autocapital type : %d\n", iseContext.return_key_type, iseContext.return_key_disabled, iseContext.autocapital_type);
     LOGD ("client_window : %#x, password mode : %d, prediction_allow : %d\n", iseContext.client_window, iseContext.password_mode, iseContext.prediction_allow);
 
     /* calculate packet size */
index 9bac9bc..b56f7e2 100644 (file)
@@ -40,7 +40,8 @@ typedef struct {
     Eina_Bool password_mode;
     Eina_Bool caps_mode;
     int layout_variation;
-    int reserved[248];
+    Ecore_IMF_Autocapital_Type autocapital_type;
+    int reserved[247];
 } Ise_Context;
 
 #endif  /* __ISE_CONTEXT_H */