mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 06:20:47 +00:00
Improved a comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@5536 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb5ed629c5
commit
85edf4d441
1 changed files with 8 additions and 1 deletions
|
@ -349,6 +349,9 @@ NSRectFromPoints(NSPoint p0, NSPoint p1)
|
|||
|
||||
/*
|
||||
* Track mouse movements until left mouse up.
|
||||
* While we keep track of all mouse movements, we only act on a
|
||||
* movement when a periodic event arives (every 20th of a second)
|
||||
* in order to avoid excessive amounts of drawing.
|
||||
*/
|
||||
lastPoint = mouseDownPoint;
|
||||
[self lockFocus];
|
||||
|
@ -371,6 +374,9 @@ NSRectFromPoints(NSPoint p0, NSPoint p1)
|
|||
* Clear old box and draw new one.
|
||||
* FIXME - there has to be a more efficient way to restore
|
||||
* the display under the box.
|
||||
* FIXME - does the fact that we need to redisplay a
|
||||
* rectangle slightly larger than the one we drew mean that
|
||||
* there is a drawing bug?
|
||||
*/
|
||||
[[self window] disableFlushWindow];
|
||||
r = NSRectFromPoints(lastPoint, mouseDownPoint);
|
||||
|
@ -411,7 +417,8 @@ NSRectFromPoints(NSPoint p0, NSPoint p1)
|
|||
[self unlockFocus];
|
||||
|
||||
/*
|
||||
* Now finally check the selected rectangle to find the views in it.
|
||||
* Now finally check the selected rectangle to find the views in it
|
||||
* and make them (if any) into our current selection.
|
||||
*/
|
||||
point = [self convertPoint: [e locationInWindow]
|
||||
fromView: nil];
|
||||
|
|
Loading…
Reference in a new issue