summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/edje/edje_cc_handlers.c48
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*/
7385static void
7386st_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
7663static void
7664st_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