From: Thomas J. D. <to...@us...> - 2005-05-12 12:38:25
|
Update of /cvsroot/plplot/plplot/drivers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18521/drivers Modified Files: gcw.c Log Message: Now uses command-line -nopixmap argument instead of a special driver arg. Index: gcw.c =================================================================== RCS file: /cvsroot/plplot/plplot/drivers/gcw.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- gcw.c 11 May 2005 18:34:01 -0000 1.20 +++ gcw.c 12 May 2005 12:37:40 -0000 1.21 @@ -68,9 +68,6 @@ are fundamentally incompatible with the tabbed window design of the GCW driver. Use the PlplotCanvas to create animations instead. - - 3) Example x24c - */ #include <sys/stat.h> @@ -104,14 +101,12 @@ #endif static PLINT hrshsym = 0; -static PLINT pixmap = 1; static PLINT replot = 1; static DrvOpt gcw_options[] = { {"text", DRV_INT, &text, "Use truetype fonts (text=0|1)"}, {"hrshsym", DRV_INT, &hrshsym, "Use Hershey symbol set (hrshsym=0|1)"}, - {"pixmap", DRV_INT, &pixmap, "Use pixmap for plotting shades (pixmap=0|1)"}, {"replot", DRV_INT, &replot, "Allow replotting to other devices (replot=0|1)"}, {NULL, DRV_INT, NULL, NULL} }; @@ -232,8 +227,8 @@ #endif /* Set up pixmap support */ - dev->use_pixmap = (gboolean)pixmap; - dev->pixmap_has_data = FALSE; + dev->use_pixmap = (gboolean)(!pls->nopixmap); + dev->pixmap_has_data = FALSE; /* Initialize the device colors */ dev->color = plcolor_to_rgba(pls->cmap0[pls->icol0],0xFF); |