=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/plot/plotg.c,v retrieving revision 1.3 retrieving revision 1.9 diff -u -p -r1.3 -r1.9 --- OpenXM_contrib2/asir2000/plot/plotg.c 2000/08/22 05:04:32 1.3 +++ OpenXM_contrib2/asir2000/plot/plotg.c 2015/08/14 13:51:56 1.9 @@ -45,8 +45,11 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/plot/plotg.c,v 1.2 2000/08/21 08:31:51 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/plot/plotg.c,v 1.8 2015/08/06 10:01:53 fujimoto Exp $ */ + +/* XXX : declared in ox_plot_xevent.c on darwin */ +#if !defined(__DARWIN__) #include "ca.h" #include "parse.h" #include "ox.h" @@ -57,9 +60,16 @@ int stream; DISPLAY *display; CURSOR normalcur,runningcur,errorcur; +#if defined(VISUAL) || defined(__MINGW32__) +POINT start_point, end_point; +SIZE cansize; +#else Window rootwin; -GC drawGC,dashGC,hlGC,scaleGC,clearGC,xorGC,colorGC; +GC drawGC,dashGC,hlGC,scaleGC,clearGC,xorGC,colorGC,cdrawGC; XFontStruct *sffs; +#endif struct canvas *canvas[MAXCANVAS]; +struct canvas *closed_canvas[MAXCANVAS]; struct canvas *current_can; +#endif