Corrected problem with scrollview.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22425 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-02-04 02:57:16 +00:00
parent f6cb9eb796
commit fc7fe09848
3 changed files with 26 additions and 20 deletions

View file

@ -1,3 +1,9 @@
2006-02-03 21:56 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormScrollViewAttributesInspector.m
* GormCore/GormScrollViewEditor.m: Corrected problem with adding
something to a scrollview.
2006-02-01 23:24 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormFilePrefsManager.m

View file

@ -28,26 +28,6 @@
#include <AppKit/AppKit.h>
#include "GormScrollViewAttributesInspector.h"
#include <InterfaceBuilder/IBObjectAdditions.h>
@implementation NSScrollView (IBObjectAdditions)
- (NSString *) inspectorClassName
{
return @"GormScrollViewAttributesInspector";
}
- (NSString*) editorClassName
{
if ([self documentView])
{
return [[self documentView] editorClassName];
}
else
{
return @"GormScrollViewEditor";
}
}
@end
@implementation GormScrollViewAttributesInspector
- init

View file

@ -27,6 +27,26 @@
#include "GormPrivate.h"
#include "GormBoxEditor.h"
#include "GormViewKnobs.h"
#include <InterfaceBuilder/IBObjectAdditions.h>
@implementation NSScrollView (IBObjectAdditions)
- (NSString *) inspectorClassName
{
return @"GormScrollViewAttributesInspector";
}
- (NSString*) editorClassName
{
// if ([[self documentView] isKindOfClass: [NSTableView class]])
// {
// return [[self documentView] editorClassName];
// }
// else
// {
return @"GormScrollViewEditor";
// }
}
@end
#define _EO ((NSScrollView *)_editedObject)