summaryrefslogtreecommitdiff
path: root/dviware/umddvi/previewers/texx2/dvipage.h
blob: 643ed0a2a35a8d2e612657a9fc84b2564c489dcb (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
52
53
54
55
56
57
58
59
60
61
62
63
64
#include <X11/copyright.h>

#ifndef _DviPage_h
#define _DviPage_h

/****************************************************************
*
* DviPage widget
*
****************************************************************/

/* Resources:

Name		     Class		RepType		Default Value
----		     -----		-------		-------------
background	     Background		Pixel		XtDefaultBackground
border		     BorderColor	Pixel		XtDefaultForeground
borderWidth	     BorderWidth	Dimension	1
destroyCallback     Callback		Pointer		NULL
height		     Height		Dimension	0
mappedWhenManaged   MappedWhenManaged	Boolean		True
sensitive	     Sensitive		Boolean		True
width		     Width		Dimension	0
x		     Position		Position	0
y		     Position		Position	0

*/

#include <X11/Xmu.h>

/* define any special resource names here that are not in <X11/StringDefs.h> */

#define XtNbackingStore		"backingStore"
		/* when server should use backing store */

#define XtNpage		"page"
#define XtNpai		"pai"
#define XtNuserMag	"userMag"
#define XtNdpi		"dpi"
#define XtNdviFonts	"dviFonts"
#define XtNxFonts	"xFonts"
#define XtNpaperWidth	"paperWidth"
#define XtNpaperHeight	"paperHeight"

#define XtCBackingStore	"BackingStore"
#define XtCPage		"Page"
#define XtCPai		"Pai"
#define XtCUserMag	"UserMag"
#define XtCDpi		"Dpi"
#define XtCDviFonts	"DviFonts"
#define XtCXFonts	"XFonts"
#define XtCPaperWidth	"PaperWidth"
#define XtCPaperHeight	"PaperHeight"

/* declare specific DviPageWidget class and instance datatypes */

typedef struct _DviPageClassRec*	DviPageWidgetClass;
typedef struct _DviPageRec*		DviPageWidget;

/* declare the class constant */

extern WidgetClass dviPageWidgetClass;

#endif  _DviPage_h