mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +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
66ffc52ca2
commit
316ee53b63
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-05-14 German A. Arias <german@xelalug.org>
|
||||
|
||||
* Source/NSFormCell.m: Add method -resetCursorRect:inView:.
|
||||
|
||||
2013-05-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSNibLoading.m: Remove method [NSKeyedUnarchiver
|
||||
|
|
|
@ -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…
Reference in a new issue