home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / VISIONS.ZIP / USERFORM.H < prev    next >
Text File  |  1990-04-03  |  2KB  |  36 lines

  1. /*------------------------- USERFORM.H -------------------------*/
  2. /*                                */
  3. /*  This file contains definitions used for the form library    */
  4. /*  that are needed by the user of the library.            */
  5. /*                                */
  6. /*         Copyright 1990 Dan Vogel & David Bernazzani        */
  7. /*                                */
  8. /*                                */
  9. /*        Revision History                */
  10. /*                                */
  11. /*  03/05/90   DCV    Release.                */
  12. /*                                */
  13. /*--------------------------------------------------------------*/
  14.  
  15.  
  16.         /*  Include Files  */
  17.  
  18. #include "SHARFORM.H"            /* Pick up shared definitions */
  19.  
  20.  
  21.         /*  Type Definitions  */
  22.  
  23. typedef unsigned char FORM_HEAD;    /* Form Header */
  24. typedef unsigned char FORM_FIELD;    /* Form prompt/entry field pair*/
  25. typedef unsigned char FORM_TEXT;    /* Form prompt or entry field descr.*/
  26.  
  27.  
  28.         /* Routine Definitions */
  29.  
  30. extern  int DefineForm(FORM_HEAD * *new_form,BYTE row,BYTE col,BYTE height,BYTE width,BYTE border,long bkcol,long txtcol,char *title);
  31. extern  int AddToForm(FORM_HEAD *form_ptr,int (*form_valid)(),FORM_FIELD * *field_ptr);
  32. extern  int AddToPrompt(FORM_FIELD *field_ptr,BYTE row,BYTE col,BYTE length,long bkcol,long txtcol,long highbkcol,long highcol,char *str_txt);
  33. extern  int AddToText(FORM_FIELD *field_ptr,BYTE row,BYTE col,BYTE length,long bkcol,long txtcol,long highbkcol,long highcol,char *str_txt);
  34. extern  int DeleteForm(FORM_HEAD *new_form);
  35. extern  int FormEntry(FORM_HEAD *new_form);
  36.