home *** CD-ROM | disk | FTP | other *** search
- /*-----------------------Frame-----------------------------------*/
- /*DESCRIPTION: Displays a frame of specified colors, dimensions */
- /* and text on the console */
- /* */
- /*INPUT: type FrameDataType defined in funcs.h */
- /* .X x coordinate of upper left corner of frame */
- /* .Y y coordinate of upper left corner of frame */
- /* .L length of frame */
- /* .W width of frame */
- /* .F foreground color */
- /* .B background color */
- /* .BorderType 0 = ══ border */
- /* 1 = ── border */
- /* 2 = ═ top, │ sides */
- /* 3 = ─ top, ║ sides */
- /* 4 = plain border */
- /* .txt[X] pointer to char. X range 0-24 */
- /* .clear - 0 clear .txt after displaying */
- /* 1 leave .txt unchanged */
- /* 2 initialize .txt array (no display) */
- /* 0 or 1 + 10 -- don't disp a shadow around the frame*/
- /*USES: strspc */
- /*---------------------------------------------------------------*/
-
- Frame ( FrameDataType *Framedat )