home *** CD-ROM | disk | FTP | other *** search
/ Graphics 16,000 / graphics-16000.iso / msdos / fractal / fdesi313 / fdes13s / fdesmenu.h < prev    next >
Text File  |  1990-01-15  |  835b  |  22 lines

  1.  
  2.  
  3. typedef struct {
  4.     int selections;        /* number of selections */
  5.     char *item[16];        /* 16 strings that represent selections */
  6.     } popmenu;
  7.  
  8. #define ITEM_HEIGHT 20        /* Item height in pixels */
  9. #define CHAR_WIDTH 8        /* Item width per character in pixels */
  10.  
  11. int popup(int x, int y, popmenu *menu, int foreground, int background);
  12. int putmsg(int x, int y, char *str, int colorbk, int colorfo); /* display a pop-up message */
  13. void clrmsg(void);
  14. char *trn_directory(void);         /* returns NULL if no files */
  15. int gscanf(int x, int y, char *prompt, int maxlength, char *format, ...);
  16. int putmsg_d(int x, int y, char *str, int colorbk, int colorfo);
  17.  
  18. void box_new(int *x1, int *y1, int *x2, int *y2);
  19. void zoom_in(void);
  20. void zoom_out(void);
  21. extern float area_scaled;               /* area scale factor from zooming */
  22.