home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk373.lzh / Multiplot / source / mplot_src / src.zoo / struct.h < prev    next >
C/C++ Source or Header  |  1990-08-02  |  982b  |  58 lines

  1. /* struct.h */
  2. #ifndef FFP_H
  3. #include "ffp.h"
  4. #endif
  5.  
  6. struct PlotRegion {
  7.    FFP XMin, XMax, YMin, YMax;
  8. };
  9.  
  10. struct TextBox {
  11.    char String[80];
  12.    short x,y,x1,y1,x2,y2;
  13.    struct TextBox *NextText;
  14. };
  15.  
  16. struct Plot {
  17.    struct Plot *NextPlot;
  18.    short NPts;
  19.    short Color;
  20.    short Lines;
  21.    short PointSize;
  22.    short PointType;
  23.    short PlotType;
  24.    short Enabled;
  25.    short Continued;
  26.    struct PlotRegion *Reg;
  27.    struct TextBox *Legend;
  28.    FFP *x, *y, *e;
  29.    short *xp, *yp, *ep;
  30. };
  31.  
  32. struct Selection {
  33.    struct Plot *SelectedPlot;
  34.    struct TextBox *SelectedBox;
  35.    struct Selection *NextSelection;
  36. };
  37.  
  38. struct Tics {
  39.    short NX, NY;
  40.    short *xp, *yp;
  41.    FFP *x, *y;
  42. };
  43.  
  44. struct Pict  {
  45.    short NPlt;
  46.    short Grid;
  47.    short ErrBar;
  48.    short ShowErr;
  49.    short RMargin;
  50.    short XRegionLock, YRegionLock;
  51.    short Axes;
  52.    struct Tics *Tics;
  53.    struct PlotRegion *CurrReg, *NewReg;
  54.    FFP XScale, YScale;
  55.    struct TextBox *Title, *XLabel, *YLabel;
  56.    struct Plot *Plot;
  57. };
  58.