mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:50:40 +00:00
* NSAttributedString.m and NSAttributedString.h remove.
* NSStringDrawing.m and NSStringDrawing.h add NSAttributedString interface and implementation. Implement NSAttributedString's size method and optimize tab width calculation. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3352 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2bec406f7f
commit
b77483cabe
13 changed files with 87 additions and 187 deletions
|
@ -722,10 +722,8 @@ NSApplication *theApp = [NSApplication sharedApplication];
|
|||
|
||||
if (![aResponder acceptsFirstResponder]) // does not accept status
|
||||
return NO; // of first responder ret N
|
||||
// Notify current first responder that it
|
||||
// should resign. If it says NO then no
|
||||
// change. But make sure that there even
|
||||
// is a first responder
|
||||
// If there is a first responder tell it to
|
||||
// resign. Make change only if it replies Y
|
||||
if ((first_responder) && (![first_responder resignFirstResponder]))
|
||||
return NO;
|
||||
// Make responder the first
|
||||
|
@ -736,10 +734,10 @@ NSApplication *theApp = [NSApplication sharedApplication];
|
|||
return YES; // responder
|
||||
}
|
||||
|
||||
- (NSPoint)mouseLocationOutsideOfEventStream
|
||||
{
|
||||
return NSZeroPoint;
|
||||
}
|
||||
- (NSPoint)mouseLocationOutsideOfEventStream // Return mouse location
|
||||
{ // in reciever's base coord
|
||||
return NSZeroPoint; // system, ignores event
|
||||
} // loop status (backend)
|
||||
|
||||
- (NSEvent *)nextEventMatchingMask:(unsigned int)mask
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue