/* **********************************************************************
 * *                                                                    *
 * *  OVR Menu Header File                                              *
 * *                                                                    *
 * **********************************************************************
 * File: iris/xuif/ovr.h
 *
 *                        COPYRIGHT (c) 2005  BY
 *          SIGMET INCORPORATED, WESTFORD MASSACHUSETTS, U.S.A.
 * 
 * THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
 * ONLY  IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE
 * INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE  OR  ANY OTHER
 * COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
 * OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
 * TRANSFERED.
 */
#ifndef OVR_H
#define OVR_H

#ifdef OVR_ALLOCATE
#define EXTERN
#else
#define EXTERN extern
#endif

EXTERN int ovr_first_time;
/* Local variables    */
/*The default width and height are set after first XtManagedChild call*/
EXTERN SINT2 iovr_defl_width_c;   
EXTERN SINT2 iovr_defl_height_c;

/* Widget & callbacks */
EXTERN Widget ovr_mainbar;
EXTERN Widget ovr_filebtn, ovr_filepdw;
EXTERN Widget ovr_menubtn, ovr_menupdw;
EXTERN Widget ovr_cmdsbtn, ovr_cmdspdw;
EXTERN Widget ovr_helpbtn, ovr_helppdw;
EXTERN Widget ovr_printpdw;
void ovr_file_cbf( Widget wgt, int idx_a, XmPushButtonCallbackStruct* cbd );
void ovr_menu_cbf( Widget wgt, int idx_a, XmPushButtonCallbackStruct* cbd );
void ovr_cmds_cbf( Widget wgt, int idx_a, XmPushButtonCallbackStruct* cbd );

EXTERN Widget ovr_overlab;
EXTERN Widget ovr_overlst;
void   ovr_update_rqst(void);
void   ovr_overlist( char *sptr_a, UINT4 ilen_a );
void   ovr_overlst_cbf( Widget wgt, char* tag, XmListCallbackStruct* cbd );

void ovr_postit( Widget wgtbase_a, XtPointer wgtpop_a, XEvent *evt_a, Boolean *lCont );
EXTERN Widget ovr_siteshl;
void ovr_sitebtn_cbf( Widget wgt_a, void *idx_a, void *cbd_a );


#undef EXTERN
#endif
