summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_object.eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-23 13:21:40 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-25 10:37:40 +0100
commit422ee8d3233ef94c6d2b27d7dfef3469f6dde5ac (patch)
tree10f651601e9d5cd100ae5edde5096a7b62964a2a /src/lib/evas/canvas/efl_canvas_object.eo
parentf1ad1559b7e1ec8e913d95d07de81e42d0434096 (diff)
efl_canvas_object: get rid of event_animation set/get
the API is a little bit problematic. The API takes events as an parameter. However, only the hide and show events can be used, because move for example is not intercepted, which leads to a situation that you cannot attach a translation animation to the event. Further more, handling the animations directory instead of pipeing them through events seems to be a little bit easier as the case study of the previous events have shown. Further more, we should never ever overwrite the callback_call function of a eo base object, those methods are an incredible hotpath, by the time we would have 1-2 animations on a object, the event submission would be significetly slowned down. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8009
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_object.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 75f304a..d29bafa 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -570,20 +570,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
570 return: bool; [[$true if the coords are inside the object, $false otherwise]] 570 return: bool; [[$true if the coords are inside the object, $false otherwise]]
571 } 571 }
572 } 572 }
573 @property event_animation {
574 [[Set the $animation which starts when the given $desc happens to the object.]]
575 get { legacy: null; }
576 set { legacy: null; }
577 keys {
578 @cref desc: Efl.Event_Description;
579 [[The event description for which the given $animation is set.]]
580 }
581 values {
582 animation: Efl.Canvas.Animation;
583 [[The animation which starts when the given $desc
584 happens to the object.]]
585 }
586 }
587 } 573 }
588 implements { 574 implements {
589 Efl.Object.constructor; 575 Efl.Object.constructor;
@@ -619,9 +605,6 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
619 Efl.Canvas.Pointer.pointer_inside { get; } 605 Efl.Canvas.Pointer.pointer_inside { get; }
620 } 606 }
621 events { 607 events {
622 anim_started: Efl.Canvas.Object_Animation_Event; [[Animation is started.]]
623 anim_running: Efl.Canvas.Object_Animation_Event; [[Animation is running.]]
624 anim_ended: Efl.Canvas.Object_Animation_Event; [[Animation is ended.]]
625 animator,tick: Efl.Event_Animator_Tick; [[Animator tick synchronized with screen vsync if possible.]] 608 animator,tick: Efl.Event_Animator_Tick; [[Animator tick synchronized with screen vsync if possible.]]
626 } 609 }
627} 610}