summaryrefslogtreecommitdiffstats
path: root/src/devices/xditview/Dvi.h
blob: bf97374d0275e602a77c8586332f14fac38f9023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* $XConsortium: Dvi.h,v 1.4 89/07/21 14:22:06 jim Exp $
*/

#ifndef _XtDvi_h
#define _XtDvi_h

/***********************************************************************
 *
 * Dvi Widget
 *
 ***********************************************************************/

/* Parameters:

 Name		     Class		RepType		Default Value
 ----		     -----		-------		-------------
 background	     Background		pixel		White
 foreground	     Foreground		Pixel		Black
 fontMap	     FontMap		char *		...
 pageNumber	     PageNumber		int		1
*/

#define XtNfontMap	(String)"fontMap"
#define XtNpageNumber	(String)"pageNumber"
#define XtNlastPageNumber   (String)"lastPageNumber"
#define XtNnoPolyText	(String)"noPolyText"
#define XtNseek		(String)"seek"
#define XtNresolution	(String)"resolution"

#define XtCFontMap	(String)"FontMap"
#define XtCPageNumber	(String)"PageNumber"
#define XtCLastPageNumber   (String)"LastPageNumber"
#define XtCNoPolyText	(String)"NoPolyText"
#define XtCSeek		(String)"Seek"
#define XtCResolution	(String)"Resolution"

typedef struct _DviRec *DviWidget;  /* completely defined in DviP.h */
typedef struct _DviClassRec *DviWidgetClass;    /* completely defined in DviP.h */

extern WidgetClass dviWidgetClass;

void DviSaveToFile(Widget, FILE *);

#endif /* _XtDvi_h */
/* DON'T ADD STUFF AFTER THIS #endif */