home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_GEN
/
FACETV.ZIP
/
X_DELAY.MEN
< prev
next >
Wrap
Text File
|
1994-01-05
|
4KB
|
181 lines
/************************************************************************
**
** @(#)x_delay.men 01/05/1993 Chris Ahlstrom
**
** C/C++ compatible. MenuField arrays for FACE_TV interface.
**
** Created using the command "RC2MENUF windelay".
**
*************************************************************************/
#ifndef x_delay_men /* { x_delay_men */
#define x_delay_men
#include "tv_menu.h" /* FACE_TV interface structures */
/************************************************************************
** Handy alignment and bogus defines
*************************************************************************/
#define MEN_TOP 3 /* handy alignment row */
#define MEN_LEFT 2 /* left handy alignment column */
#define MEN_LEFT2 1 /* relative location of data boxes */
#define MEN_RIGHT 26 /* right handy alignment column */
#define MEN_RIGHT2 1 /* right handy alignment column */
#define x_delay_999 NULL /* for non-button groups (numerics) */
/************************************************************************
** MenuField array definition
**
** This array describes the onscreen appearance and behavior of one
** of the Turbo Vision application's dialog boxes.
**
*************************************************************************/
MenuField delayMenu[] =
{
{
{
"Delays for",
{MEN_LEFT+1, MEN_TOP+1 }
},
{
" ",
{ MEN_LEFT2+11, 0 },
String,
"%-32s",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"Delay before interval 1",
{MEN_LEFT+4, MEN_TOP+3 }
},
{
" ",
{ MEN_LEFT2+26, 0 },
Integer,
"%4d",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"Delay for each stimulus",
{MEN_LEFT+4, MEN_TOP+4 }
},
{
" ",
{ MEN_LEFT2+26, 0 },
Integer,
"%4d",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"Delay between intervals",
{MEN_LEFT+4, MEN_TOP+5 }
},
{
" ",
{ MEN_LEFT2+26, 0 },
Integer,
"%4d",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"Duration of feedback",
{MEN_LEFT+4, MEN_TOP+7 }
},
{
" ",
{ MEN_LEFT2+26, 0 },
Integer,
"%4d",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"An extra delay",
{MEN_LEFT+4, MEN_TOP+8 }
},
{
" ",
{ MEN_LEFT2+26, 0 },
Integer,
"%4d",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"Scale factor (%)",
{MEN_LEFT+4, MEN_TOP+9 }
},
{
" ",
{ MEN_LEFT2+27, 0 },
Integer,
"%3d",
{ 0.0, 99999.0 },
x_delay_999
}
},
{
{
"Base ID number",
{MEN_LEFT+4, MEN_TOP+11 }
},
{
" ",
{ MEN_LEFT2+28, 0 },
Integer,
"%2d",
{ 0.0, 99999.0 },
x_delay_999
}
}
};
/************************************************************************
** MainBox structure definition
**
** This structure describes the onscreen appearance of a dialog box,
** and links it to the array of fields defined above.
** This structure must be passed to TBox::doDialog() or to the class
** constructor for the Turbo-Vision-derived DialogBox class.
**
*************************************************************************/
MainBox delayWindow = /* the whole picture! */
{
{ /* box */
"List of Delay Timers", /* title */
"Specify milliseconds for all times", /* string */
{ 1, 1 }, /* location */
{ 52, 20 }, /* size */
{ 2, 2 } /* labelloc */
},
sizeof(delayMenu)/sizeof(MenuField), /* number of fields */
delayMenu /* the array of fields */
};
#endif /* } x_delay_men */