xref: /illumos-gate/usr/src/lib/libeti/menu/common/global.c (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
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 /*LINTLIBRARY*/
32 
33 #include <sys/types.h>
34 #include "menu.h"
35 
36 MENU _Default_Menu = {
37 	16,				/* height */
38 	1,				/* width */
39 	16,				/* rows */
40 	1,				/* cols */
41 	16,				/* frows */
42 	1,				/* fcols */
43 	0,				/* namelen */
44 	0,				/* desclen */
45 	1,				/* marklen */
46 	1,				/* itemlen */
47 	(char *) NULL,			/* pattern */
48 	0,				/* pindex */
49 	(WINDOW *) NULL,		/* win */
50 	(WINDOW *) NULL,		/* sub */
51 	(WINDOW *) NULL,		/* userwin */
52 	(WINDOW *) NULL,		/* usersub */
53 	(ITEM **) NULL,			/* items */
54 	0,				/* nitems */
55 	(ITEM *) NULL,			/* curitem */
56 	0,				/* toprow */
57 	' ',				/* pad */
58 	A_STANDOUT,			/* fore */
59 	A_NORMAL,			/* back */
60 	A_UNDERLINE,			/* grey */
61 	(PTF_void) NULL,		/* menuinit */
62 	(PTF_void) NULL,		/* menuterm */
63 	(PTF_void) NULL,		/* iteminit */
64 	(PTF_void) NULL,		/* itemterm */
65 	(char *) NULL,			/* userptr */
66 	"-",				/* mark */
67 	O_ONEVALUE|O_SHOWDESC|
68 	O_ROWMAJOR|O_IGNORECASE|
69 	O_SHOWMATCH|O_NONCYCLIC,	/* opt */
70 	0				/* status */
71 };
72 
73 ITEM _Default_Item = {
74 	(char *) NULL,			/* name.str */
75 	0,				/* name.length */
76 	(char *) NULL,			/* description.str */
77 	0,				/* description.length */
78 	0,				/* index */
79 	0,				/* imenu */
80 	FALSE,				/* value */
81 	(char *) NULL,			/* userptr */
82 	O_SELECTABLE,			/* opt */
83 	0,				/* status */
84 	0,				/* y */
85 	0,				/* x */
86 	0,				/* up */
87 	0,				/* down */
88 	0,				/* left */
89 	0				/* right */
90 };
91