jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0ee9a4ac63a116a5534d73f4df1f6b4507b23349
commit 0ee9a4ac63a116a5534d73f4df1f6b4507b23349 Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Tue Jun 16 13:56:53 2015 +0900 Edje: Add doc in edcref for description.clip_to Thanks Dave for pointing this out. --- src/bin/edje/edje_cc_handlers.c | 48 ++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index d9ddbd3..48bdaaf 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -7368,6 +7368,37 @@ st_collections_group_parts_part_description_color3(void) ed->text.color3.a = parse_int_range(3, 0, 255); } +/** + @page edcref + @property + clip_to + @parameters + [another part's name] + @effect + Overrides the 'clip_to' property of this part. This allows switching + clippers (or masks) at runtime by changing this part's state. When + transitionning between two states, the switch of the clipper shall + happen at the end of the animation, when the new state is finally set + (this is similar to the 'visible' flag). + @endproperty +*/ +static void +st_collections_group_parts_part_description_clip_to_id(void) +{ + Edje_Part_Collection *pc; + + check_arg_count(1); + + pc = eina_list_data_get(eina_list_last(edje_collections)); + { + char *name; + + name = parse_str(0); + data_queue_part_lookup(pc, name, &(current_desc->clip_to_id)); + free(name); + } +} + /** @edcsubsection{collections_group_parts_description_relatives, * Group.Parts.Part.Description.Relatives (rel1/rel2)} */ @@ -7660,23 +7691,6 @@ st_collections_group_parts_part_description_rel2_to_y(void) } } -static void -st_collections_group_parts_part_description_clip_to_id(void) -{ - Edje_Part_Collection *pc; - - check_arg_count(1); - - pc = eina_list_data_get(eina_list_last(edje_collections)); - { - char *name; - - name = parse_str(0); - data_queue_part_lookup(pc, name, &(current_desc->clip_to_id)); - free(name); - } -} - /** @edcsubsection{collections_group_parts_description_image, * Group.Parts.Part.Description.Image} */ --