awips2/ncep/gov.noaa.nws.ncep.ui.nsharp/nsharp_c/xwvid4.c
Steve Harris 9f8cb727a5 12.4.1-10 baseline
Former-commit-id: bf53d06834caa780226121334ac1bcf0534c3f16
2012-05-01 18:06:13 -05:00

38 lines
1.9 KiB
C

/***************************************************************/
/* SHARP-95 */
/* Advanced Interactive Sounding Analysis Program */
/* */
/* DOS Video Graphics Routines (Part #4) */
/* These routines handle sub-screen windows and option boxes. */
/* */
/* John A. Hart */
/* National Severe Storms Forecast Center */
/* Kansas City, Missouri */
/* -------------------------------------------------- */
/* List of Routines in this module: */
/* */
/* RESET_OPTIONS */
/* */
/***************************************************************/
#define VIDEO
#include "gui.h"
#include "sharp95.h"
/*=============================================================================*/
void reset_options ( short mode, short pagenum )
/*************************************************************/
/* RESET_OPTIONS */
/* John Hart NSSFC KCMO */
/* */
/* Asks the user if they want to reload original sounding, */
/* or just clear screen. */
/*************************************************************/
{
redraw_graph( mode );
define_parcel( sndgp->lplvals.flag, sndgp->lplvals.pres );
if ( mode == 1 ) trace_parcel(sndgp->lplvals.pres, sndgp->lplvals.temp, sndgp->lplvals.dwpt);
show_page( pagenum );
return;
}