awips2/nativeLib/rary.ohd.ifp/inc/Mods_optionsOpMenuStruct.h
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

40 lines
1.4 KiB
C

/****************************************************************/
/* */
/* FILE: Mods_optionsOpMenuStruct.h */
/* */
/* */
/* */
/* Coded by: Tom Adams (TEA) */
/* NWS * Office of Hydrology * HRL */
/* Date: 11/09/94 */
/* Modified: 11/10/94 */
/* */
/* NOTE: This structure and data held by this structure */
/* are created & destroyed dynamically, depending */
/* on whether or not the selected Mod has an */
/* Option field; there is a one-to-one mapping */
/* between keywords & values, although the value */
/* may be and usually is the Keyword itself. Con- */
/* sequently, a value of -9999 indicates that the */
/* Keyword is the value... */
/* */
/****************************************************************/
#ifndef Mods_optionsOpMenuStruct_h
#define Mods_optionsOpMenuStruct_h
/*--------------------------------------------------------------*/
/* Structure to hold data for the Options OptionMenu */
/*--------------------------------------------------------------*/
typedef struct
{
int num; /* Number of Items */
char **keyword; /* Array of NWSRFS User's Manual Keywords */
int *value; /* Array of values if the option is different */
/* from the Keyword */
pullDownMenu_struct *menuData; /* Pointer to a structure - OptionMenu menu */
/* items... */
} OptionsOpMenuStruct_t, *OptionsOpMenuStruct_p;
#endif