mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:00:48 +00:00
* Source/GSNibLoading.m: Correct issue with setting next key view and
previous key view. * Source/NSView.m: Comment out frame/bounds matrix calculation since they are done when needed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27317 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a23904a812
commit
06222a4902
3 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-12-16 19:41-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* Source/GSNibLoading.m: Correct issue with setting next key view and
|
||||||
|
previous key view.
|
||||||
|
* Source/NSView.m: Comment out frame/bounds matrix calculation since they
|
||||||
|
are done when needed.
|
||||||
|
|
||||||
2008-12-16 17:23-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
2008-12-16 17:23-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/GSNibLoading.m: Changes to initialize bounds in
|
* Source/GSNibLoading.m: Changes to initialize bounds in
|
||||||
|
|
|
@ -914,11 +914,11 @@ static BOOL _isInInterfaceBuilder = NO;
|
||||||
nextKeyView = [coder decodeObjectForKey: @"NSNextKeyView"];
|
nextKeyView = [coder decodeObjectForKey: @"NSNextKeyView"];
|
||||||
if (nextKeyView != nil)
|
if (nextKeyView != nil)
|
||||||
{
|
{
|
||||||
[self setNextKeyView: nextKeyView];
|
[_view setNextKeyView: nextKeyView];
|
||||||
}
|
}
|
||||||
if (prevKeyView != nil)
|
if (prevKeyView != nil)
|
||||||
{
|
{
|
||||||
[self setPreviousKeyView: prevKeyView];
|
[_view setPreviousKeyView: prevKeyView];
|
||||||
}
|
}
|
||||||
if ([coder containsValueForKey: @"NSvFlags"])
|
if ([coder containsValueForKey: @"NSvFlags"])
|
||||||
{
|
{
|
||||||
|
|
|
@ -533,8 +533,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
_bounds.origin = NSZeroPoint; // Set bounds rectangle
|
_bounds.origin = NSZeroPoint; // Set bounds rectangle
|
||||||
_bounds.size = _frame.size;
|
_bounds.size = _frame.size;
|
||||||
|
|
||||||
_frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
|
// _frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
|
||||||
_boundsMatrix = [NSAffineTransform new]; // Map from superview to bounds
|
// _boundsMatrix = [NSAffineTransform new]; // Map from superview to bounds
|
||||||
_matrixToWindow = [NSAffineTransform new]; // Map to window coordinates
|
_matrixToWindow = [NSAffineTransform new]; // Map to window coordinates
|
||||||
_matrixFromWindow = [NSAffineTransform new]; // Map from window coordinates
|
_matrixFromWindow = [NSAffineTransform new]; // Map from window coordinates
|
||||||
|
|
||||||
|
@ -4403,8 +4403,8 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
||||||
[super initWithCoder: aDecoder];
|
[super initWithCoder: aDecoder];
|
||||||
|
|
||||||
// initialize these here, since they're needed in either case.
|
// initialize these here, since they're needed in either case.
|
||||||
_frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
|
// _frameMatrix = [NSAffineTransform new]; // Map fromsuperview to frame
|
||||||
_boundsMatrix = [NSAffineTransform new]; // Map fromsuperview to bounds
|
// _boundsMatrix = [NSAffineTransform new]; // Map from superview to bounds
|
||||||
_matrixToWindow = [NSAffineTransform new]; // Map to window coordinates
|
_matrixToWindow = [NSAffineTransform new]; // Map to window coordinates
|
||||||
_matrixFromWindow = [NSAffineTransform new];// Map from window coordinates
|
_matrixFromWindow = [NSAffineTransform new];// Map from window coordinates
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue