Category : C Source Code
Archive   : UCW110.ZIP
Filename : UC_WIN.H

 
Output of file : UC_WIN.H contained in archive : UCW110.ZIP
/************************************************************************
* uc_win.h *
* *
* This is the Unicorn Windows header file. It defines the window *
* structure and must be included whenever a program uses any of *
* the windowing functions. Also defined is the border type *
* structure which is used by the border control functions. *
* *
* *
* Copyright (c) 1987 by *
* David A. Miller *
* Unicorn Software *
* *
************************************************************************/



typedef struct
{
int b_hlch; /* Horizontal line character for border */
int b_vlch; /* Vertical line character for border */
int b_ulch; /* Upper left corner character */
int b_llch; /* Lower left corner character */
int b_urch; /* Upper right corner character */
int b_lrch; /* Lower rignt corner character */
int b_att; /* Attribute for the border */
int w_att; /* Window attribute */
int w_row; /* Upper left corner border row */
int w_col; /* Upper left corner border column */
int w_height; /* Window height */
int w_width; /* Window width */
int w_crow; /* Window cursor row location */
int w_ccol; /* Window cursor col location */
int w_popup; /* 0 for normal // 1 for popup window */
int w_page; /* Window video page location */
unsigned *w_crt; /* Location of saved window background */
char *title; /* Pointer to window title string */
int t_row; /* Title row */
int t_col; /* Title column */
int t_att; /* Title attribute */
char *user1; /* User pointer #1 */
char *user2; /* User pointer #2 */
char *user3; /* User pointer #3 */

} WINDOW;




typedef struct
{
int hlch; /* character for horizontal line */
int vlch; /* character for vertical line */
int ulch; /* character for upper left corner */
int urch; /* character for upper right corner */
int llch; /* character for lower left corner */
int lrch; /* character for lower right corner */
} BORDER ;




  3 Responses to “Category : C Source Code
Archive   : UCW110.ZIP
Filename : UC_WIN.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/