Former-commit-id:7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly7fa9dbd5fb
[formerly4bfbdad17d
] [formerly9f8cb727a5
] [formerly8485b90ff8
[formerly9f8cb727a5
[formerly bf53d06834caa780226121334ac1bcf0534c3f16]]]] Former-commit-id:8485b90ff8
Former-commit-id:40aa780b3d
[formerly33a67cdd82
] [formerly 73930fb29d0c1e91204e76e6ebfdbe757414f319 [formerlya28d70b5c5
]] Former-commit-id: a16a1b4dd44fc344ee709abbe262aeed58a8339b [formerlye5543a0e86
] Former-commit-id:0c25458510
42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
|
|
/************************************************************************
|
|
* pgcmn.h *
|
|
* This header file contains structures and globals common to product *
|
|
* generation. *
|
|
* *
|
|
** *
|
|
* Log: *
|
|
* S. Law/GSC 02/00 created *
|
|
* S. Law/GSC 04/00 moved MAXTBLNAME from nmap_pgsigw.c *
|
|
* R. Curtis/EAI 05/00 changed MAXNOPT from 20 to 30 *
|
|
* E. Safford/GSC 12/00 move group table structures here *
|
|
* M. Li/GSC 12/00 added color to group table structure *
|
|
* S. Jacobs/NCEP 2/01 Changed MAXNOPT from 30 to 50 *
|
|
* H. Zeng/EAI 03/01 removed group type stuff *
|
|
***********************************************************************/
|
|
#ifndef PGCMN_H
|
|
#define PGCMN_H
|
|
|
|
|
|
/*
|
|
* option menu structures and definitions
|
|
*/
|
|
|
|
#define MAXTBLNAME 80 /* max size for any name from table */
|
|
#define MAXNOPT 50 /* max number of option menu items */
|
|
|
|
struct optMenuStrc {
|
|
int current;
|
|
Widget form;
|
|
Widget label;
|
|
Widget menu;
|
|
Widget pb[MAXNOPT];
|
|
};
|
|
|
|
void pgutls_setOptMenu ( char curr_label[],
|
|
char labels[][MAXTBLNAME],
|
|
int nlabels,
|
|
struct optMenuStrc *omstrc );
|
|
|
|
|
|
#endif
|