home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / StatusContour.m < prev    next >
Encoding:
Text File  |  1993-03-18  |  1.5 KB  |  128 lines

  1.  
  2. static char RCSId[]="$Id: StatusContour.m,v 1.1.1.1 1993/03/18 03:35:34 davis Exp $";
  3.  
  4.  
  5.  
  6. #import "StatusContour.h"
  7.  
  8.  
  9. @implementation Status (Contour)
  10.  
  11.  
  12. - setContourBase:(BOOL) cond
  13. {
  14.     if (contourBase != cond) {
  15.     contourBase = cond;
  16.     [self reportSettingsChange:self];
  17.     }
  18.  
  19.     return self;
  20. }
  21.  
  22.  
  23. - (BOOL) contourBase
  24. {
  25.     return contourBase;
  26. }
  27.  
  28.  
  29.  
  30. - setContourSurface:(BOOL) cond
  31. {
  32.     if (contourSurface != cond) {
  33.     contourSurface = cond;
  34.     [self reportSettingsChange:self];
  35.     }
  36.  
  37.     return self;
  38. }
  39.  
  40.  
  41. - (BOOL) contourSurface
  42. {
  43.     return contourSurface;
  44. }
  45.  
  46.  
  47.  
  48. - setContourKind:(int) aKind
  49. {
  50.     if (aKind != s_contour_kind) {
  51.     s_contour_kind = aKind;
  52.     [self reportSettingsChange:self];
  53.     }
  54.  
  55.     return self;
  56. }
  57.  
  58.  
  59.  
  60. - (int) contourKind;
  61. {
  62.     return s_contour_kind;
  63. }
  64.  
  65.  
  66.  
  67. - setContourPoints:(int) anInt
  68. {
  69.     if (anInt != s_contour_pts) {
  70.     s_contour_pts = anInt;
  71.     [self reportSettingsChange:self];
  72.     }
  73.  
  74.     return self;
  75. }
  76.  
  77.  
  78. - (int) contourPoints
  79. {
  80.     return s_contour_pts;
  81. }
  82.  
  83.  
  84.  
  85. - setContourOrder:(int) anInt
  86. {
  87.     if (anInt != s_contour_order) {
  88.     s_contour_order = anInt;
  89.     [self reportSettingsChange:self];
  90.     }
  91.  
  92.     return self;
  93. }
  94.  
  95.  
  96. - (int) contourOrder
  97. {
  98.     return s_contour_order;
  99. }
  100.  
  101.  
  102. - setContourInKey:(BOOL) cond
  103. {
  104.     if (cond != s_label_contours) {
  105.     s_label_contours = cond;
  106.     [self reportSettingsChange:self];
  107.     }
  108.  
  109.     return self;
  110. }
  111.  
  112.  
  113. - (BOOL)contourInKey
  114. {
  115.     return s_label_contours;
  116. }
  117.  
  118.  
  119.  
  120. // Shuts up the compiler about unused RCSId
  121. - (const char *) rcsid
  122. {
  123.     return RCSId;
  124. }
  125.  
  126.  
  127. @end
  128.