home *** CD-ROM | disk | FTP | other *** search
-
- static char RCSId[]="$Id: StatusContour.m,v 1.1.1.1 1993/03/18 03:35:34 davis Exp $";
-
-
-
- #import "StatusContour.h"
-
-
- @implementation Status (Contour)
-
-
- - setContourBase:(BOOL) cond
- {
- if (contourBase != cond) {
- contourBase = cond;
- [self reportSettingsChange:self];
- }
-
- return self;
- }
-
-
- - (BOOL) contourBase
- {
- return contourBase;
- }
-
-
-
- - setContourSurface:(BOOL) cond
- {
- if (contourSurface != cond) {
- contourSurface = cond;
- [self reportSettingsChange:self];
- }
-
- return self;
- }
-
-
- - (BOOL) contourSurface
- {
- return contourSurface;
- }
-
-
-
- - setContourKind:(int) aKind
- {
- if (aKind != s_contour_kind) {
- s_contour_kind = aKind;
- [self reportSettingsChange:self];
- }
-
- return self;
- }
-
-
-
- - (int) contourKind;
- {
- return s_contour_kind;
- }
-
-
-
- - setContourPoints:(int) anInt
- {
- if (anInt != s_contour_pts) {
- s_contour_pts = anInt;
- [self reportSettingsChange:self];
- }
-
- return self;
- }
-
-
- - (int) contourPoints
- {
- return s_contour_pts;
- }
-
-
-
- - setContourOrder:(int) anInt
- {
- if (anInt != s_contour_order) {
- s_contour_order = anInt;
- [self reportSettingsChange:self];
- }
-
- return self;
- }
-
-
- - (int) contourOrder
- {
- return s_contour_order;
- }
-
-
- - setContourInKey:(BOOL) cond
- {
- if (cond != s_label_contours) {
- s_label_contours = cond;
- [self reportSettingsChange:self];
- }
-
- return self;
- }
-
-
- - (BOOL)contourInKey
- {
- return s_label_contours;
- }
-
-
-
- // Shuts up the compiler about unused RCSId
- - (const char *) rcsid
- {
- return RCSId;
- }
-
-
- @end
-