From b070c9712fae20a071cb237ea922c37a7788c8ac Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Mon, 1 Mar 1999 17:51:35 +0000 Subject: [PATCH] Added cell state constants. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3817 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Headers/gnustep/gui/NSCell.h | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) 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