xref: /illumos-gate/usr/src/lib/libeti/menu/common/global.c (revision c65ebfc7045424bd04a6c7719a27b0ad3399ad54)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*	Copyright (c) 1988 AT&T	*/
23 /*	  All Rights Reserved  	*/
24 
25 
26 /*
27  * Copyright (c) 1997, by Sun Mircrosystems, Inc.
28  * All rights reserved.
29  */
30 
31 #pragma	ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.6	*/
32 
33 /*LINTLIBRARY*/
34 
35 #include <sys/types.h>
36 #include "menu.h"
37 
38 MENU _Default_Menu = {
39 	16,				/* height */
40 	1,				/* width */
41 	16,				/* rows */
42 	1,				/* cols */
43 	16,				/* frows */
44 	1,				/* fcols */
45 	0,				/* namelen */
46 	0,				/* desclen */
47 	1,				/* marklen */
48 	1,				/* itemlen */
49 	(char *) NULL,			/* pattern */
50 	0,				/* pindex */
51 	(WINDOW *) NULL,		/* win */
52 	(WINDOW *) NULL,		/* sub */
53 	(WINDOW *) NULL,		/* userwin */
54 	(WINDOW *) NULL,		/* usersub */
55 	(ITEM **) NULL,			/* items */
56 	0,				/* nitems */
57 	(ITEM *) NULL,			/* curitem */
58 	0,				/* toprow */
59 	' ',				/* pad */
60 	A_STANDOUT,			/* fore */
61 	A_NORMAL,			/* back */
62 	A_UNDERLINE,			/* grey */
63 	(PTF_void) NULL,		/* menuinit */
64 	(PTF_void) NULL,		/* menuterm */
65 	(PTF_void) NULL,		/* iteminit */
66 	(PTF_void) NULL,		/* itemterm */
67 	(char *) NULL,			/* userptr */
68 	"-",				/* mark */
69 	O_ONEVALUE|O_SHOWDESC|
70 	O_ROWMAJOR|O_IGNORECASE|
71 	O_SHOWMATCH|O_NONCYCLIC,	/* opt */
72 	0				/* status */
73 };
74 
75 ITEM _Default_Item = {
76 	(char *) NULL,			/* name.str */
77 	0,				/* name.length */
78 	(char *) NULL,			/* description.str */
79 	0,				/* description.length */
80 	0,				/* index */
81 	0,				/* imenu */
82 	FALSE,				/* value */
83 	(char *) NULL,			/* userptr */
84 	O_SELECTABLE,			/* opt */
85 	0,				/* status */
86 	0,				/* y */
87 	0,				/* x */
88 	0,				/* up */
89 	0,				/* down */
90 	0,				/* left */
91 	0				/* right */
92 };
93