home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / xview / genial / include / scale.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-14  |  411 b   |  19 lines

  1. /*
  2.  * scale.h -- definitions for lables on a graph with "clean" divisions
  3.  *
  4.  */
  5.  
  6. #define LSIZE 8 /* max # of characters in a label */
  7.  
  8. struct graph_lab {
  9.   int val; /* the value at this position */
  10.   char lab[LSIZE]; /* the string to display as the label */
  11.   int p_off; /* the pixel offset into the graph */
  12. };
  13.  
  14. extern int build_glab();
  15.  
  16. /* definitions for xscale.c */
  17. #define VERTICAL 1
  18. #define HORIZONTAL 2
  19.