NSToolbar methods removed in NSWindow

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18865 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2004-03-23 04:53:11 +00:00
parent 6d15d51344
commit 15eebccd95
3 changed files with 11 additions and 31 deletions

View file

@ -1,3 +1,9 @@
2004-03-23 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSWindow.m: NSToolbar related methods removed.
* Headers/AppKit/NSWindow.h: same (NSToolbar related ivars still
present).
2004-03-22 18:06 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-lockFocusInRect:): Don't convert the clipping

View file

@ -55,7 +55,7 @@
@class NSPasteboard;
@class NSScreen;
@class NSText;
@class NSToolbar;
@class NSToolbar;
@class NSView;
@class NSWindowController;
@class NSCachedImageRep;
@ -138,9 +138,9 @@ APPKIT_EXPORT NSSize NSTokenSize;
NSWindowController *_windowController;
int _counterpart;
float _alphaValue;
NSToolbar *_toolbar;
id _toolbarView;
NSToolbar *_toolbar; // Not used (see NSWindow+Toolbar now)
id _toolbarView; // Not used (see NSWindow+Toolbar now)
NSCachedImageRep *_cachedImage;
NSPoint _cachedImageOrigin;
@ -177,6 +177,7 @@ APPKIT_EXPORT NSSize NSTokenSize;
id _defaultButtonCell;
void *_reserved_1;
void *_reserved_2;
}
/*
@ -514,10 +515,6 @@ APPKIT_EXPORT NSSize NSTokenSize;
#ifndef STRICT_OPENSTEP
- (NSArray *) drawers;
- (void) setToolbar: (NSToolbar*)toolbar;
- (NSToolbar *) toolbar;
- (void) toggleToolbarShown: (id)sender;
- (void) runToolbarCustomizationPalette: (id)sender;
- (id) initWithWindowRef: (void *)windowRef;
- (void *)windowRef;
- (void*) windowHandle;

View file

@ -4067,29 +4067,6 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
return nil;
}
- (void) setToolbar: (NSToolbar*)toolbar
{
// assign and setup the toolbar...
ASSIGN(_toolbar, toolbar);
_toolbarView = [GSToolbarView initWithToolbar: _toolbar];
}
- (NSToolbar *) toolbar
{
return _toolbar;
}
- (void) toggleToolbarShown: (id)sender
{
[_toolbar setVisible: [_toolbar isVisible]];
}
- (void) runToolbarCustomizationPalette: (id)sender
{
[_toolbar runCustomizationPalette: sender];
}
- (id) initWithWindowRef: (void *)windowRef
{
// TODO