diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-06-16 13:56:53 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-06-16 13:59:12 +0900 |
commit | 0ee9a4ac63a116a5534d73f4df1f6b4507b23349 (patch) | |
tree | 7c6941960f3d1d6cdf713801fbdcfd8abdb1fddc /src/bin/edje | |
parent | 6f55b135c266f13858eb89ab2b89fd836c8aae05 (diff) |
Edje: Add doc in edcref for description.clip_to
Thanks Dave for pointing this out.
Diffstat (limited to 'src/bin/edje')
-rw-r--r-- | src/bin/edje/edje_cc_handlers.c | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index d9ddbd3898..48bdaafa8c 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) | |||
7368 | ed->text.color3.a = parse_int_range(3, 0, 255); | 7368 | ed->text.color3.a = parse_int_range(3, 0, 255); |
7369 | } | 7369 | } |
7370 | 7370 | ||
7371 | /** | ||
7372 | @page edcref | ||
7373 | @property | ||
7374 | clip_to | ||
7375 | @parameters | ||
7376 | [another part's name] | ||
7377 | @effect | ||
7378 | Overrides the 'clip_to' property of this part. This allows switching | ||
7379 | clippers (or masks) at runtime by changing this part's state. When | ||
7380 | transitionning between two states, the switch of the clipper shall | ||
7381 | happen at the end of the animation, when the new state is finally set | ||
7382 | (this is similar to the 'visible' flag). | ||
7383 | @endproperty | ||
7384 | */ | ||
7385 | static void | ||
7386 | st_collections_group_parts_part_description_clip_to_id(void) | ||
7387 | { | ||
7388 | Edje_Part_Collection *pc; | ||
7389 | |||
7390 | check_arg_count(1); | ||
7391 | |||
7392 | pc = eina_list_data_get(eina_list_last(edje_collections)); | ||
7393 | { | ||
7394 | char *name; | ||
7395 | |||
7396 | name = parse_str(0); | ||
7397 | data_queue_part_lookup(pc, name, &(current_desc->clip_to_id)); | ||
7398 | free(name); | ||
7399 | } | ||
7400 | } | ||
7401 | |||
7371 | /** @edcsubsection{collections_group_parts_description_relatives, | 7402 | /** @edcsubsection{collections_group_parts_description_relatives, |
7372 | * Group.Parts.Part.Description.Relatives (rel1/rel2)} */ | 7403 | * Group.Parts.Part.Description.Relatives (rel1/rel2)} */ |
7373 | 7404 | ||
@@ -7660,23 +7691,6 @@ st_collections_group_parts_part_description_rel2_to_y(void) | |||
7660 | } | 7691 | } |
7661 | } | 7692 | } |
7662 | 7693 | ||
7663 | static void | ||
7664 | st_collections_group_parts_part_description_clip_to_id(void) | ||
7665 | { | ||
7666 | Edje_Part_Collection *pc; | ||
7667 | |||
7668 | check_arg_count(1); | ||
7669 | |||
7670 | pc = eina_list_data_get(eina_list_last(edje_collections)); | ||
7671 | { | ||
7672 | char *name; | ||
7673 | |||
7674 | name = parse_str(0); | ||
7675 | data_queue_part_lookup(pc, name, &(current_desc->clip_to_id)); | ||
7676 | free(name); | ||
7677 | } | ||
7678 | } | ||
7679 | |||
7680 | /** @edcsubsection{collections_group_parts_description_image, | 7694 | /** @edcsubsection{collections_group_parts_description_image, |
7681 | * Group.Parts.Part.Description.Image} */ | 7695 | * Group.Parts.Part.Description.Image} */ |
7682 | 7696 | ||