|
From: Harald H. <h.h...@tu...> - 2004-09-17 12:25:11
|
I have found some minor bugs in the terminal README and in the debug
terminal. Here comes the diff:
diff -ru orig/term/README fixes/term/README
--- orig/term/README=09Thu Sep 2 16:52:00 2004
+++ fixes/term/README=09Fri Sep 17 14:22:29 2004
@@ -29,7 +29,7 @@
Each driver provides all the functions it needs, and a table of
function pointers and other data to interface to gnuplot.
-The table entry is currently defined as follows in plot.h:
+The table entry is currently defined as follows in term_api.h:
struct TERMENTRY {
@@ -80,6 +80,13 @@
#ifdef IMAGE_DRIVER
void (*image) __PROTO((unsigned, unsigned, coordval *, gpiPoint *, t_i=
magecolor));
#endif
+
+/* Enhanced text mode driver call-backs */
+ void (*enhanced_open) __PROTO((char * fontname, double fontsize,
+=09=09double base, TBOOLEAN widthflag, TBOOLEAN showflag,
+=09=09int overprint));
+ void (*enhanced_flush) __PROTO((void));
+ void (*enhanced_writec) __PROTO((int c));
};
One consequence of (1) is that we would like drivers to be backwards
diff -ru orig/term/debug.trm fixes/term/debug.trm
--- orig/term/debug.trm=09Thu Jul 1 19:10:12 2004
+++ fixes/term/debug.trm=09Fri Sep 17 14:21:10 2004
@@ -227,7 +227,7 @@
}
TERM_PUBLIC void
-DEBUG_point((unsigned int x, unsigned int y, int pointstyle)
+DEBUG_point(unsigned int x, unsigned int y, int pointstyle)
{
fprintf(gpoutfile, "point at (%ud,%ud), pointstyle %d\n", x, y, points=
tyle);
}
Yours
Harald
--=20
Harald Harders Langer Kamp 8
Technische Universit=E4t Braunschweig D-38106 Braunschweig
Institut f=FCr Werkstoffe Germany
E-Mail: h.h...@tu... Tel: +49 (5 31) 3 91-3062
WWW : http://www.harald-harders.de Fax: +49 (5 31) 3 91-3058
|