=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v retrieving revision 1.25 retrieving revision 1.28 diff -u -p -r1.25 -r1.28 --- OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c 2005/05/18 03:27:00 1.25 +++ OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c 2007/01/30 00:28:26 1.28 @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.24 2004/03/01 05:48:24 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.27 2006/11/09 15:54:35 saito Exp $ */ #include "ca.h" #include "parse.h" @@ -56,6 +56,10 @@ #include static void Quit(); +static void print_canvas(Widget w, struct canvas *can, XtPointer calldata); +static void output_to_printer(Widget w, struct canvas *can, XtPointer calldata); +static void print_canvas_to_file(Widget w, struct canvas *can, XtPointer calldata); +static void printing_method(Widget w, struct canvas *can, XtPointer calldata); static Atom wm_delete_window; @@ -554,7 +558,6 @@ struct canvas *can; int i,width,height; Arg arg[6]; char buf[BUFSIZ]; - static void print_canvas(); width = can->width; height = can->height; @@ -961,9 +964,6 @@ static void print_canvas(w,can,calldata) Widget entry; int i; Arg arg[1]; - static void output_to_printer(); - static void print_canvas_to_file(); - static void printing_method(); W = w; Can = can; @@ -1175,7 +1175,7 @@ static void output_to_ps_printer(w,fbutton,call) /* test sequence ox_launch(0,"ox_plot"); ifplot(x^2-y^3); - drawcircle(0,0,100,0,0); + drawcircle(0,0,100,0xff000,0); */ static int getColorSizeOfImageForPS(int xsize,int ysize,XImage *image, struct xcolorForPS **tableOfxcolorForPS); @@ -1184,6 +1184,7 @@ static void generate_psfile(can,fp) struct canvas *can; FILE *fp; { +#if 0 int x,y; XImage *image; int color[1]; @@ -1208,6 +1209,7 @@ static void generate_psfile(can,fp) method_is_not_available(); } fflush(NULL); +#endif } static void method_is_not_available() {