hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=da3b2b1274927e995f43b74434068063ea2d5ff8

commit da3b2b1274927e995f43b74434068063ea2d5ff8
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Mon May 18 13:56:09 2015 +0900

    clipper: hide the region_set()/get() APIs.
    
    Provide the simple api as possible.
---
 src/lib/elm_clipper.c  |  2 ++
 src/lib/elm_clipper.eo | 30 ------------------------------
 2 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/src/lib/elm_clipper.c b/src/lib/elm_clipper.c
index 374f9bf..16d7077 100644
--- a/src/lib/elm_clipper.c
+++ b/src/lib/elm_clipper.c
@@ -64,6 +64,7 @@ _elm_clipper_clip_get(Eo *obj EINA_UNUSED, Elm_Clipper_Data 
*sd)
    return sd->clipper;
 }
 
+#if 0
 EOLIAN static void
 _elm_clipper_region_set(Eo *obj, Elm_Clipper_Data *sd, double x1, double y1, 
double x2, double y2)
 {
@@ -89,6 +90,7 @@ _elm_clipper_region_get(Eo *obj EINA_UNUSED, Elm_Clipper_Data 
*sd, double *x1, d
    if (x2) *x2 = sd->region_x2;
    if (y2) *y2 = sd->region_y2;
 }
+#endif
 
 EOLIAN static Eina_Bool
 _elm_clipper_elm_widget_sub_object_del(Eo *obj, Elm_Clipper_Data *sd, 
Evas_Object *sobj)
diff --git a/src/lib/elm_clipper.eo b/src/lib/elm_clipper.eo
index dc4b441..1b4255f 100644
--- a/src/lib/elm_clipper.eo
+++ b/src/lib/elm_clipper.eo
@@ -30,36 +30,6 @@ class Elm.Clipper (Elm.Container)
             Evas_Object *clip;
          }
       }
-      @property region {
-         set {
-            /*@
-            @brief Set the region of the clipper
-
-            Sets the position and the size of the clipper on clipper object
-
-            @note The value should be normalized. (0 ~ 1)
-
-            @since 1.15
-
-            @ingroup Clipper */
-         }
-         get {
-            /*@
-            @brief Get the region of the clipper
-
-            @see elm_clipper_region_align_set()
-
-            @since 1.15
-
-            @ingroup Clipper */
-         }
-         values {
-            double x1; /*@ left edge of the clipper on elm_clipper widget */
-            double y1; /*@ top edge of the clipper on elm_clipper widget */
-            double x2; /*@ right edge of the clipper on elm_clipper widget */
-            double y2; /*@ bottom edge of the clipper on elm_clipper widget */
-         }
-      }
    }
    implements {
       class.constructor;

-- 


Reply via email to