home *** CD-ROM | disk | FTP | other *** search
- /**************************************************************************/
- /* */
- /* SCRN2.H */
- /* Constants, Prototypes for Parameter Screen */
- /* */
- /**************************************************************************/
-
- #define H_COL MAGENTA
- #define HTEXT_COL LIGHTCYAN
- #define BACKGROUND_COL BLACK
- // Text background color.
- #define STRIPE_COL BROWN
- #define TEXT_COL CYAN
- #define TEXT_COL2 YELLOW
- #define TEXT_COL3 WHITE
- #define TEXT_COL_FINAL (LIGHTMAGENTA | BLINK)
-
- #define ANSWERLEN 40
- #define FNAMELEN 40
- #define DEFAULTSTRF "LIST"
- #define DEFAULTSTRT "5"
- #define DEFAULTTIME 300
- #define MINTIME 10
- #define SEC_PER_MIN 60
- #define DEFAULTWORDS 1000
- #define MINWORDS 5
- #define DEFAULTFREQ 3.0
- #define MINFREQ .01
- #define MAXFREQ 600
-
- #define FF 1000.0
- #define FFUP 0.5
-
- #define TOP_MESSAGE " - Set Up - "
- #define STRIPE " "
-
-
-
- #define PRINT_STRIPE textbackground( STRIPE_COL ); cprintf( STRIPE )
-
- /***************************************************************************/
-
- struct Parameters
- {
- char filename [FNAMELEN];
- unsigned maxtime;
- long maxwords;
- float frequency;
- enum { OFF, ON } cdnscr;
- };
-
- /**********************************prototypes*******************************/
- struct Parameters param_screen( void );
- struct Parameters set_defaults( void );
-