Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/engines/evas Modified Files: ewl_engine_evas.c Log Message: Abstracted canvas output size setup to the engines. Changed some fb engine copy and paste errors. Add initial evas buffer engine. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/engines/evas/ewl_engine_evas.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ewl_engine_evas.c 5 Sep 2006 02:14:24 -0000 1.4 +++ ewl_engine_evas.c 30 Sep 2006 20:53:30 -0000 1.5 @@ -7,6 +7,8 @@ static Evas_Smart *widget_smart = NULL; static int ee_init(Ewl_Engine *engine); +static void ee_canvas_output_set(Ewl_Embed *embed, int x, int y, int width, + int height); static void ee_canvas_render(Ewl_Embed *embed); static void ee_canvas_freeze(Ewl_Embed *embed); static void ee_canvas_thaw(Ewl_Embed *embed); @@ -28,6 +30,7 @@ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + ee_canvas_output_set, ee_canvas_render, ee_canvas_freeze, ee_canvas_thaw, @@ -91,6 +94,13 @@ engine->functions = &engine_funcs; DRETURN_INT(TRUE, DLEVEL_STABLE); +} + +void +ee_canvas_output_set(Ewl_Embed *embed, int x, int y, int width, int height) +{ + evas_output_size_set(embed->evas, width, height); + evas_output_viewport_set(embed->evas, x, y, width, height); } static void ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs