diff --git a/ChangeLog b/ChangeLog index 7680e4a40..f69d65378 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 1 17:12:00 1999 Richard Frith-Macdonald + + * Headers/AppKit/NSCell.h: Added MacOS-X cell state constants. + Thu Feb 25 15:00:00 1999 Richard Frith-Macdonald Added support for the new (MacOS-X) NSGraphicsContext class by diff --git a/Headers/gnustep/gui/NSCell.h b/Headers/gnustep/gui/NSCell.h index 3b1afc386..59115ba49 100644 --- a/Headers/gnustep/gui/NSCell.h +++ b/Headers/gnustep/gui/NSCell.h @@ -86,10 +86,10 @@ typedef enum _NSCellAttribute { } NSCellAttribute; enum { - NSNoCellMask = 0, - NSContentsCellMask = 1, - NSPushInCellMask = 2, - NSChangeGrayCellMask = 4, + NSNoCellMask = 0, + NSContentsCellMask = 1, + NSPushInCellMask = 2, + NSChangeGrayCellMask = 4, NSChangeBackgroundCellMask = 8 }; @@ -98,6 +98,14 @@ enum { yDist = 2 // vertical distance between the text and image rects. }; +#ifndef STRICT_OPENSTEP +enum { + NSOffState = 0, + NSOnState = 1, + NSMixedState = 2 +}; +#endif + @interface NSCell : NSObject { // Attributes