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

  1. /*------------------------- USERMENU.H -------------------------*/
  2. /*                                */
  3. /*  This file contains definitions used for the menu 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.         /*  Include Files  */
  16. #include "USERLIST.H"
  17. #include "USERWIND.H"
  18. #include "SHARMENU.H"            /* Pick up shared definitions */
  19.  
  20.  
  21.         /*  Type Definitions  */
  22.  
  23. typedef    unsigned char MENU_HEAD;
  24.  
  25.  
  26.         /* Routine Definitions */
  27.  
  28. extern  int DefineMenu(MENU_HEAD * *new_menu,BYTE row,BYTE col,BYTE height,BYTE width,BYTE border,char hotexec,long bkcol,long txtcol,long highbkcol,long highcol,char *title);
  29. extern  int DoFileMenu(char *filename);
  30. extern  int AddToMenu(MENU_HEAD *menu_ptr,char *menu_text,char hot_key,int ret_val,int (*menu_action)());
  31. extern  int DeleteMenu(MENU_HEAD *menu_ptr);
  32. extern  int DisplayMenu(MENU_HEAD *new_menu);
  33. extern  int AutoDisplayMenu(MENU_HEAD *new_menu);
  34.  
  35.  
  36.