summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-05-18 13:56:09 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-05-18 13:56:09 +0900
commitda3b2b1274927e995f43b74434068063ea2d5ff8 (patch)
tree281d2de9c4b54eb456d85aaaa67b4acb3e9dfcef
parent521a2f035bc1bf9d914129cbb3bf2528666dd310 (diff)
clipper: hide the region_set()/get() APIs.
Provide the simple api as possible.
-rw-r--r--src/lib/elm_clipper.c2
-rw-r--r--src/lib/elm_clipper.eo30
2 files changed, 2 insertions, 30 deletions
diff --git a/src/lib/elm_clipper.c b/src/lib/elm_clipper.c
index 374f9bf57..16d7077fe 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)
64 return sd->clipper; 64 return sd->clipper;
65} 65}
66 66
67#if 0
67EOLIAN static void 68EOLIAN static void
68_elm_clipper_region_set(Eo *obj, Elm_Clipper_Data *sd, double x1, double y1, double x2, double y2) 69_elm_clipper_region_set(Eo *obj, Elm_Clipper_Data *sd, double x1, double y1, double x2, double y2)
69{ 70{
@@ -89,6 +90,7 @@ _elm_clipper_region_get(Eo *obj EINA_UNUSED, Elm_Clipper_Data *sd, double *x1, d
89 if (x2) *x2 = sd->region_x2; 90 if (x2) *x2 = sd->region_x2;
90 if (y2) *y2 = sd->region_y2; 91 if (y2) *y2 = sd->region_y2;
91} 92}
93#endif
92 94
93EOLIAN static Eina_Bool 95EOLIAN static Eina_Bool
94_elm_clipper_elm_widget_sub_object_del(Eo *obj, Elm_Clipper_Data *sd, Evas_Object *sobj) 96_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 dc4b44196..1b4255f6a 100644
--- a/src/lib/elm_clipper.eo
+++ b/src/lib/elm_clipper.eo
@@ -30,36 +30,6 @@ class Elm.Clipper (Elm.Container)
30 Evas_Object *clip; 30 Evas_Object *clip;
31 } 31 }
32 } 32 }
33 @property region {
34 set {
35 /*@
36 @brief Set the region of the clipper
37
38 Sets the position and the size of the clipper on clipper object
39
40 @note The value should be normalized. (0 ~ 1)
41
42 @since 1.15
43
44 @ingroup Clipper */
45 }
46 get {
47 /*@
48 @brief Get the region of the clipper
49
50 @see elm_clipper_region_align_set()
51
52 @since 1.15
53
54 @ingroup Clipper */
55 }
56 values {
57 double x1; /*@ left edge of the clipper on elm_clipper widget */
58 double y1; /*@ top edge of the clipper on elm_clipper widget */
59 double x2; /*@ right edge of the clipper on elm_clipper widget */
60 double y2; /*@ bottom edge of the clipper on elm_clipper widget */
61 }
62 }
63 } 33 }
64 implements { 34 implements {
65 class.constructor; 35 class.constructor;