home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / microcrn / issue_51.arc / DISPLAY.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-08-06  |  793 b   |  23 lines

  1. /* DISPLAY.H : declarations for functions to support graphic screen
  2.    display of voice patterns.
  3.    Bruce Eckel, Revolution2 Real-Time Consulting.
  4. */
  5. #include <graphics.h>  /* The Turbo C BGI header file */
  6.  
  7. /* "printf"-like function for printing messages while
  8. using the BGI in graphics mode. */
  9. void gprintf(char * format, ...);
  10.  
  11. /* Display the graphics "viewport" values (for debugging) */
  12. void display_viewsettings(struct viewporttype view);
  13.  
  14. /* Types of scaling for display_series: */
  15. typedef enum { quarter, half, full, twice, quad } scale_factor;
  16.  
  17. /* Display a series of numbers as dots on the screen: */
  18. void display_series(unsigned * series, int series_size,
  19.     int offset,
  20.     scale_factor vertical_scale_factor,
  21.     scale_factor horizontal_scale_factor,
  22.     int color);
  23.