Modifications and bug-fixes to make Mosaic compile and run under UNICOS. (part 2)
The changes mostly revolve around: - Type changes and casts to make the picky C-compiler happy - Fixed bug in XmxExtractToken where it would not zero out bits 16-31 on a non-32-bit system - Added back old getline implementation as its missing on UNICOS - Added some missing typedefs and conditional directives to turn on the relevant code pieces for UNICOS
This commit is contained in:
parent
075b2e4911
commit
8baf5f2e62
9
Makefile
9
Makefile
@ -22,6 +22,7 @@ dev_::
|
||||
@echo " linux -- x86 running Linux 1.2.13 DYNAMIC"
|
||||
@echo " linux-static -- x86 running Linux 1.2.13 ALL STATIC"
|
||||
@echo " linux-static-motif -- x86 running Linux 1.2.13 STATIC MOTIF"
|
||||
@echo " unicos -- Cray PVP running UNICOS (tested with 10.0 and MOTIF)"
|
||||
@echo " sco -- x86 running SCO System V 3.2"
|
||||
@echo " sgi -- SGI Iris running IRIS 4.0.2"
|
||||
@echo " solaris-23 -- SPARCstation 20 running Solaris 2.3"
|
||||
@ -119,6 +120,14 @@ p_linux_static_motif: rm_and_touch
|
||||
q_linux_static_motif: rm_and_touch
|
||||
$(MAKE) -f makefiles/Makefile.linux q_static_motifd DEV_ARCH=linux
|
||||
|
||||
dev_unicos: rm_and_touch unicos
|
||||
unicos: rm_and_touch
|
||||
$(MAKE) -f makefiles/Makefile.unicos static_motifd DEV_ARCH=unicos
|
||||
p_unicos: rm_and_touch
|
||||
$(MAKE) -f makefiles/Makefile.unicos p_static_motifd DEV_ARCH=unicos
|
||||
q_unicos: rm_and_touch
|
||||
$(MAKE) -f makefiles/Makefile.unicos q_static_motifd DEV_ARCH=unicos
|
||||
|
||||
dev_sco: rm_and_touch sco
|
||||
sco: rm_and_touch
|
||||
$(MAKE) -f makefiles/Makefile.sco DEV_ARCH=sco
|
||||
|
16
libXmx/Xmx.c
16
libXmx/Xmx.c
@ -52,7 +52,9 @@
|
||||
* mosaic-x@ncsa.uiuc.edu. *
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef _UNICOS
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include <Xm/RepType.h>
|
||||
|
||||
@ -131,7 +133,9 @@ XmxExtractToken (int cd)
|
||||
{
|
||||
/* Pull the low 16 bits, if uniqid has been set. */
|
||||
if (Xmx_uniqid_has_been_set)
|
||||
return ((cd << 16) >> 16);
|
||||
/* This doesn't work on a non-32-bit system */
|
||||
/*return ((cd << 16) >> 16);*/
|
||||
return cd & 0xffff;
|
||||
else
|
||||
return cd;
|
||||
}
|
||||
@ -1641,7 +1645,7 @@ int XmxModalYesOrNo (Widget parent, XtAppContext app,
|
||||
title = XmStringCreateLtoR ("Prompt", XmSTRING_DEFAULT_CHARSET);
|
||||
|
||||
XmxSetArg (XmNdialogTitle, (XtArgVal)title);
|
||||
XmxSetArg (XmNdialogStyle, XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNdialogStyle, (XtArgVal)XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNmessageString, (XtArgVal)question);
|
||||
XmxSetArg (XmNokLabelString, (XtArgVal)yes);
|
||||
XmxSetArg (XmNcancelLabelString, (XtArgVal)no);
|
||||
@ -1718,7 +1722,7 @@ void XmxMakeInfoDialogWait (Widget parent, XtAppContext app,
|
||||
title = XmStringCreateLtoR (titlestr, XmSTRING_DEFAULT_CHARSET);
|
||||
|
||||
XmxSetArg (XmNdialogTitle, (XtArgVal)title);
|
||||
XmxSetArg (XmNdialogStyle, XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNdialogStyle, (XtArgVal)XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNmessageString, (XtArgVal)info);
|
||||
XmxSetArg (XmNokLabelString, (XtArgVal)yes);
|
||||
XmxSetArg (XmNsymbolPixmap, (XtArgVal)dialogInformation);
|
||||
@ -1767,7 +1771,7 @@ void XmxMakeErrorDialogWait (Widget parent, XtAppContext app,
|
||||
title = XmStringCreateLtoR (titlestr, XmSTRING_DEFAULT_CHARSET);
|
||||
|
||||
XmxSetArg (XmNdialogTitle, (XtArgVal)title);
|
||||
XmxSetArg (XmNdialogStyle, XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNdialogStyle, (XtArgVal)XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNmessageString, (XtArgVal)info);
|
||||
XmxSetArg (XmNokLabelString, (XtArgVal)yes);
|
||||
XmxSetArg (XmNsymbolPixmap, (XtArgVal)dialogError);
|
||||
@ -1818,7 +1822,7 @@ char *XmxModalPromptForString (Widget parent, XtAppContext app,
|
||||
title = XmStringCreateLtoR ("Prompt", XmSTRING_DEFAULT_CHARSET);
|
||||
|
||||
XmxSetArg (XmNdialogTitle, (XtArgVal)title);
|
||||
XmxSetArg (XmNdialogStyle, XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNdialogStyle, (XtArgVal)XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNselectionLabelString, (XtArgVal)question);
|
||||
XmxSetArg (XmNokLabelString, (XtArgVal)yes);
|
||||
XmxSetArg (XmNcancelLabelString, (XtArgVal)no);
|
||||
@ -1984,7 +1988,7 @@ char *XmxModalPromptForPassword (Widget parent, XtAppContext app,
|
||||
title = XmStringCreateLtoR ("Prompt", XmSTRING_DEFAULT_CHARSET);
|
||||
|
||||
XmxSetArg (XmNdialogTitle, (XtArgVal)title);
|
||||
XmxSetArg (XmNdialogStyle, XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNdialogStyle, (XtArgVal)XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
XmxSetArg (XmNselectionLabelString, (XtArgVal)question);
|
||||
XmxSetArg (XmNokLabelString, (XtArgVal)yes);
|
||||
XmxSetArg (XmNcancelLabelString, (XtArgVal)no);
|
||||
|
@ -56,8 +56,11 @@
|
||||
#define __XMXP_H__
|
||||
|
||||
/* System includes. */
|
||||
|
||||
#ifndef _UNICOS
|
||||
#include <stdint.h>
|
||||
#else
|
||||
typedef unsigned int uintptr_t;
|
||||
#endif
|
||||
|
||||
/* Here are some nasty ifdef's to make SGI's weird header files happy -DXP */
|
||||
|
||||
|
@ -64,6 +64,10 @@
|
||||
#include "../src/gui.h"
|
||||
#include "../src/gui-dialogs.h"
|
||||
|
||||
#ifdef _UNICOS
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#ifndef MAXHOSTNAMELEN
|
||||
#define MAXHOSTNAMELEN 64 /* Arbitrary limit */
|
||||
#endif
|
||||
|
@ -491,27 +491,29 @@ PUBLIC void HTFileInit NOARGS
|
||||
|
||||
#define MAX_STRING_LEN 256
|
||||
|
||||
/*static int getline(char *s, int n, FILE *f) */
|
||||
/*{*/
|
||||
/*register int i=0;*/
|
||||
#ifdef _UNICOS
|
||||
static int getline(char **ps, size_t *pn, FILE *f)
|
||||
{
|
||||
register int i=0;
|
||||
char *s = *ps;
|
||||
|
||||
/*while(1) */
|
||||
/*{*/
|
||||
/*s[i] = (char)fgetc(f);*/
|
||||
while(1)
|
||||
{
|
||||
s[i] = (char)fgetc(f);
|
||||
|
||||
/*if(s[i] == CR)*/
|
||||
/*s[i] = fgetc(f);*/
|
||||
if(s[i] == CR)
|
||||
s[i] = fgetc(f);
|
||||
|
||||
/*if((s[i] == EOF) || (s[i] == LF) || (i == (n-1)))*/
|
||||
/*{*/
|
||||
/*s[i] = '\0';*/
|
||||
/*return (feof(f) ? 1 : 0);*/
|
||||
/*}*/
|
||||
/*++i;*/
|
||||
/*}*/
|
||||
|
||||
/**//* NOTREACHED */
|
||||
/*}*/
|
||||
if((s[i] == EOF) || (s[i] == LF) || (i == (*pn-1)))
|
||||
{
|
||||
s[i] = '\0';
|
||||
return (feof(f) ? 1 : 0);
|
||||
}
|
||||
++i;
|
||||
}
|
||||
/* NOTREACHED */
|
||||
}
|
||||
#endif
|
||||
|
||||
static void getword(char *word, char *line, char stop, char stop2)
|
||||
{
|
||||
|
@ -68,6 +68,10 @@ typedef struct sockaddr_in SockA; /* See netinet/in.h */
|
||||
#define unix
|
||||
#endif
|
||||
|
||||
#ifdef _UNICOS
|
||||
#define USE_DIRENT
|
||||
#endif
|
||||
|
||||
#ifdef _IBMR2
|
||||
#define USE_DIRENT /* sys V style directory open */
|
||||
#endif
|
||||
|
@ -646,7 +646,7 @@ static void make_annotate_win (mo_window *win)
|
||||
|
||||
/* Create it for the first time. */
|
||||
XmxSetUniqid (win->id);
|
||||
XmxSetArg (XmNresizePolicy, XmRESIZE_GROW);
|
||||
XmxSetArg (XmNresizePolicy, (XtArgVal)XmRESIZE_GROW);
|
||||
win->annotate_win = XmxMakeFormDialog
|
||||
(win->base, "NCSA Mosaic: Annotate Window" );
|
||||
dialog_frame = XmxMakeFrame (win->annotate_win, XmxShadowOut);
|
||||
@ -722,13 +722,13 @@ static void make_annotate_win (mo_window *win)
|
||||
win->delete_button = XmxMakePushButton
|
||||
(annotate_form, "Delete" , delete_button_cb, 0);
|
||||
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, 10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, 8);
|
||||
XmxSetArg (XmNcursorPositionVisible, True);
|
||||
XmxSetArg (XmNeditable, True);
|
||||
XmxSetArg (XmNeditMode, XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, 15);
|
||||
XmxSetArg (XmNcolumns, 80);
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, (XtArgVal)10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, (XtArgVal)8);
|
||||
XmxSetArg (XmNcursorPositionVisible, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditMode, (XtArgVal)XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, (XtArgVal)15);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)80);
|
||||
win->annotate_text = XmxMakeScrolledText (annotate_form);
|
||||
|
||||
dialog_sep = XmxMakeHorizontalSeparator (annotate_form);
|
||||
@ -832,7 +832,7 @@ static void make_annotate_win (mo_window *win)
|
||||
XmATTACH_FORM, XmATTACH_FORM,
|
||||
text_label, dialog_sep, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
|
@ -317,7 +317,7 @@ mo_status mo_post_audio_annotate_win (mo_window *win)
|
||||
{
|
||||
/* Create it for the first time. */
|
||||
XmxSetUniqid (win->id);
|
||||
XmxSetArg (XmNresizePolicy, XmRESIZE_GROW);
|
||||
XmxSetArg (XmNresizePolicy, (XtArgVal)XmRESIZE_GROW);
|
||||
win->audio_annotate_win = XmxMakeFormDialog
|
||||
(win->base, "NCSA Mosaic: Audio Annotate Window" );
|
||||
dialog_frame = XmxMakeFrame (win->audio_annotate_win, XmxShadowOut);
|
||||
@ -328,7 +328,7 @@ mo_status mo_post_audio_annotate_win (mo_window *win)
|
||||
XmATTACH_FORM, XmATTACH_FORM, NULL, NULL, NULL, NULL);
|
||||
|
||||
/* Main form. */
|
||||
XmxSetArg (XmNfractionBase, 2);
|
||||
XmxSetArg (XmNfractionBase, (XtArgVal)2);
|
||||
audio_annotate_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
yap_label = XmxMakeLabel
|
||||
@ -382,7 +382,7 @@ mo_status mo_post_audio_annotate_win (mo_window *win)
|
||||
XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
yap_label, NULL, win->audio_stop_button, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_NONE, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_1_mask_width 18
|
||||
#define busy_1_mask_height 18
|
||||
static unsigned char busy_1_mask_bits[] = {
|
||||
static char busy_1_mask_bits[] = {
|
||||
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xfe, 0xff, 0x01,
|
||||
0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01,
|
||||
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdc, 0x01, 0x7e, 0xf8, 0x01,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_2_mask_width 18
|
||||
#define busy_2_mask_height 18
|
||||
static unsigned char busy_2_mask_bits[] = {
|
||||
static char busy_2_mask_bits[] = {
|
||||
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xfe, 0xf7, 0x01,
|
||||
0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01,
|
||||
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xfb, 0x01,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_3_mask_width 18
|
||||
#define busy_3_mask_height 18
|
||||
static unsigned char busy_3_mask_bits[] = {
|
||||
static char busy_3_mask_bits[] = {
|
||||
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf7, 0x01,
|
||||
0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01,
|
||||
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_4_mask_width 18
|
||||
#define busy_4_mask_height 18
|
||||
static unsigned char busy_4_mask_bits[] = {
|
||||
static char busy_4_mask_bits[] = {
|
||||
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf0, 0x01,
|
||||
0x3e, 0xf3, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01,
|
||||
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_5_mask_width 18
|
||||
#define busy_5_mask_height 18
|
||||
static unsigned char busy_5_mask_bits[] = {
|
||||
static char busy_5_mask_bits[] = {
|
||||
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf0, 0x01,
|
||||
0x3e, 0xf0, 0x01, 0x7e, 0xfb, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01,
|
||||
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_6_mask_width 18
|
||||
#define busy_6_mask_height 18
|
||||
static unsigned char busy_6_mask_bits[] = {
|
||||
static char busy_6_mask_bits[] = {
|
||||
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf0, 0x01,
|
||||
0x3e, 0xf0, 0x01, 0x7e, 0xf8, 0x01, 0x7e, 0xf8, 0x01, 0xee, 0xdc, 0x01,
|
||||
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_7_mask_width 24
|
||||
#define busy_7_mask_height 24
|
||||
static unsigned char busy_7_mask_bits[] = {
|
||||
static char busy_7_mask_bits[] = {
|
||||
0x00, 0x1e, 0x00, 0x00, 0x3f, 0x00, 0x80, 0x7f, 0x00, 0xc0, 0xff, 0x00,
|
||||
0xe0, 0xef, 0x01, 0xf0, 0xdc, 0x03, 0x78, 0xb8, 0x07, 0x3c, 0x38, 0x0f,
|
||||
0x1e, 0x38, 0x1e, 0x1f, 0x38, 0x3c, 0x7f, 0xf8, 0xff, 0xff, 0xf7, 0xff,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_8_mask_width 18
|
||||
#define busy_8_mask_height 18
|
||||
static unsigned char busy_8_mask_bits[] = {
|
||||
static char busy_8_mask_bits[] = {
|
||||
0x07, 0x80, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03,
|
||||
0x7f, 0xf8, 0x03, 0xff, 0xfc, 0x03, 0xe7, 0x9f, 0x03, 0x87, 0x87, 0x03,
|
||||
0x07, 0xff, 0x03, 0x07, 0xff, 0x03, 0x87, 0xff, 0x03, 0xe7, 0xff, 0x03,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define busy_9_mask_width 24
|
||||
#define busy_9_mask_height 24
|
||||
static unsigned char busy_9_mask_bits[] = {
|
||||
static char busy_9_mask_bits[] = {
|
||||
0x00, 0x3c, 0x00, 0x00, 0x7e, 0x00, 0x00, 0xff, 0x00, 0x80, 0xff, 0x01,
|
||||
0xc0, 0xdf, 0x03, 0xe0, 0x9d, 0x07, 0xf0, 0xdc, 0x0f, 0x78, 0xfc, 0x1f,
|
||||
0x3c, 0xfc, 0x3f, 0xde, 0xff, 0x7f, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define iconify_width 64
|
||||
#define iconify_height 64
|
||||
static unsigned char iconify_bits[] = {
|
||||
static char iconify_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define iconify_mask_width 64
|
||||
#define iconify_mask_height 64
|
||||
static unsigned char iconify_mask_bits[] = {
|
||||
static char iconify_mask_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x83, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xff,
|
||||
|
@ -371,14 +371,14 @@ char *s, *end, *tmp_end, *w_id;
|
||||
win->pretty = 1;
|
||||
mo_set_fancy_selections_toggle (win);
|
||||
HTMLClearSelection (win->scrolled_win);
|
||||
XmxSetArg (WbNfancySelections, True);
|
||||
XmxSetArg (WbNfancySelections, (XtArgVal)True);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
}
|
||||
else if(!strcmp(on_off, MCCI_OFF)){
|
||||
win->pretty = 0;
|
||||
mo_set_fancy_selections_toggle (win);
|
||||
HTMLClearSelection (win->scrolled_win);
|
||||
XmxSetArg (WbNfancySelections, False);
|
||||
XmxSetArg (WbNfancySelections, (XtArgVal)False);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
}
|
||||
else{
|
||||
@ -440,7 +440,7 @@ char *s, *end, *tmp_end, *w_id;
|
||||
XmxRSetToggleState(win->menubar, mo_delay_image_loads,
|
||||
(win->delay_image_loads?XmxSet : XmxNotSet));
|
||||
/*
|
||||
XmxSetArg (WbNdelayImageLoads, True);
|
||||
XmxSetArg (WbNdelayImageLoads, (XtArgVal)True);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
*/
|
||||
XmxRSetSensitive (win->menubar, mo_expand_images_current,
|
||||
@ -451,7 +451,7 @@ char *s, *end, *tmp_end, *w_id;
|
||||
XmxRSetToggleState(win->menubar, mo_delay_image_loads,
|
||||
(win->delay_image_loads?XmxSet : XmxNotSet));
|
||||
/*
|
||||
XmxSetArg (WbNdelayImageLoads, False);
|
||||
XmxSetArg (WbNdelayImageLoads, (XtArgVal)False);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
*/
|
||||
XmxRSetSensitive (win->menubar, mo_expand_images_current,
|
||||
|
@ -714,7 +714,7 @@ Widget buttonBox;
|
||||
cciForm = XmxMakeForm(dialogFrame);
|
||||
|
||||
label = XmxMakeLabel(cciForm, "CCI Port Address: " );
|
||||
XmxSetArg(XmNcolumns, 25);
|
||||
XmxSetArg(XmNcolumns, (XtArgVal)25);
|
||||
win->cci_win_text= XmxMakeText (cciForm);
|
||||
XmxAddCallbackToText (win->cci_win_text,
|
||||
MoCCIWindowCallBack, 0);
|
||||
|
@ -157,7 +157,7 @@ union wait stat_loc;
|
||||
int stat_loc;
|
||||
#endif
|
||||
|
||||
#ifdef SVR4
|
||||
#if defined SVR4 || defined _UNICOS
|
||||
pid = waitpid((pid_t)(-1),NULL,WNOHANG);
|
||||
signal(SIGCHLD, (void (*)())ChildTerminated); /*Solaris resets the signal on a catch*/
|
||||
#else
|
||||
|
@ -486,8 +486,8 @@ char fileBuf[2048],*fileBoxFileName;
|
||||
save_win_cb, 0);
|
||||
|
||||
/* This makes a frame as a work area for the dialog box. */
|
||||
XmxSetArg (XmNmarginWidth, 5);
|
||||
XmxSetArg (XmNmarginHeight, 5);
|
||||
XmxSetArg (XmNmarginWidth, (XtArgVal)5);
|
||||
XmxSetArg (XmNmarginHeight, (XtArgVal)5);
|
||||
frame = XmxMakeFrame (win->save_win, XmxShadowEtchedIn);
|
||||
workarea = XmxMakeForm (frame);
|
||||
|
||||
@ -551,7 +551,7 @@ char fileBuf[2048],*fileBoxFileName;
|
||||
win->format_optmenu = XmxRMakeOptionMenu (workarea, "",
|
||||
format_optmenu_cb,
|
||||
format_opts);
|
||||
XmxSetArg(XmNtopOffset,7);
|
||||
XmxSetArg(XmNtopOffset,(XtArgVal)7);
|
||||
XmxSetConstraints
|
||||
(format_label, XmATTACH_FORM, XmATTACH_NONE, XmATTACH_FORM,
|
||||
XmATTACH_NONE, NULL, NULL, NULL, NULL);
|
||||
@ -560,7 +560,7 @@ char fileBuf[2048],*fileBoxFileName;
|
||||
XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, NULL, NULL, format_label, NULL);
|
||||
/*swp*/
|
||||
XmxSetArg(XmNtopOffset, 15);
|
||||
XmxSetArg(XmNtopOffset, (XtArgVal)15);
|
||||
XmxSetConstraints
|
||||
(win->print_header_toggle_save, XmATTACH_WIDGET, XmATTACH_NONE,
|
||||
XmATTACH_FORM, XmATTACH_NONE,
|
||||
@ -708,7 +708,7 @@ char fileBuf[2048],*fileBoxFileName;
|
||||
XmxSetUniqid (win->id);
|
||||
if (!win->savebinary_win) {
|
||||
XmxSetArg(XmNdialogStyle,
|
||||
XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
(XtArgVal)XmDIALOG_FULL_APPLICATION_MODAL);
|
||||
win->savebinary_win =
|
||||
XmxMakeFileSBDialog(win->base,
|
||||
"NCSA Mosaic: Save Binary File To Local Disk" ,
|
||||
@ -896,7 +896,7 @@ mo_status mo_post_open_window (mo_window *win)
|
||||
open_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
label = XmxMakeLabel (open_form, "URL To Open: " );
|
||||
XmxSetArg (XmNwidth, 310);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)310);
|
||||
win->open_text = XmxMakeTextField (open_form);
|
||||
XmxAddCallbackToText (win->open_text, open_win_cb, 0);
|
||||
|
||||
@ -917,7 +917,7 @@ mo_status mo_post_open_window (mo_window *win)
|
||||
XmxSetConstraints
|
||||
(win->open_text, XmATTACH_FORM, XmATTACH_NONE, XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, NULL, NULL, label, NULL);
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -1258,15 +1258,15 @@ int i;
|
||||
mail_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
to_label = XmxMakeLabel (mail_form, "Mail To: " );
|
||||
XmxSetArg (XmNwidth, 335);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)335);
|
||||
win->mail_to_text = XmxMakeTextField (mail_form);
|
||||
|
||||
subj_label = XmxMakeLabel (mail_form, "Subject: " );
|
||||
win->mail_subj_text = XmxMakeTextField (mail_form);
|
||||
|
||||
{
|
||||
XmxSetArg (XmNmarginWidth, 5);
|
||||
XmxSetArg (XmNmarginHeight, 5);
|
||||
XmxSetArg (XmNmarginWidth, (XtArgVal)5);
|
||||
XmxSetArg (XmNmarginHeight, (XtArgVal)5);
|
||||
frame = XmxMakeFrame (mail_form, XmxShadowEtchedIn);
|
||||
workarea = XmxMakeForm (frame);
|
||||
|
||||
@ -1332,7 +1332,7 @@ int i;
|
||||
mail_fmtmenu_cb,
|
||||
format_opts);
|
||||
|
||||
XmxSetArg(XmNtopOffset,7);
|
||||
XmxSetArg(XmNtopOffset,(XtArgVal)7);
|
||||
XmxSetConstraints
|
||||
(format_label, XmATTACH_FORM, XmATTACH_NONE, XmATTACH_FORM,
|
||||
XmATTACH_NONE, NULL, NULL, NULL, NULL);
|
||||
@ -1341,7 +1341,7 @@ int i;
|
||||
XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, NULL, NULL, format_label, NULL);
|
||||
/*swp*/
|
||||
XmxSetArg(XmNtopOffset, 15);
|
||||
XmxSetArg(XmNtopOffset, (XtArgVal)15);
|
||||
XmxSetConstraints
|
||||
(win->print_header_toggle_mail, XmATTACH_WIDGET, XmATTACH_NONE,
|
||||
XmATTACH_FORM, XmATTACH_NONE,
|
||||
@ -1407,7 +1407,7 @@ int i;
|
||||
(frame2, XmATTACH_WIDGET, XmATTACH_NONE, XmATTACH_FORM, XmATTACH_FORM,
|
||||
frame, NULL, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -1664,7 +1664,7 @@ int i;
|
||||
print_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
print_label = XmxMakeLabel (print_form, "Print Command: " );
|
||||
XmxSetArg (XmNwidth, 270);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)270);
|
||||
if (get_pref_boolean(eKIOSK) && get_pref_boolean(eKIOSKPRINT)) {
|
||||
XmxSetArg (XmNsensitive, False);
|
||||
}
|
||||
@ -1672,8 +1672,8 @@ int i;
|
||||
XmxTextSetString (win->print_text, get_pref(ePRINT_COMMAND));
|
||||
|
||||
{
|
||||
XmxSetArg (XmNmarginWidth, 5);
|
||||
XmxSetArg (XmNmarginHeight, 5);
|
||||
XmxSetArg (XmNmarginWidth, (XtArgVal)5);
|
||||
XmxSetArg (XmNmarginHeight, (XtArgVal)5);
|
||||
frame = XmxMakeFrame (print_form, XmxShadowEtchedIn);
|
||||
workarea = XmxMakeForm (frame);
|
||||
|
||||
@ -1745,7 +1745,7 @@ int i;
|
||||
print_fmtmenu_cb,
|
||||
format_opts);
|
||||
|
||||
XmxSetArg(XmNtopOffset, 7);
|
||||
XmxSetArg(XmNtopOffset, (XtArgVal)7);
|
||||
XmxSetConstraints
|
||||
(format_label, XmATTACH_FORM, XmATTACH_NONE, XmATTACH_FORM,
|
||||
XmATTACH_NONE, NULL, NULL, NULL, NULL);
|
||||
@ -1754,7 +1754,7 @@ int i;
|
||||
XmATTACH_NONE,
|
||||
XmATTACH_FORM, NULL, NULL, NULL, NULL);
|
||||
/*swp*/
|
||||
XmxSetArg(XmNtopOffset, 15);
|
||||
XmxSetArg(XmNtopOffset, (XtArgVal)15);
|
||||
XmxSetConstraints
|
||||
(win->print_header_toggle_print, XmATTACH_WIDGET, XmATTACH_NONE,
|
||||
XmATTACH_FORM, XmATTACH_NONE,
|
||||
@ -1793,7 +1793,7 @@ int i;
|
||||
(frame, XmATTACH_WIDGET, XmATTACH_NONE, XmATTACH_FORM, XmATTACH_FORM,
|
||||
win->print_text, NULL, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -2072,7 +2072,7 @@ mo_status mo_post_source_search_window(mo_window *win) {
|
||||
XmxMakeLabel(search_form,
|
||||
"Find string in Source View: " );
|
||||
XmxSetArg(XmNcolumns,
|
||||
25);
|
||||
(XtArgVal)25);
|
||||
win->src_search_win_text=
|
||||
XmxMakeText(search_form);
|
||||
XmxAddCallbackToText(win->src_search_win_text,
|
||||
@ -2294,19 +2294,19 @@ mo_status mo_post_source_window(mo_window *win) {
|
||||
|
||||
/* Info window: text widget, not editable. */
|
||||
XmxSetArg(XmNscrolledWindowMarginWidth,
|
||||
10);
|
||||
(XtArgVal)10);
|
||||
XmxSetArg(XmNscrolledWindowMarginHeight,
|
||||
10);
|
||||
(XtArgVal)10);
|
||||
XmxSetArg(XmNcursorPositionVisible,
|
||||
True);
|
||||
(XtArgVal)True);
|
||||
XmxSetArg(XmNeditable,
|
||||
False);
|
||||
(XtArgVal)False);
|
||||
XmxSetArg(XmNeditMode,
|
||||
XmMULTI_LINE_EDIT);
|
||||
(XtArgVal)XmMULTI_LINE_EDIT);
|
||||
XmxSetArg(XmNrows,
|
||||
15);
|
||||
(XtArgVal)15);
|
||||
XmxSetArg(XmNcolumns,
|
||||
80);
|
||||
(XtArgVal)80);
|
||||
win->source_text=
|
||||
XmxMakeScrolledText(source_form);
|
||||
|
||||
@ -2390,7 +2390,7 @@ mo_status mo_post_source_window(mo_window *win) {
|
||||
NULL,
|
||||
NULL);
|
||||
XmxSetArg(XmNtopOffset,
|
||||
10);
|
||||
(XtArgVal)10);
|
||||
XmxSetConstraints(dialog_sep,
|
||||
XmATTACH_NONE,
|
||||
XmATTACH_WIDGET,
|
||||
@ -2580,7 +2580,7 @@ mo_status mo_post_search_window (mo_window *win)
|
||||
search_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
label = XmxMakeLabel (search_form, "Find string in document: " );
|
||||
XmxSetArg (XmNcolumns, 25);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)25);
|
||||
win->search_win_text = XmxMakeText (search_form);
|
||||
XmxAddCallbackToText (win->search_win_text, search_win_cb, 0);
|
||||
|
||||
|
@ -224,7 +224,7 @@ mo_status mo_post_links_window(mo_window *win)
|
||||
|
||||
XtManageChild(scroller);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep,
|
||||
XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM, XmATTACH_FORM,
|
||||
|
@ -267,7 +267,7 @@ mo_status mo_post_ftpmkdir_window (mo_window *win)
|
||||
form = XmxMakeForm (dialog_frame);
|
||||
|
||||
label = XmxMakeLabel (form, "Directory to Create: ");
|
||||
XmxSetArg (XmNwidth, 310);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)310);
|
||||
win->ftpmkdir_text = XmxMakeTextField (form);
|
||||
XmxAddCallbackToText (win->ftpmkdir_text, ftpmkdir_win_cb, 0);
|
||||
|
||||
@ -286,7 +286,7 @@ mo_status mo_post_ftpmkdir_window (mo_window *win)
|
||||
XmxSetConstraints
|
||||
(win->ftpmkdir_text, XmATTACH_FORM, XmATTACH_NONE, XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, NULL, NULL, label, NULL);
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
|
@ -192,260 +192,260 @@ mo_status mo_set_fonts (mo_window *win, int size)
|
||||
switch (size)
|
||||
{
|
||||
case mo_large_fonts:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-times-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-times-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-times-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-times-bold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-times-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-times-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-times-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-times-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-times-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-times-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-times-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-times-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-times-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 0;
|
||||
break;
|
||||
case mo_regular_fonts:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-times-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-times-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-times-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-times-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-times-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-times-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-times-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-times-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-times-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-times-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-times-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-times-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 0;
|
||||
break;
|
||||
case mo_small_fonts:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-times-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-times-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-times-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-times-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-times-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-times-bold-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-times-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-times-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-times-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-times-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-times-bold-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-times-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-times-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 0;
|
||||
break;
|
||||
case mo_large_helvetica:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-helvetica-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-helvetica-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-helvetica-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-helvetica-bold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-helvetica-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-helvetica-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-helvetica-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-helvetica-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-helvetica-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 1;
|
||||
break;
|
||||
case mo_regular_helvetica:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-helvetica-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-helvetica-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-helvetica-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-helvetica-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-o-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 1;
|
||||
break;
|
||||
case mo_small_helvetica:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-helvetica-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-helvetica-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-helvetica-bold-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-helvetica-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-helvetica-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-helvetica-bold-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-helvetica-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 1;
|
||||
break;
|
||||
case mo_large_newcentury:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-new century schoolbook-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-new century schoolbook-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-new century schoolbook-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-new century schoolbook-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 2;
|
||||
break;
|
||||
case mo_small_newcentury:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-new century schoolbook-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-new century schoolbook-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-new century schoolbook-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-new century schoolbook-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 2;
|
||||
break;
|
||||
case mo_regular_newcentury:
|
||||
XmxSetArg (XtNfont, wrapFont("-adobe-new century schoolbook-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-adobe-new century schoolbook-medium-i-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-adobe-new century schoolbook-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-adobe-new century schoolbook-medium-i-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-adobe-new century schoolbook-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-i-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-adobe-new century schoolbook-bold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-i-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-adobe-courier-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-adobe-new century schoolbook-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 2;
|
||||
break;
|
||||
case mo_large_lucidabright:
|
||||
XmxSetArg (XtNfont, wrapFont("-b&h-lucidabright-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-b&h-lucidabright-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-b&h-lucidabright-demibold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-b&h-lucidabright-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-b&h-lucidabright-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-25-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-i-normal-*-20-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 3;
|
||||
break;
|
||||
case mo_regular_lucidabright:
|
||||
XmxSetArg (XtNfont, wrapFont("-b&h-lucidabright-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-b&h-lucidabright-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-b&h-lucidabright-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-b&h-lucidabright-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-24-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-i-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 3;
|
||||
break;
|
||||
case mo_small_lucidabright:
|
||||
XmxSetArg (XtNfont, wrapFont("-b&h-lucidabright-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, wrapFont("-b&h-lucidabright-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-11-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, wrapFont("-b&h-lucidabright-demibold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, wrapFont("-b&h-lucidabright-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, wrapFont("-b&h-lucidabright-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (XtNfont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNitalicFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNboldFont, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixedboldFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNfixeditalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader1Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-18-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader2Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-17-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader3Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader4Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader5Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-11-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNheader6Font, (XtArgVal)wrapFont("-b&h-lucidabright-demibold-r-normal-*-10-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNaddressFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-i-normal-*-14-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainboldFont, (XtArgVal)wrapFont("-b&h-lucidatypewriter-bold-r-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNplainitalicFont, (XtArgVal)wrapFont("-adobe-courier-medium-o-normal-*-12-*-*-*-*-*-*-*"));
|
||||
XmxSetArg (WbNsupSubFont, (XtArgVal)wrapFont("-b&h-lucidabright-medium-r-normal-*-8-*-*-*-*-*-*-*"));
|
||||
|
||||
XmxSetValues (win->scrolled_win);
|
||||
win->font_family = 3;
|
||||
@ -479,39 +479,39 @@ mo_status mo_set_underlines (mo_window *win, int choice)
|
||||
switch (choice)
|
||||
{
|
||||
case mo_default_underlines:
|
||||
XmxSetArg (WbNanchorUnderlines, win->underlines);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, win->visited_underlines);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, win->dashed_underlines);
|
||||
XmxSetArg (WbNanchorUnderlines, (XtArgVal)win->underlines);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, (XtArgVal)win->visited_underlines);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, (XtArgVal)win->dashed_underlines);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines,
|
||||
win->dashed_visited_underlines);
|
||||
(XtArgVal)win->dashed_visited_underlines);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
break;
|
||||
case mo_l1_underlines:
|
||||
XmxSetArg (WbNanchorUnderlines, 1);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, 1);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, True);
|
||||
XmxSetArg (WbNanchorUnderlines, (XtArgVal)1);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, (XtArgVal)1);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, (XtArgVal)True);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
break;
|
||||
case mo_l2_underlines:
|
||||
XmxSetArg (WbNanchorUnderlines, 1);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, 1);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNanchorUnderlines, (XtArgVal)1);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, (XtArgVal)1);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
break;
|
||||
case mo_l3_underlines:
|
||||
XmxSetArg (WbNanchorUnderlines, 2);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, 1);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNanchorUnderlines, (XtArgVal)2);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, (XtArgVal)1);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
break;
|
||||
case mo_no_underlines:
|
||||
XmxSetArg (WbNanchorUnderlines, 0);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, 0);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, False);
|
||||
XmxSetArg (WbNanchorUnderlines, (XtArgVal)0);
|
||||
XmxSetArg (WbNvisitedAnchorUnderlines, (XtArgVal)0);
|
||||
XmxSetArg (WbNdashedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetArg (WbNdashedVisitedAnchorUnderlines, (XtArgVal)False);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
break;
|
||||
}
|
||||
@ -857,7 +857,7 @@ XmxCallback (menubar_cb)
|
||||
case mo_delay_image_loads:
|
||||
win->delay_image_loads =
|
||||
(win->delay_image_loads ? 0 : 1);
|
||||
XmxSetArg (WbNdelayImageLoads, win->delay_image_loads ? True : False);
|
||||
XmxSetArg (WbNdelayImageLoads, (XtArgVal)(win->delay_image_loads ? True : False));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
XmxRSetSensitive (win->menubar, mo_expand_images_current,
|
||||
win->delay_image_loads ? XmxSensitive : XmxNotSensitive);
|
||||
@ -874,7 +874,7 @@ XmxCallback (menubar_cb)
|
||||
XmxSetArg (WbNdelayImageLoads, False);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
mo_refresh_window_text (win);
|
||||
XmxSetArg (WbNdelayImageLoads, win->delay_image_loads ? True : False);
|
||||
XmxSetArg (WbNdelayImageLoads, (XtArgVal)(win->delay_image_loads ? True : False));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
break;
|
||||
case mo_image_view_internal:
|
||||
|
@ -628,13 +628,13 @@ mo_status mo_post_generic_news_win(mo_window *win, int follow)
|
||||
news_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
|
||||
XmxSetArg(XmNalignment, XmALIGNMENT_END);
|
||||
XmxSetArg(XmNalignment, (XtArgVal)XmALIGNMENT_END);
|
||||
f_label = XmxMakeLabel (news_form, "From:" );
|
||||
|
||||
XmxSetArg(XmNalignment, XmALIGNMENT_END);
|
||||
XmxSetArg(XmNalignment, (XtArgVal)XmALIGNMENT_END);
|
||||
s_label = XmxMakeLabel (news_form, "Subject:" );
|
||||
|
||||
XmxSetArg(XmNalignment, XmALIGNMENT_END);
|
||||
XmxSetArg(XmNalignment, (XtArgVal)XmALIGNMENT_END);
|
||||
g_label = XmxMakeLabel (news_form, "Groups:" );
|
||||
|
||||
if(follow)
|
||||
@ -642,25 +642,25 @@ mo_status mo_post_generic_news_win(mo_window *win, int follow)
|
||||
else
|
||||
yap_label = XmxMakeLabel (news_form, "Post a UseNet News Article" );
|
||||
|
||||
XmxSetArg (XmNcolumns, 65);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)65);
|
||||
win->news_text_subj = XmxMakeText (news_form);
|
||||
|
||||
XmxSetArg (XmNcolumns, 65);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)65);
|
||||
win->news_text_group = XmxMakeText (news_form);
|
||||
|
||||
XmxSetArg (XmNcolumns, 65);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)65);
|
||||
XmxSetArg (XmNeditable, False);
|
||||
win->news_text_from = XmxMakeText (news_form);
|
||||
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, 10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, 10);
|
||||
XmxSetArg (XmNcursorPositionVisible, True);
|
||||
XmxSetArg (XmNeditable, True);
|
||||
XmxSetArg (XmNeditMode, XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, 30);
|
||||
XmxSetArg (XmNcolumns, 80);
|
||||
XmxSetArg (XmNwordWrap, True);
|
||||
XmxSetArg (XmNscrollHorizontal, False);
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, (XtArgVal)10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, (XtArgVal)10);
|
||||
XmxSetArg (XmNcursorPositionVisible, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditMode, (XtArgVal)XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, (XtArgVal)30);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)80);
|
||||
XmxSetArg (XmNwordWrap, (XtArgVal)True);
|
||||
XmxSetArg (XmNscrollHorizontal, (XtArgVal)False);
|
||||
win->news_text = XmxMakeScrolledText (news_form);
|
||||
|
||||
dialog_sep = XmxMakeHorizontalSeparator (news_form);
|
||||
@ -729,7 +729,7 @@ mo_status mo_post_generic_news_win(mo_window *win, int follow)
|
||||
XmATTACH_WIDGET, XmATTACH_WIDGET,XmATTACH_FORM, XmATTACH_FORM,
|
||||
win->news_text_group, dialog_sep, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep,
|
||||
XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM, XmATTACH_FORM,
|
||||
|
32
src/gui.c
32
src/gui.c
@ -3311,7 +3311,7 @@ void mo_sync_windows(mo_window *win, mo_window *parent)
|
||||
win->body_images ? XmxSet : XmxNotSet);
|
||||
|
||||
win->delay_image_loads = parent->delay_image_loads;
|
||||
XmxSetArg (WbNdelayImageLoads, win->delay_image_loads ? True : False);
|
||||
XmxSetArg (WbNdelayImageLoads, (XtArgVal)(win->delay_image_loads ? True : False));
|
||||
XmxSetValues (win->scrolled_win);
|
||||
XmxRSetSensitive (win->menubar, mo_expand_images_current,
|
||||
win->delay_image_loads ? XmxSensitive : XmxNotSensitive);
|
||||
@ -3561,11 +3561,11 @@ static mo_window *mo_make_window (Widget parent, mo_window *parentw)
|
||||
|
||||
sprintf(pre_title,"NCSA X Mosaic %s",MO_VERSION_STRING);
|
||||
sprintf(buf,"%s: ",pre_title);
|
||||
XmxSetArg (XmNtitle, (long)buf);
|
||||
XmxSetArg (XmNiconName, (long)"Mosaic");
|
||||
XmxSetArg (XmNtitle, (XtArgVal)buf);
|
||||
XmxSetArg (XmNiconName, (XtArgVal)"Mosaic");
|
||||
XmxSetArg (XmNallowShellResize, False);
|
||||
if (installed_colormap) {
|
||||
XmxSetArg(XmNcolormap,installed_cmap);
|
||||
XmxSetArg(XmNcolormap,(XtArgVal)installed_cmap);
|
||||
}
|
||||
base = XtCreatePopupShell ("shell", topLevelShellWidgetClass,
|
||||
toplevel, Xmx_wargs, Xmx_n);
|
||||
@ -3637,10 +3637,10 @@ static mo_window *mo_open_another_window_internal (mo_window *win)
|
||||
{
|
||||
char geom[20];
|
||||
sprintf (geom, "+%d+%d", x, y);
|
||||
XmxSetArg (XmNgeometry, (long)geom);
|
||||
XmxSetArg (XmNgeometry, (XtArgVal)geom);
|
||||
}
|
||||
XmxSetArg (XmNwidth, width);
|
||||
XmxSetArg (XmNheight, height);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)width);
|
||||
XmxSetArg (XmNheight, (XtArgVal)height);
|
||||
|
||||
newwin = mo_make_window (toplevel, win);
|
||||
mo_set_current_cached_win (newwin);
|
||||
@ -3870,20 +3870,20 @@ static XmxCallback (fire_er_up)
|
||||
if(!userSpecifiedGeometry) {
|
||||
/* then no -geometry was specified on the command line,
|
||||
so we just use the default values from the resources */
|
||||
XmxSetArg (XmNwidth, get_pref_int(eDEFAULT_WIDTH));
|
||||
XmxSetArg (XmNheight, get_pref_int(eDEFAULT_HEIGHT));
|
||||
XmxSetArg (XmNwidth, (XtArgVal)get_pref_int(eDEFAULT_WIDTH));
|
||||
XmxSetArg (XmNheight, (XtArgVal)get_pref_int(eDEFAULT_HEIGHT));
|
||||
}
|
||||
else {
|
||||
/* the they DID specify a -geometry, so we use that */
|
||||
XmxSetArg (XmNwidth, userWidth);
|
||||
XmxSetArg (XmNheight, userHeight);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)userWidth);
|
||||
XmxSetArg (XmNheight, (XtArgVal)userHeight);
|
||||
|
||||
XmxSetArg (XmNx, userX);
|
||||
XmxSetArg (XmNx, userY);
|
||||
XmxSetArg (XmNx, (XtArgVal)userX);
|
||||
XmxSetArg (XmNx, (XtArgVal)userY);
|
||||
}
|
||||
|
||||
if (get_pref_boolean(eINITIAL_WINDOW_ICONIC))
|
||||
XmxSetArg (XmNiconic, True);
|
||||
XmxSetArg (XmNiconic, (XtArgVal)True);
|
||||
|
||||
win = mo_open_window
|
||||
(toplevel, startup_document ? startup_document : init_document, NULL);
|
||||
@ -4168,8 +4168,8 @@ void mo_do_gui (int argc, char **argv)
|
||||
|
||||
/* Motif setup. */
|
||||
XmxStartup ();
|
||||
XmxSetArg (XmNwidth,1);
|
||||
XmxSetArg (XmNheight,1);
|
||||
XmxSetArg (XmNwidth,(XtArgVal)1);
|
||||
XmxSetArg (XmNheight,(XtArgVal)1);
|
||||
XmxSetArg (XmNmappedWhenManaged, False);
|
||||
/*
|
||||
* Awful expensive to open and close the display just to find
|
||||
|
@ -652,7 +652,7 @@ static mo_status mo_post_mailhist_win (mo_window *win)
|
||||
mailhist_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
to_label = XmxMakeLabel (mailhist_form, "Mail To:" );
|
||||
XmxSetArg (XmNwidth, 335);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)335);
|
||||
win->mailhist_to_text = XmxMakeTextField (mailhist_form);
|
||||
|
||||
subj_label = XmxMakeLabel (mailhist_form, "Subject:" );
|
||||
@ -685,7 +685,7 @@ static mo_status mo_post_mailhist_win (mo_window *win)
|
||||
XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, win->mailhist_to_text, NULL, subj_label, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -770,11 +770,11 @@ mo_status mo_post_history_win (mo_window *win)
|
||||
history_label = XmxMakeLabel (history_form, "Where you've been:" );
|
||||
|
||||
/* History list itself. */
|
||||
XmxSetArg (XmNresizable, False);
|
||||
XmxSetArg (XmNscrollBarDisplayPolicy, XmSTATIC);
|
||||
XmxSetArg (XmNlistSizePolicy, XmCONSTANT);
|
||||
XmxSetArg (XmNwidth, 380);
|
||||
XmxSetArg (XmNheight, 184);
|
||||
XmxSetArg (XmNresizable, (XtArgVal)False);
|
||||
XmxSetArg (XmNscrollBarDisplayPolicy, (XtArgVal)XmSTATIC);
|
||||
XmxSetArg (XmNlistSizePolicy, (XtArgVal)XmCONSTANT);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)380);
|
||||
XmxSetArg (XmNheight, (XtArgVal)184);
|
||||
win->history_list = XmxMakeScrolledList
|
||||
(history_form, history_list_cb, 0);
|
||||
XtAugmentTranslations (win->history_list, listTable);
|
||||
@ -801,7 +801,7 @@ mo_status mo_post_history_win (mo_window *win)
|
||||
(XtParent (win->history_list),
|
||||
XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM, XmATTACH_FORM,
|
||||
history_label, dialog_sep, NULL, NULL);
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep,
|
||||
XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM, XmATTACH_FORM,
|
||||
|
@ -759,7 +759,7 @@ static mo_status mo_create_ed_or_ins_hot_win (mo_window *win, int isInsert)
|
||||
eht_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
title_label = XmxMakeLabel (eht_form, "Entry Title:" );
|
||||
XmxSetArg (XmNwidth, 335);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)335);
|
||||
eht_info->title_text = XmxMakeTextField (eht_form);
|
||||
XmxAddCallbackToText (eht_info->title_text, edit_or_insert_hot_cb,
|
||||
isInsert*3);
|
||||
@ -767,7 +767,7 @@ static mo_status mo_create_ed_or_ins_hot_win (mo_window *win, int isInsert)
|
||||
eht_info->url_lab =
|
||||
url_label = XmxMakeLabel (eht_form, "URL:" );
|
||||
|
||||
XmxSetArg (XmNwidth, 335);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)335);
|
||||
eht_info->url_text =
|
||||
url_val = XmxMakeTextField(eht_form);
|
||||
|
||||
@ -828,7 +828,7 @@ static mo_status mo_create_ed_or_ins_hot_win (mo_window *win, int isInsert)
|
||||
(url_val, XmATTACH_WIDGET, XmATTACH_NONE, XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, title_label, NULL, url_label, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -1666,7 +1666,7 @@ static mo_status mo_post_mailhot_win (mo_window *win)
|
||||
mailhot_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
to_label = XmxMakeLabel (mailhot_form, "Mail To:" );
|
||||
XmxSetArg (XmNwidth, 335);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)335);
|
||||
win->mailhot_to_text = XmxMakeTextField (mailhot_form);
|
||||
|
||||
subj_label = XmxMakeLabel (mailhot_form, "Subject:" );
|
||||
@ -1699,7 +1699,7 @@ static mo_status mo_post_mailhot_win (mo_window *win)
|
||||
XmATTACH_NONE, XmATTACH_WIDGET,
|
||||
XmATTACH_FORM, win->mailhot_to_text, NULL, subj_label, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_WIDGET, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -1904,10 +1904,10 @@ static XmxCallback (hotlist_win_cb)
|
||||
(win->hotlist_win, "NCSA Mosaic: Load in Current hotlist" ,
|
||||
"Name of file to open" , load_hot_cb, 0);
|
||||
/* This makes a frame as a work area for the dialog box. */
|
||||
XmxSetArg (XmNmarginWidth, 5);
|
||||
XmxSetArg (XmNmarginHeight, 5);
|
||||
XmxSetArg (XmNmarginWidth, (XtArgVal)5);
|
||||
XmxSetArg (XmNmarginHeight, (XtArgVal)5);
|
||||
frame = XmxMakeFrame (win->load_hotlist_win, XmxShadowEtchedIn);
|
||||
XmxSetArg (XmNorientation, XmHORIZONTAL);
|
||||
XmxSetArg (XmNorientation, (XtArgVal)XmHORIZONTAL);
|
||||
workarea = XmxMakeRadioBox (frame);
|
||||
tb = XtVaCreateManagedWidget("toggle", xmToggleButtonGadgetClass,
|
||||
workarea,
|
||||
@ -1991,8 +1991,8 @@ mo_status mo_post_hotlist_win (mo_window *win)
|
||||
|
||||
/* Create it for the first time. */
|
||||
XmxSetUniqid (win->id);
|
||||
XmxSetArg (XmNwidth, 475);
|
||||
XmxSetArg (XmNheight, 342);
|
||||
XmxSetArg (XmNwidth, (XtArgVal)475);
|
||||
XmxSetArg (XmNheight, (XtArgVal)342);
|
||||
win->hotlist_win = XmxMakeFormDialog
|
||||
(win->base, "NCSA Mosaic: Hotlist View" );
|
||||
dialog_frame = XmxMakeFrame (win->hotlist_win, XmxShadowOut);
|
||||
@ -2024,9 +2024,9 @@ mo_status mo_post_hotlist_win (mo_window *win)
|
||||
XmxSetValues(buttons2_form);
|
||||
|
||||
/* Hotlist list itself. */
|
||||
XmxSetArg (XmNresizable, False);
|
||||
XmxSetArg (XmNscrollBarDisplayPolicy, XmSTATIC);
|
||||
XmxSetArg (XmNlistSizePolicy, XmCONSTANT);
|
||||
XmxSetArg (XmNresizable, (XtArgVal)False);
|
||||
XmxSetArg (XmNscrollBarDisplayPolicy, (XtArgVal)XmSTATIC);
|
||||
XmxSetArg (XmNlistSizePolicy, (XtArgVal)XmCONSTANT);
|
||||
win->hotlist_list =
|
||||
XmxMakeScrolledList (hotlist_form, hotlist_list_cb, 0);
|
||||
XtAugmentTranslations (win->hotlist_list, listTable);
|
||||
|
@ -92,7 +92,7 @@ static ImageInfo *gopher_unknown = NULL;
|
||||
/* for selective image loading */
|
||||
#define blank_width 8
|
||||
#define blank_height 8
|
||||
static unsigned char blank_bits[] = {
|
||||
static char blank_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, };
|
||||
static ImageInfo *blank = NULL;
|
||||
|
||||
@ -940,8 +940,8 @@ mo_status mo_free_image_data (void *ptr)
|
||||
|
||||
mo_status mo_register_image_resolution_function (mo_window *win)
|
||||
{
|
||||
XmxSetArg (WbNresolveImageFunction, (long)ImageResolve);
|
||||
XmxSetArg (WbNresolveDelayedImage, (long)DelayedImageResolve);
|
||||
XmxSetArg (WbNresolveImageFunction, (XtArgVal)ImageResolve);
|
||||
XmxSetArg (WbNresolveDelayedImage, (XtArgVal)DelayedImageResolve);
|
||||
XmxSetValues (win->scrolled_win);
|
||||
return mo_succeed;
|
||||
}
|
||||
|
48
src/mailto.c
48
src/mailto.c
@ -304,22 +304,22 @@ mo_status mo_post_mailto_win (char *to_address, char *subject)
|
||||
/* Main form. */
|
||||
mailto_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, 10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, 10);
|
||||
XmxSetArg (XmNcursorPositionVisible, True);
|
||||
XmxSetArg (XmNeditable, True);
|
||||
XmxSetArg (XmNeditMode, XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, 15);
|
||||
XmxSetArg (XmNcolumns, 80);
|
||||
/* XmxSetArg (XmNwordWrap, True); */
|
||||
/* XmxSetArg (XmNscrollHorizontal, False); */
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, (XtArgVal)10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, (XtArgVal)10);
|
||||
XmxSetArg (XmNcursorPositionVisible, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditMode, (XtArgVal)XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, (XtArgVal)15);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)80);
|
||||
/* XmxSetArg (XmNwordWrap, (XtArgVal)True); */
|
||||
/* XmxSetArg (XmNscrollHorizontal, (XtArgVal)False); */
|
||||
win->mailto_text = XmxMakeScrolledText (mailto_form);
|
||||
|
||||
dialog_sep = XmxMakeHorizontalSeparator (mailto_form);
|
||||
|
||||
/* create from, to, and subject widgets */
|
||||
fromlabel = XmxMakeLabel(mailto_form, "From:");
|
||||
XmxSetArg (XmNeditable, False); /* for now, at least */
|
||||
XmxSetArg (XmNeditable, (XtArgVal)False); /* for now, at least */
|
||||
win->mailto_fromfield = XmxMakeTextField(mailto_form);
|
||||
|
||||
tolabel = XmxMakeLabel(mailto_form, "To:");
|
||||
@ -371,7 +371,7 @@ mo_status mo_post_mailto_win (char *to_address, char *subject)
|
||||
XmATTACH_FORM, XmATTACH_FORM,
|
||||
win->mailto_subfield, dialog_sep, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
@ -522,30 +522,30 @@ mo_status mo_post_mailto_form_win (char *to_address, char *subject)
|
||||
/* Main form. */
|
||||
mailto_form_form = XmxMakeForm (dialog_frame);
|
||||
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, 10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, 10);
|
||||
XmxSetArg (XmNcursorPositionVisible, True);
|
||||
XmxSetArg (XmNeditable, False);
|
||||
XmxSetArg (XmNeditMode, XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, 15);
|
||||
XmxSetArg (XmNcolumns, 80);
|
||||
XmxSetArg (XmNwordWrap, True);
|
||||
XmxSetArg (XmNscrollHorizontal, False);
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, (XtArgVal)10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, (XtArgVal)10);
|
||||
XmxSetArg (XmNcursorPositionVisible, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)False);
|
||||
XmxSetArg (XmNeditMode, (XtArgVal)XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, (XtArgVal)15);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)80);
|
||||
XmxSetArg (XmNwordWrap, (XtArgVal)True);
|
||||
XmxSetArg (XmNscrollHorizontal, (XtArgVal)False);
|
||||
win->mailto_form_text = XmxMakeScrolledText (mailto_form_form);
|
||||
|
||||
dialog_sep = XmxMakeHorizontalSeparator (mailto_form_form);
|
||||
|
||||
/* create from, to, and subject widgets */
|
||||
fromlabel = XmxMakeLabel(mailto_form_form, "From:");
|
||||
XmxSetArg (XmNeditable, False);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)False);
|
||||
win->mailto_form_fromfield = XmxMakeTextField(mailto_form_form);
|
||||
|
||||
tolabel = XmxMakeLabel(mailto_form_form, "To:");
|
||||
XmxSetArg (XmNeditable, False);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)False);
|
||||
win->mailto_form_tofield = XmxMakeTextField(mailto_form_form);
|
||||
|
||||
sublabel = XmxMakeLabel(mailto_form_form, "Subject:");
|
||||
XmxSetArg (XmNeditable, False);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)False);
|
||||
win->mailto_form_subfield = XmxMakeTextField(mailto_form_form);
|
||||
|
||||
/* constraints for FROM */
|
||||
@ -591,7 +591,7 @@ mo_status mo_post_mailto_form_win (char *to_address, char *subject)
|
||||
XmATTACH_FORM, XmATTACH_FORM,
|
||||
win->mailto_form_subfield, dialog_sep, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
|
@ -1757,8 +1757,8 @@ mo_status mo_post_upload_window (mo_window *win) {
|
||||
0);
|
||||
|
||||
/* This makes a frame as a work area for the dialog box. */
|
||||
XmxSetArg(XmNmarginWidth,5);
|
||||
XmxSetArg(XmNmarginHeight,5);
|
||||
XmxSetArg(XmNmarginWidth,(XtArgVal)5);
|
||||
XmxSetArg(XmNmarginHeight,(XtArgVal)5);
|
||||
frame=XmxMakeFrame(win->upload_win,
|
||||
XmxShadowEtchedIn);
|
||||
workarea=XmxMakeForm(frame);
|
||||
|
20
src/whine.c
20
src/whine.c
@ -128,15 +128,15 @@ mo_status mo_post_whine_win (mo_window *win)
|
||||
|
||||
yap_label = XmxMakeLabel (whine_form, yap_msg);
|
||||
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, 10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, 10);
|
||||
XmxSetArg (XmNcursorPositionVisible, True);
|
||||
XmxSetArg (XmNeditable, True);
|
||||
XmxSetArg (XmNeditMode, XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, 15);
|
||||
XmxSetArg (XmNcolumns, 80);
|
||||
/* XmxSetArg (XmNwordWrap, True); */
|
||||
/* XmxSetArg (XmNscrollHorizontal, False); */
|
||||
XmxSetArg (XmNscrolledWindowMarginWidth, (XtArgVal)10);
|
||||
XmxSetArg (XmNscrolledWindowMarginHeight, (XtArgVal)10);
|
||||
XmxSetArg (XmNcursorPositionVisible, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditable, (XtArgVal)True);
|
||||
XmxSetArg (XmNeditMode, (XtArgVal)XmMULTI_LINE_EDIT);
|
||||
XmxSetArg (XmNrows, (XtArgVal)15);
|
||||
XmxSetArg (XmNcolumns, (XtArgVal)80);
|
||||
/* XmxSetArg (XmNwordWrap, (XtArgVal)True); */
|
||||
/* XmxSetArg (XmNscrollHorizontal, (XtArgVal)False); */
|
||||
win->whine_text = XmxMakeScrolledText (whine_form);
|
||||
|
||||
dialog_sep = XmxMakeHorizontalSeparator (whine_form);
|
||||
@ -156,7 +156,7 @@ mo_status mo_post_whine_win (mo_window *win)
|
||||
XmATTACH_FORM, XmATTACH_FORM,
|
||||
yap_label, dialog_sep, NULL, NULL);
|
||||
|
||||
XmxSetArg (XmNtopOffset, 10);
|
||||
XmxSetArg (XmNtopOffset, (XtArgVal)10);
|
||||
XmxSetConstraints
|
||||
(dialog_sep, XmATTACH_NONE, XmATTACH_WIDGET, XmATTACH_FORM,
|
||||
XmATTACH_FORM,
|
||||
|
Loading…
Reference in New Issue
Block a user