elm_win_input_rect_set/add/subtract added
authorJiyoun Park <jy0703.park@samsung.com>
Thu, 14 Dec 2017 05:35:22 +0000 (14:35 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:34:07 +0000 (22:34 +0900)
Before_Change-Id: I0ff5ae24eb30b3d824da7fd020db96fe41eac6cc
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
Change-Id: Iaf9b0ca33f1bdde5d4a42f78fdcaa3ebb307a3d7

src/lib/elementary/efl_ui_win.c
src/lib/elementary/elm_win_common.h
src/lib/elementary/elm_win_legacy.h

index dda5dbe..9c4707d 100644 (file)
@@ -9529,6 +9529,29 @@ elm_win_teamwork_uri_open(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUS
    ERR("Calling deprecrated function '%s'", __FUNCTION__);
 }
 
+// TIZEN_ONLY(20160216) : elm_win_input_rect_set/add/subtract added
+EAPI void
+elm_win_input_rect_set(Evas_Object *obj, Eina_Rectangle *input_rect)
+{
+   ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
+   TRAP(sd, input_rect_set, input_rect);
+}
+
+EAPI void
+elm_win_input_rect_add(Evas_Object *obj, Eina_Rectangle *input_rect)
+{
+   ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
+   TRAP(sd, input_rect_add, input_rect);
+}
+
+EAPI void
+elm_win_input_rect_subtract(Evas_Object *obj, Eina_Rectangle *input_rect)
+{
+   ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
+   TRAP(sd, input_rect_subtract, input_rect);
+}
+//
+
 // TIZEN_ONLY(20160617) : add elm_win_active_win_orientation_get
 EAPI int
 elm_win_active_win_orientation_get(Evas_Object *obj)
index a0d4fef..550b16a 100644 (file)
@@ -55,6 +55,11 @@ struct _Elm_Win_Trap
    Eina_Bool (*title_set)(void *data, Evas_Object *o, const char *t);
    Eina_Bool (*urgent_set)(void *data, Evas_Object *o, Eina_Bool urgent);
    Eina_Bool (*withdrawn_set)(void *data, Evas_Object *o, Eina_Bool withdrawn);
+// TIZEN_ONLY(20160216) : elm_win_input_rect_set/add/subtract added
+   Eina_Bool (*input_rect_set)(void *data, Evas_Object *o, Eina_Rectangle *input_rect);
+   Eina_Bool (*input_rect_add)(void *data, Evas_Object *o, Eina_Rectangle *input_rect);
+   Eina_Bool (*input_rect_subtract)(void *data, Evas_Object *o, Eina_Rectangle *input_rect);
+//
 };
 
 /**
index 6ac8425..49d6562 100644 (file)
@@ -1288,6 +1288,41 @@ EAPI Eina_Bool elm_win_focus_highlight_animate_get(const Elm_Win *obj);
  */
 EAPI void elm_win_raise(Elm_Win *obj);
 
+// TIZEN_ONLY(20160216): elm_win_input_rect_set/add/subtract added
+/**
+ * @internal
+ * @remarks Tizen only feature
+ *
+ * @brief Sets an input rect of surface.
+ * @remarks Support for this depends on the underlying windowing system.
+ * @param obj The window object
+ * @param input_rect The rectangle of input to be set
+ */
+EAPI void                  elm_win_input_rect_set(Evas_Object *obj, Eina_Rectangle *input_rect);
+
+/**
+ * @internal
+ * @remarks Tizen only feature
+ *
+ * @brief Adds an input rect of surface.
+ * @remarks Support for this depends on the underlying windowing system.
+ * @param obj The window object
+ * @param input_rect The rectangle of input to be added
+ */
+EAPI void                  elm_win_input_rect_add(Evas_Object *obj, Eina_Rectangle *input_rect);
+
+/**
+ * @internal
+ * @remarks Tizen only feature
+ *
+ * @brief Subtracts an input rect of surface.
+ * @remarks Support for this depends on the underlying windowing system.
+ * @param obj The window object
+ * @param input_rect The rectangle of input to be subtracted
+ */
+EAPI void                  elm_win_input_rect_subtract(Evas_Object *obj, Eina_Rectangle *input_rect);
+//
+
 /**
  * @brief Set the array of available profiles to a window.
  *