Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed the NSView, NSWindow and NSControl method names to differenti…

…ate them from the -add<ClassName> methods.
  • Loading branch information...
commit 8c866bec99d5d713df210242fb0de744f7b2382a 1 parent de8a79d
@mugginsoft authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 FScriptFramework/FSObjectBrowserViewObjectInfo.m
View
22 FScriptFramework/FSObjectBrowserViewObjectInfo.m
@@ -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)
@@ -1474,7 +1474,7 @@ - (void)fillMatrix:(NSMatrix *)m withObject:(id)object
[objectHelper release];
}
-@end
+@end
@implementation FSObjectBrowserViewObjectHelper
@@ -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]])
@@ -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]])
{
@@ -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]])
@@ -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]])
{
@@ -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]])
@@ -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]])
Please sign in to comment.
Something went wrong with that request. Please try again.