Skip to content

Commit

Permalink
Changed the NSView, NSWindow and NSControl method names to differenti…
Browse files Browse the repository at this point in the history
…ate them from the -add<ClassName> methods.
  • Loading branch information
Jonathan Mitchell committed Mar 19, 2012
1 parent de8a79d commit 8c866be
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions FScriptFramework/FSObjectBrowserViewObjectInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ - (void)addNSTrackingArea:(id)object;
- (void)addNSUndoManager:(id)object;
- (void)addNSATSTypesetter:(id)object;

- (void)addNSView:(id)object;
- (void)addNSControl:(id)object;
- (void)addNSWindow:(id)object;
- (void)processNSView:(id)object;
- (void)processNSControl:(id)object;
- (void)processNSWindow:(id)object;
@end

static id objectFromAnimationBlockingMode(NSAnimationBlockingMode animationBlockingMode)
Expand Down Expand Up @@ -1474,7 +1474,7 @@ - (void)fillMatrix:(NSMatrix *)m withObject:(id)object
[objectHelper release];
}

@end
@end


@implementation FSObjectBrowserViewObjectHelper
Expand Down Expand Up @@ -3236,7 +3236,7 @@ - (void)addNSResponder:(id)object
}
else if ([object isKindOfClass:[NSView class]])
{
[self addNSView:object];
[self processNSView:object];
}

if ([object isKindOfClass:[NSViewController class]])
Expand All @@ -3251,7 +3251,7 @@ - (void)addNSResponder:(id)object
}
else if ([object isKindOfClass:[NSWindow class]])
{
[self addNSWindow:object];
[self processNSWindow:object];
}
else if ([object isKindOfClass:[NSWindowController class]])
{
Expand Down Expand Up @@ -3563,7 +3563,7 @@ -(void)addNSATSTypesetter:(id)object
ADD_BOOL( [o usesFontLeading] ,@"Uses font leading")
}

- (void)addNSView:(id)object
- (void)processNSView:(id)object
{

if ([object isKindOfClass:[NSBox class]])
Expand Down Expand Up @@ -3604,7 +3604,7 @@ - (void)addNSView:(id)object
}
else if ([object isKindOfClass:[NSControl class]])
{
[self addNSControl:object];
[self processNSControl:object];
}
else if ([object isKindOfClass:[NSClipView class]])
{
Expand Down Expand Up @@ -3837,7 +3837,7 @@ - (void)addNSView:(id)object
ADD_OBJECT( [o window] ,@"Window")
}

- (void)addNSControl:(id)object
- (void)processNSControl:(id)object
{
{
if ([object isKindOfClass:[NSBrowser class]])
Expand Down Expand Up @@ -4218,8 +4218,8 @@ - (void)addNSControl:(id)object
ADD_OBJECT( [o target] ,@"Target")
}
}

- (void)addNSWindow:(id)object
- (void)processNSWindow:(id)object
{
{
if ([object isKindOfClass:[NSPanel class]])
Expand Down

0 comments on commit 8c866be

Please sign in to comment.