Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_embed.c ewl_engines.c ewl_engines.h Log Message: Generic evas engine. Fix engine multiple layer fallbacks. Freeze and thaw the canvas through the engine hooks as a test case. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v retrieving revision 1.72 retrieving revision 1.73 diff -u -3 -r1.72 -r1.73 --- ewl_embed.c 7 Jul 2006 21:06:26 -0000 1.72 +++ ewl_embed.c 11 Jul 2006 01:06:39 -0000 1.73 @@ -1515,8 +1515,7 @@ DCHECK_PARAM_PTR("e", e); DCHECK_TYPE("e", e, EWL_EMBED_TYPE); - if (REALIZED(e) && e->evas && evas_event_freeze_get(e->evas) < 1) - evas_event_freeze(e->evas); + ewl_engine_canvas_freeze(e); DLEAVE_FUNCTION(DLEVEL_STABLE); } @@ -1533,8 +1532,7 @@ DCHECK_PARAM_PTR("e", e); DCHECK_TYPE("e", e, EWL_EMBED_TYPE); - if (REALIZED(e) && e->evas && evas_event_freeze_get(e->evas) > 0) - evas_event_thaw(e->evas); + ewl_engine_canvas_thaw(e); DLEAVE_FUNCTION(DLEVEL_STABLE); } @@ -1559,7 +1557,7 @@ emb = EWL_EMBED(w); - evas_event_freeze(emb->evas); + ewl_embed_freeze(emb); if (!emb->ev_clip) { /* =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_engines.c 10 Jul 2006 02:57:08 -0000 1.6 +++ ewl_engines.c 11 Jul 2006 01:06:39 -0000 1.7 @@ -108,9 +108,10 @@ Ecore_List *deps; deps = caller->dependancies; - ecore_list_goto_last(deps); - while ((caller = ecore_dlist_previous(deps))) + ecore_list_goto_first(deps); + while ((caller = ecore_dlist_next(deps))) { + printf("Checking engine %s\n", caller->name); if (caller->functions->engine_hooks[type]) break; } @@ -151,8 +152,8 @@ Ecore_List *deps; deps = caller->dependancies; - ecore_list_goto_last(deps); - while ((caller = ecore_dlist_previous(deps))) + ecore_list_goto_first(deps); + while ((caller = ecore_dlist_next(deps))) { if (caller->functions->engine_hooks[type]) ecore_list_append(matches, =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_engines.h 10 Jul 2006 03:07:07 -0000 1.6 +++ ewl_engines.h 11 Jul 2006 01:06:39 -0000 1.7 @@ -149,6 +149,8 @@ void ewl_engine_window_dnd_aware_set(Ewl_Window *win); void ewl_engine_canvas_setup(Ewl_Window *win, int debug); +void ewl_engine_canvas_freeze(Ewl_Embed *embed); +void ewl_engine_canvas_thaw(Ewl_Embed *embed); /** * Internal engine hook typedefs, you only need these if you're writing an ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs