home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / mint / mw2 / proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-03  |  2.0 KB  |  55 lines

  1. #if defined(__STDC__) || defined(__cplusplus)
  2. # define _P(s) s
  3. #else
  4. # define _P(s) ()
  5. #endif
  6.  
  7.  
  8. /* mw.c */
  9. char *locate _P((char *name));
  10. void startup _P((void));
  11. void finish _P((void));
  12. void put_str _P((char *s));
  13. int get_pipe _P((char *shell, int *pfd, int *ppid));
  14. void main _P((int argc, char *argv[]));
  15. int s_dial _P((int tree, int action));
  16. void set_menu_string _P((char *newstr, int object));
  17. int size_dial _P((int *pxsiz, int *pysiz));
  18. int xatoi _P((char *s));
  19. void do_editkeys _P((void));
  20. int check_ram _P((void));
  21. char *wkstr _P((long v));
  22. long plus_some_minutes _P((long t));
  23. char *dotime _P((long t));
  24. long untime _P((char *s));
  25. int do_alarm _P((void));
  26.  
  27. /* mwsubr.c */
  28. char *getmem _P((long size));
  29. int w_open _P((char *name, int xpos, int ypos, int xsiz, int ysiz, int sliders, int titles, FNT *usefont));
  30. void w_closei _P((struct wi_str *wp));
  31. void w_close _P((struct wi_str *wp));
  32. int w_resize _P((struct wi_str *wp1, int xsiz, int ysiz, int sliders, int titles, int chfont));
  33. void w_rename _P((struct wi_str *wp, char *name));
  34. void w_redraw _P((struct wi_str *wp, int logic, int xx, int yy, int ww, int hh));
  35. void w_update _P((struct wi_str *wp, int logic, int xx, int yy, int ww, int hh));
  36. void w_move _P((struct wi_str *wp, int xx, int yy, int ww, int hh));
  37. void w_top _P((struct wi_str *wp));
  38. void w_bottom _P((void));
  39. void w_hide _P((void));
  40. void w_shrink _P((struct wi_str *wp));
  41. void w_full _P((struct wi_str *wp));
  42. void w_arrow _P((struct wi_str *wp, int arrow));
  43. void w_slide _P((struct wi_str *wp, int hor, int val));
  44. void sethslide _P((struct wi_str *wp));
  45. void setvslide _P((struct wi_str *wp));
  46. void w_flash _P((struct wi_str *wp, int state));
  47. void w_output _P((struct wi_str *wp, unsigned char *ptr, int charcount));
  48. void lineerase _P((struct wi_str *wp, int first, int last));
  49. void scrollup _P((struct wi_str *wp, int first, int nlines, int amount));
  50. void scrolldn _P((struct wi_str *wp, int first, int nlines, int amount));
  51.  
  52. void loadfont _P((char *name));
  53.  
  54. #undef _P
  55.