mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:40:36 +00:00
Add -resetCursorRect:inView: in NSFormCell.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36620 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4087333c3b
commit
9070a82bd5
2 changed files with 15 additions and 0 deletions
|
@ -355,6 +355,17 @@
|
|||
return [super drawingRectForBounds: theRect];
|
||||
}
|
||||
|
||||
- (void) resetCursorRect: (NSRect)cellFrame inView: (NSView *)controlView
|
||||
{
|
||||
NSRect rect = NSMakeRect(cellFrame.origin.x + 3 + [self titleWidth],
|
||||
NSMinY(cellFrame),
|
||||
NSWidth(cellFrame) - 3 - [self titleWidth],
|
||||
NSHeight(cellFrame));
|
||||
|
||||
[super resetCursorRect: rect
|
||||
inView: controlView];
|
||||
}
|
||||
|
||||
- (void) _drawBorderAndBackgroundWithFrame: (NSRect)cellFrame inView: (NSView*)controlView
|
||||
{
|
||||
NSRect borderedFrame = cellFrame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue