mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
NSGestureRecognizer: implement stub for -locationInView:
Implement stub for -[NSGestureRecognizer locationInView:] for compatibility purposes.
This commit is contained in:
parent
b09cdec727
commit
9e8ef84b54
2 changed files with 8 additions and 0 deletions
|
@ -33,7 +33,10 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import <AppKit/NSEvent.h>
|
||||
|
||||
@class NSView;
|
||||
|
||||
@interface NSGestureRecognizer : NSObject <NSCoding>
|
||||
- (NSPoint)locationInView:(NSView *)view;
|
||||
@end
|
||||
|
||||
@protocol NSGestureRecognizerDelegate <NSObject>
|
||||
|
|
|
@ -39,4 +39,9 @@
|
|||
{
|
||||
return;
|
||||
}
|
||||
|
||||
- (NSPoint)locationInView:(NSView *)view
|
||||
{
|
||||
return NSZeroPoint;
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue