summaryrefslogtreecommitdiff
path: root/Dvi.h
blob: fda78fbb7a8814793c4f472107f0cf44c7a84279 (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
47
48
49
50
51
/*
* $XConsortium: Dvi.h,v 1.5 91/07/25 21:33:53 keith Exp $
*/
/* $XFree86: xc/programs/xditview/Dvi.h,v 1.3 2000/12/04 21:01:01 dawes 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	"fontMap"
#define XtNpageNumber	"pageNumber"
#define XtNlastPageNumber   "lastPageNumber"
#define XtNnoPolyText	"noPolyText"
#define XtNseek		"seek"
#define XtNscreenResolution "screenResolution"
#define XtNpageWidth	"pageWidth"
#define XtNpageHeight	"pageHeight"
#define XtNsizeScale	"sizeScale"

#define XtCFontMap	"FontMap"
#define XtCPageNumber	"PageNumber"
#define XtCLastPageNumber   "LastPageNumber"
#define XtCNoPolyText	"NoPolyText"
#define XtCSeek		"Seek"
#define XtCScreenResolution "ScreenResolution"
#define XtCPageWidth	"PageWidth"
#define XtCPageHeight	"PageHeight"
#define XtCSizeScale	"SizeScale"

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

extern WidgetClass dviWidgetClass;

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