* Headers/AppKit/NSCell.h

* Source/NSCell.m: Add hitTestForEvent:inRect:ofView:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37639 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2014-01-26 22:34:56 +00:00
parent db2cf18bfe
commit 37e94abc97
3 changed files with 66 additions and 0 deletions

View file

@ -146,6 +146,15 @@ enum {
};
typedef NSUInteger NSImageScaling;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
enum {
NSCellHitNone = 0,
NSCellHitContentArea = 1,
NSCellHitEditableTextArea = 2,
NSCellHitTrackableArea = 4
};
#endif
@interface NSCell : NSObject <NSCopying, NSCoding>
{
// Attributes
@ -429,6 +438,11 @@ typedef NSUInteger NSImageScaling;
inRect:(NSRect)cellFrame
ofView:(NSView *)controlView
untilMouseUp:(BOOL)flag;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
- (NSUInteger)hitTestForEvent:(NSEvent *)event
inRect:(NSRect)cellFrame
ofView:(NSView *)controlView;
#endif
//
// Managing the Cursor