Added cell state constants.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3817 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-03-01 17:51:35 +00:00
parent b61363643c
commit b070c9712f
2 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Mon Mar 1 17:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Headers/AppKit/NSCell.h: Added MacOS-X cell state constants.
Thu Feb 25 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk> Thu Feb 25 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Added support for the new (MacOS-X) NSGraphicsContext class by Added support for the new (MacOS-X) NSGraphicsContext class by

View file

@ -86,10 +86,10 @@ typedef enum _NSCellAttribute {
} NSCellAttribute; } NSCellAttribute;
enum { enum {
NSNoCellMask = 0, NSNoCellMask = 0,
NSContentsCellMask = 1, NSContentsCellMask = 1,
NSPushInCellMask = 2, NSPushInCellMask = 2,
NSChangeGrayCellMask = 4, NSChangeGrayCellMask = 4,
NSChangeBackgroundCellMask = 8 NSChangeBackgroundCellMask = 8
}; };
@ -98,6 +98,14 @@ enum {
yDist = 2 // vertical distance between the text and image rects. yDist = 2 // vertical distance between the text and image rects.
}; };
#ifndef STRICT_OPENSTEP
enum {
NSOffState = 0,
NSOnState = 1,
NSMixedState = 2
};
#endif
@interface NSCell : NSObject <NSCopying, NSCoding> @interface NSCell : NSObject <NSCopying, NSCoding>
{ {
// Attributes // Attributes