Apply sip back key concept in composer
[apps/core/preloaded/message-app.git] / composer / src / ui-composer / msg-ui-composer-common.c
index 30c2197..6ac1eb0 100755 (executable)
@@ -1461,3 +1461,21 @@ void msg_ui_composer_apply_font_size(MSG_COMPOSER_VIEW_DATA_S *cd, bool update_s
        D_LEAVE;
 }
 
+void msg_ui_composer_naviframe_size_hints_changed(void *data, Evas *e, Evas_Object *obj, void *event_info)
+{
+       D_ENTER;
+       D_MSG_RETM_IF(data == NULL, "Composer Data is NULL");
+       MSG_COMPOSER_VIEW_DATA_S *cd = (MSG_COMPOSER_VIEW_DATA_S *)data;
+       Evas_Display_Mode dispmode;
+
+       dispmode = evas_object_size_hint_display_mode_get(obj);
+       if (dispmode == EVAS_DISPLAY_MODE_COMPRESS) {
+               D_MSG("dispmode = EVAS_DISPLAY_MODE_COMPRESS");
+               cd->is_keypad_show = true;
+       } else if (dispmode == EVAS_DISPLAY_MODE_NONE) {
+               D_MSG("dispmode = EVAS_DISPLAY_MODE_NONE");
+               cd->is_keypad_show = false;
+       }
+       D_LEAVE;
+}
+