E CVS: proto/epdf barbieri
Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/epdf Dir : e17/proto/epdf/src/bin Modified Files: epdf_esmart_test.c Log Message: Add black background, avoid garbage on screen. === RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_esmart_test.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- epdf_esmart_test.c 16 Apr 2006 22:28:42 - 1.2 +++ epdf_esmart_test.c 15 Nov 2007 05:04:20 - 1.3 @@ -17,7 +17,7 @@ { Ecore_Evas *ee; Evas *evas; - Evas_Object *o; + Evas_Object *o, *bg; char *filename; int page_number; @@ -52,6 +52,12 @@ evas = ecore_evas_get(ee); + bg = evas_object_rectangle_add(evas); + evas_object_color_set(bg, 0, 0, 0, 255); + evas_object_resize(bg, 600, 850); + evas_object_show(bg); + ecore_evas_data_set(ee, "bg", bg); + o = esmart_pdf_add (evas); if (!esmart_pdf_init (o)) { ecore_evas_shutdown (); @@ -79,10 +85,12 @@ { Evas_Coord w, h; Evas *evas; + Evas_Object *bg; evas = ecore_evas_get(ee); evas_output_viewport_get(evas, NULL, NULL, &w, &h); -/*bg_resize(w, h); */ + bg = ecore_evas_data_get(ee, "bg"); + evas_object_resize(bg, w, h); } static int - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto/epdf barbieri
Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/epdf Dir : e17/proto/epdf/src/bin Modified Files: epdf_etk_test.c Log Message: Update etk_init() usage. === RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_etk_test.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- epdf_etk_test.c 30 Aug 2007 09:18:19 - 1.11 +++ epdf_etk_test.c 15 Nov 2007 05:02:09 - 1.12 @@ -31,7 +31,7 @@ return -1; } - etk_init (&argc, &argv); + etk_init (argc, argv); /* We open the pdf file */ pdf = etk_pdf_new (); - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: proto/epdf barbieri
Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/epdf Dir : e17/proto/epdf/src/plugins/epsilon Modified Files: epsilon_thumbnailer.c Log Message: Add missing include for stdlib.h, fixes missing calloc() prototype. === RCS file: /cvs/e/e17/proto/epdf/src/plugins/epsilon/epsilon_thumbnailer.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- epsilon_thumbnailer.c 30 Aug 2007 09:18:19 - 1.3 +++ epsilon_thumbnailer.c 15 Nov 2007 05:00:05 - 1.4 @@ -3,6 +3,7 @@ #include #include #include +#include Imlib_Image epsilon_thumb_imlib_standardize () - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs