PageRenderTime 143ms CodeModel.GetById 136ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/devices/xditview/Menu.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 46 lines | 14 code | 8 blank | 24 comment | 0 complexity | d3bac7385e29170e8427250f4417e20e MD5 | raw file
 1/*
 2 * $XConsortium: Menu.h,v 1.2 89/07/21 14:22:10 jim Exp $
 3 */
 4
 5#ifndef _XtMenu_h
 6#define _XtMenu_h
 7
 8/***********************************************************************
 9 *
10 * Menu Widget
11 *
12 ***********************************************************************/
13
14/* Parameters:
15
16 Name		     Class		RepType		Default Value
17 ----		     -----		-------		-------------
18 background	     Background		pixel		White
19 border		     BorderColor	pixel		Black
20 borderWidth	     BorderWidth	int		1
21 height		     Height		int		120
22 mappedWhenManaged   MappedWhenManaged	Boolean		True
23 reverseVideo	     ReverseVideo	Boolean		False
24 width		     Width		int		120
25 x		     Position		int		0
26 y		     Position		int		0
27
28*/
29
30#define XtNmenuEntries		"menuEntries"
31#define XtNhorizontalPadding	"horizontalPadding"
32#define XtNverticalPadding	"verticalPadding"
33#define XtNselection		"Selection"
34
35#define XtCMenuEntries		"MenuEntries"
36#define XtCPadding		"Padding"
37#define XtCSelection		"Selection"
38
39typedef struct _MenuRec *MenuWidget;  /* completely defined in MenuPrivate.h */
40typedef struct _MenuClassRec *MenuWidgetClass;    /* completely defined in MenuPrivate.h */
41
42extern WidgetClass menuWidgetClass;
43
44extern Widget	XawMenuCreate ();
45#endif /* _XtMenu_h */
46/* DON'T ADD STUFF AFTER THIS #endif */