clipper: hide the region_set()/get() APIs.
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 18 May 2015 04:56:09 +0000 (13:56 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 18 May 2015 04:56:09 +0000 (13:56 +0900)
Provide the simple api as possible.

src/lib/elm_clipper.c
src/lib/elm_clipper.eo

index 374f9bf..16d7077 100644 (file)
@@ -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)
index dc4b441..1b4255f 100644 (file)
@@ -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;