edje: fix documentation for limits.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 28 Nov 2011 09:28:42 +0000 (09:28 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 28 Nov 2011 09:28:42 +0000 (09:28 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@65639 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_handlers.c

index 67ea8ca..8bfc262 100644 (file)
@@ -2674,20 +2674,32 @@ st_collections_group_orientation(void)
 
 /**
     @page edcref
-    @property
+    @block
+        limits
+    @context
        group {
             limits {
                vertical: "limit_name" height_barrier;
+               horizontal: "limit_name" width_barrier;
                ..
            }
+           ..
        }
+        ..
+    @description
+        This block is used to trigger some signal when the Edje object is resized.
+    @endblock
+
+    @edcref
+    @property
+        vertical
     @parameters
-       [name] [height barrier]
+        [name] [height barrier]
     @effect
-        This defines when to trigger some even when the Edje object is resized.
        It will send a signal: "limit,name,over" when the object is resized and pass
        the limit by growing over it. And it will send: "limit,name,below" when
        it pass below that limit.
+       This limit will be applied on the y absis.
     @endproperty
 */
 static void
@@ -2718,19 +2730,14 @@ st_collections_group_limits_vertical(void)
 /**
     @page edcref
     @property
-       group {
-            limits {
-               horizontal: "limit_name" width_barrier;
-               ..
-           }
-       }
+        horizontal
     @parameters
-       [name] [width barrier]
+        [name] [width barrier]
     @effect
-        This defines when to trigger some signal when the Edje object is resized.
        It will send a signal: "limit,name,over" when the object is resized and pass
        the limit by growing over it. And it will send: "limit,name,below" when
        it pass below that limit.
+       This limit will be applied on the x absis.
     @endproperty
 */
 static void