mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
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:
parent
f6cb9eb796
commit
fc7fe09848
3 changed files with 26 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue