home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
s
/
stex2-18.zip
/
SeeTeX
/
Xtex
/
xtex.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-25
|
3KB
|
133 lines
/*
* Copyright 1989 Dirk Grunwald
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of Dirk Grunwald or M.I.T.
* not be used in advertising or publicity pertaining to distribution of
* the software without specific, written prior permission. Dirk
* Grunwald and M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*
* DIRK GRUNWALD AND M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS, IN NO EVENT SHALL M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT
* OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
* OR PERFORMANCE OF THIS SOFTWARE.
*
* Author:
* Dr. Dirk Grunwald
* Dept. of Computer Science
* Campus Box 430
* Univ. of Colorado, Boulder
* Boulder, CO 80309
*
* grunwald@colorado.edu
*
*/
/* Std system and C header files */
#ifndef _tex2h_
#define _tex2h_
#include <stdio.h>
#include <sys/types.h>
#include <sys/dir.h>
#include <sys/stat.h>
/* X include files */
#include <X11/Xlib.h>
/* X toolkit header files */
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
/* Widget header files. */
#include <X11/Xaw/AsciiText.h>
#include <X11/Xaw/Box.h>
#include <X11/Xaw/Command.h>
#include <X11/Xaw/Viewport.h>
#include <X11/Xaw/List.h>
extern Widget TopLevelWidget;
extern char *ProgName;
typedef struct {
Bool incorrectlyInstalled;
float programVersion;
float resourcesVersion;
char *printProgram;
char *fontPath;
int userMag;
char *tfmPath;
char *xFontPath;
char *makeFont;
Bool automakeFont;
float dpiHoriz;
float dpiVert;
Bool autoSize;
int largeMag;
int smallMag;
int pageMaxWd;
int pageMaxHt;
float paperWidth;
float paperHeight;
float leftOffset;
float topOffset;
char *helpText;
Bool useButtons;
Bool updateNames;
char *pushOnStart;
Bool divertByPush;
Bool debug;
Bool showPostScript;
Bool useGhostScript;
Bool useNEWS;
Bool useDPS;
} xtexResourceStruct;
extern xtexResourceStruct xtexResources;
#define Debug xtexResources.debug
#ifdef __STDC__
extern void DialogMessage(char *, int);
extern char * TeXConfirmString(Widget, char *, char *);
#else
extern void DialogMessage();
extern char * TeXConfirmString();
#endif
#endif