mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:07:39 +00:00
Rename middl toother mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12948 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
464f76e2be
commit
c1ffddcdc8
14 changed files with 92 additions and 66 deletions
|
@ -354,7 +354,7 @@ static NSCell* tileCell = nil;
|
|||
NSPoint lastLocation;
|
||||
NSPoint location;
|
||||
unsigned eventMask = NSLeftMouseDownMask | NSLeftMouseUpMask
|
||||
| NSPeriodicMask | NSMiddleMouseUpMask | NSRightMouseUpMask;
|
||||
| NSPeriodicMask | NSOtherMouseUpMask | NSRightMouseUpMask;
|
||||
NSDate *theDistantFuture = [NSDate distantFuture];
|
||||
BOOL done = NO;
|
||||
|
||||
|
@ -371,7 +371,7 @@ static NSCell* tileCell = nil;
|
|||
switch ([theEvent type])
|
||||
{
|
||||
case NSRightMouseUp:
|
||||
case NSMiddleMouseUp:
|
||||
case NSOtherMouseUp:
|
||||
case NSLeftMouseUp:
|
||||
/* any mouse up means we're done */
|
||||
done = YES;
|
||||
|
@ -1409,7 +1409,7 @@ IF_NO_GC(NSAssert([event retainCount] > 0, NSInternalInconsistencyException));
|
|||
NSEventType type = [event type];
|
||||
|
||||
if ((type == NSLeftMouseDown) || (type == NSLeftMouseUp)
|
||||
|| (type == NSMiddleMouseDown) || (type == NSMiddleMouseUp)
|
||||
|| (type == NSOtherMouseDown) || (type == NSOtherMouseUp)
|
||||
|| (type == NSRightMouseDown) || (type == NSRightMouseUp)
|
||||
|| (type == NSMouseMoved))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue