version 1.1, 2018/09/19 05:45:08 |
version 1.3, 2022/03/28 05:10:13 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM$ |
* $OpenXM: OpenXM_contrib2/asir2018/plot/ox_plot_xevent.c,v 1.2 2020/10/06 06:31:20 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 705 int init_plot_display(int argc,char **argv) |
|
Line 705 int init_plot_display(int argc,char **argv) |
|
} |
} |
|
|
static char *scalefont = "*-8-80-*"; |
static char *scalefont = "*-8-80-*"; |
|
static char *scalefont_f = "fixed"; |
|
|
void create_font() { |
void create_font() { |
Font sfid; |
Font sfid; |
|
|
sfid = XLoadFont(display,scalefont); |
sffs = XLoadQueryFont(display,scalefont); |
sffs = XQueryFont(display,sfid); |
if ( !sfid ) |
XSetFont(display,scaleGC,sfid); |
sffs = XLoadQueryFont(display,scalefont_f); |
|
XSetFont(display,scaleGC,sffs->fid); |
} |
} |
|
|
void create_gc() { |
void create_gc() { |
Line 913 static void set_printing_method(Widget w,XtPointer num |
|
Line 915 static void set_printing_method(Widget w,XtPointer num |
|
Widget shell; |
Widget shell; |
extern int PrintingMethod; |
extern int PrintingMethod; |
PrintingMethod = (long) number; |
PrintingMethod = (long) number; |
fprintf(stderr,"PrintingMethod=%d\n",(long)number); |
fprintf(stderr,"PrintingMethod=%ld\n",(long)number); |
shell = XtParent(XtParent(w)); |
shell = XtParent(XtParent(w)); |
XtPopdown(shell); XtDestroyWidget(shell); |
XtPopdown(shell); XtDestroyWidget(shell); |
} |
} |