mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-14 13:02:00 +00:00
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:
parent
b61363643c
commit
b070c9712f
2 changed files with 16 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue