mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Add setCellClass: / cellClass
This commit is contained in:
parent
1e1e1043f8
commit
1f74bec01c
1 changed files with 12 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
#import "AppKit/NSTrackingArea.h"
|
||||
|
||||
static NSNotificationCenter *nc = nil;
|
||||
Class pathCellClass;
|
||||
|
||||
@interface NSPathCell (PathControlPrivate)
|
||||
- (void) _setClickedPathComponentCell: (NSPathComponentCell *)c;
|
||||
|
@ -58,6 +59,17 @@ static NSNotificationCenter *nc = nil;
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
+ (Class) cellClass
|
||||
{
|
||||
return pathCellClass;
|
||||
}
|
||||
|
||||
+ (void) setCellClass: (Class)classId
|
||||
{
|
||||
pathCellClass = classId;
|
||||
}
|
||||
|
||||
- (void) _resetTrackingRect
|
||||
{
|
||||
[[self superview] removeTrackingRect: _trackingTag];
|
||||
|
|
Loading…
Reference in a new issue