Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir     : e17/proto/epdf/src/bin


Modified Files:
        epdf_esmart_test.c 


Log Message:
and scaling support in esmart widget too. Various fixes and new naming 
convention

===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_esmart_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- epdf_esmart_test.c  15 Feb 2006 21:45:08 -0000      1.1
+++ epdf_esmart_test.c  16 Apr 2006 22:28:42 -0000      1.2
@@ -52,15 +52,16 @@
   
   evas = ecore_evas_get(ee);
 
-  o = poppler_object_add (evas);
-  if (!poppler_object_init (o)) {
+  o = esmart_pdf_add (evas);
+  if (!esmart_pdf_init (o)) {
     ecore_evas_shutdown ();
     ecore_shutdown ();
     evas_shutdown ();
     return -1;
   }
-  poppler_object_file_set (o, filename);
-  poppler_object_page_set (o, page_number);
+  esmart_pdf_file_set (o, filename);
+  esmart_pdf_page_set (o, page_number);
+  esmart_pdf_scale_set (o, 0.5, 0.5);
   evas_object_move (o, 0, 0);
   evas_object_show (o);
 




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to