cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ec9869b933dbf99707e85cf2c7846dc6af6b8ee7

commit ec9869b933dbf99707e85cf2c7846dc6af6b8ee7
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Sep 25 15:47:00 2017 -0700

    ecore: start adding life cycle support to Efl.Loop.
    
    pause event is triggered when no more windows are visible to any user.
    resume event is triggered when a window make the application visible
    for the first time to the user after a pause or when starting the 
application.
---
 src/lib/ecore/efl_loop.eo | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo
index 2a24ae737d..f63acc62c7 100644
--- a/src/lib/ecore/efl_loop.eo
+++ b/src/lib/ecore/efl_loop.eo
@@ -135,6 +135,8 @@ class Efl.Loop (Efl.Object)
       poll,high; [[Event occurs multiple time per second. The exact tick is 
undefined and could be adjusted system wide.]]
       poll,medium; [[Event occurs multiple time per minute. The exact tick is 
undefined and could be adjusted system wide.]]
       poll,low; [[Event occurs multiple time every 15 minutes. The exact tick 
is undefined and could be adjusted system wide.]]
+      pause; [[Called when the window is going not be displayed for some time]]
+      resume; [[Called before a window get rendered after a pause event]]
    }
    implements {
       Efl.Object.constructor;

-- 


Reply via email to