Change the default value of candidate mode to SOFT_CANDIDATE_WINDOW 51/48551/1
authorSungmin Kwak <sungmin.kwak@samsung.com>
Fri, 18 Sep 2015 06:34:11 +0000 (15:34 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 Sep 2015 01:59:25 +0000 (10:59 +0900)
Change-Id: Ie954f47da577f478bff772e242321f823ae20674

ism/extras/efl_immodule/isf_imf_context.cpp
ism/extras/efl_panel/isf_panel_efl.cpp
ism/src/scim_helper.h
ism/src/scim_imengine.h

index 61537c8..2434f43 100644 (file)
@@ -3579,7 +3579,7 @@ open_next_factory (EcoreIMFContextISF *ic)
         attach_instance (ic->impl->si);
         _backend->set_default_factory (_language, sf->get_uuid ());
         _panel_client.register_input_context (ic->id, sf->get_uuid ());
-        _panel_client.set_candidate_style (ic->id, ONE_LINE_CANDIDATE, FIXED_CANDIDATE_WINDOW);
+        _panel_client.set_candidate_style (ic->id, ONE_LINE_CANDIDATE, SOFT_CANDIDATE_WINDOW);
         set_ic_capabilities (ic);
         turn_on_ic (ic);
 
@@ -3611,7 +3611,7 @@ open_previous_factory (EcoreIMFContextISF *ic)
         attach_instance (ic->impl->si);
         _backend->set_default_factory (_language, sf->get_uuid ());
         _panel_client.register_input_context (ic->id, sf->get_uuid ());
-        _panel_client.set_candidate_style (ic->id, ONE_LINE_CANDIDATE, FIXED_CANDIDATE_WINDOW);
+        _panel_client.set_candidate_style (ic->id, ONE_LINE_CANDIDATE, SOFT_CANDIDATE_WINDOW);
         set_ic_capabilities (ic);
         turn_on_ic (ic);
 
index a6ba142..9509176 100644 (file)
@@ -300,7 +300,7 @@ static bool               _candidate_area_1_visible         = false;
 static bool               _candidate_area_2_visible         = false;
 static bool               _aux_area_visible                 = false;
 
-static ISF_CANDIDATE_MODE_T          _candidate_mode        = FIXED_CANDIDATE_WINDOW;
+static ISF_CANDIDATE_MODE_T          _candidate_mode        = SOFT_CANDIDATE_WINDOW;
 static ISF_CANDIDATE_PORTRAIT_LINE_T _candidate_port_line   = ONE_LINE_CANDIDATE;
 
 static int                _candidate_port_width             = 480;
@@ -1697,7 +1697,7 @@ static bool set_active_ise (const String &uuid, bool launch_ise)
                 _ise_width  = 0;
                 _ise_height = 0;
                 _ise_state  = WINDOW_STATE_HIDE;
-                _candidate_mode      = FIXED_CANDIDATE_WINDOW;
+                _candidate_mode      = SOFT_CANDIDATE_WINDOW;
                 _candidate_port_line = ONE_LINE_CANDIDATE;
                 _soft_candidate_width = 0;
                 _soft_candidate_height = 0;
index 8a2ba6d..ae81827 100644 (file)
@@ -663,7 +663,7 @@ public:
      * @param mode          - candidate window mode.
      */
     void set_candidate_style      (ISF_CANDIDATE_PORTRAIT_LINE_T portrait_line = ONE_LINE_CANDIDATE,
-                                   ISF_CANDIDATE_MODE_T          mode = FIXED_CANDIDATE_WINDOW) const;
+                                   ISF_CANDIDATE_MODE_T          mode = SOFT_CANDIDATE_WINDOW) const;
 
     /**
      * @brief Request to reset keyboard ISE.
index 20ea806..e04bd18 100644 (file)
@@ -1052,7 +1052,7 @@ protected:
      * @param mode          candidate window mode.
      */
     void set_candidate_style (ISF_CANDIDATE_PORTRAIT_LINE_T portrait_line = ONE_LINE_CANDIDATE,
-                              ISF_CANDIDATE_MODE_T          mode = FIXED_CANDIDATE_WINDOW);
+                              ISF_CANDIDATE_MODE_T          mode = SOFT_CANDIDATE_WINDOW);
 
    void send_private_command (const String &command);