Move code to set indicator mode 69/247869/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 18 Nov 2020 01:13:54 +0000 (10:13 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 18 Nov 2020 02:02:40 +0000 (11:02 +0900)
Change-Id: I5e07b8fe7a74d914936e8ed097dd57def153b257
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
im_setting_list/input_method_setting_list_ui.cpp
im_setting_selector/input_method_setting_selector_ui.cpp

index 6c465f2..39e3ad3 100644 (file)
@@ -114,6 +114,9 @@ im_setting_list_main_window_create(const char *name, int app_type)
         elm_win_alpha_set(eo, EINA_FALSE);
         elm_win_conformant_set(eo, EINA_TRUE);
         elm_win_autodel_set(eo, EINA_TRUE);
+        elm_win_indicator_mode_set(eo, ELM_WIN_INDICATOR_SHOW);
+        elm_win_indicator_opacity_set(eo, ELM_WIN_INDICATOR_OPAQUE);
+
         if (app_type != APP_TYPE_SETTING_NO_ROTATION) {
             int rots[4] = {0, 90, 180, 270};
             elm_win_wm_rotation_available_rotations_set(eo, rots, 4);
@@ -469,8 +472,6 @@ static void im_setting_list_keyboard_setting_item_sel_cb(void *data, Evas_Object
 static Evas_Object *im_setting_list_conform_create(Evas_Object *parentWin)
 {
     Evas_Object *conform = elm_conformant_add(parentWin);
-    elm_win_indicator_mode_set(parentWin, ELM_WIN_INDICATOR_SHOW);
-    elm_win_indicator_opacity_set(parentWin, ELM_WIN_INDICATOR_OPAQUE);
     evas_object_size_hint_weight_set(conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
     evas_object_size_hint_align_set(conform, EVAS_HINT_FILL, EVAS_HINT_FILL);
 
index 8340d45..8d86fe3 100644 (file)
@@ -70,6 +70,9 @@ im_setting_selector_main_window_create(const char *name)
         elm_win_alpha_set(eo, EINA_TRUE);
         elm_win_conformant_set(eo, EINA_TRUE);
         elm_win_autodel_set(eo, EINA_TRUE);
+        elm_win_indicator_mode_set(eo, ELM_WIN_INDICATOR_SHOW);
+        elm_win_indicator_opacity_set(eo, ELM_WIN_INDICATOR_OPAQUE);
+
         if (elm_win_wm_rotation_supported_get(eo)) {
             int rots[4] = {0, 90, 180, 270};
             elm_win_wm_rotation_available_rotations_set(eo, rots, 4);
@@ -406,8 +409,6 @@ im_setting_selector_title_text_get(void *data, Evas_Object *obj, const char *par
 static Evas_Object *im_setting_selector_conform_create(Evas_Object *parentWin)
 {
     Evas_Object *conform = elm_conformant_add(parentWin);
-    elm_win_indicator_mode_set(parentWin, ELM_WIN_INDICATOR_SHOW);
-    elm_win_indicator_opacity_set(parentWin, ELM_WIN_INDICATOR_OPAQUE);
     evas_object_size_hint_weight_set(conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
     evas_object_size_hint_align_set(conform, EVAS_HINT_FILL, EVAS_HINT_FILL);