mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
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:
parent
6d15d51344
commit
15eebccd95
3 changed files with 11 additions and 31 deletions
|
@ -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>
|
2004-03-22 18:06 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/NSView.m (-lockFocusInRect:): Don't convert the clipping
|
* Source/NSView.m (-lockFocusInRect:): Don't convert the clipping
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
@class NSPasteboard;
|
@class NSPasteboard;
|
||||||
@class NSScreen;
|
@class NSScreen;
|
||||||
@class NSText;
|
@class NSText;
|
||||||
@class NSToolbar;
|
@class NSToolbar;
|
||||||
@class NSView;
|
@class NSView;
|
||||||
@class NSWindowController;
|
@class NSWindowController;
|
||||||
@class NSCachedImageRep;
|
@class NSCachedImageRep;
|
||||||
|
@ -138,9 +138,9 @@ APPKIT_EXPORT NSSize NSTokenSize;
|
||||||
NSWindowController *_windowController;
|
NSWindowController *_windowController;
|
||||||
int _counterpart;
|
int _counterpart;
|
||||||
float _alphaValue;
|
float _alphaValue;
|
||||||
|
|
||||||
NSToolbar *_toolbar;
|
NSToolbar *_toolbar; // Not used (see NSWindow+Toolbar now)
|
||||||
id _toolbarView;
|
id _toolbarView; // Not used (see NSWindow+Toolbar now)
|
||||||
NSCachedImageRep *_cachedImage;
|
NSCachedImageRep *_cachedImage;
|
||||||
NSPoint _cachedImageOrigin;
|
NSPoint _cachedImageOrigin;
|
||||||
|
|
||||||
|
@ -177,6 +177,7 @@ APPKIT_EXPORT NSSize NSTokenSize;
|
||||||
id _defaultButtonCell;
|
id _defaultButtonCell;
|
||||||
void *_reserved_1;
|
void *_reserved_1;
|
||||||
void *_reserved_2;
|
void *_reserved_2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -514,10 +515,6 @@ APPKIT_EXPORT NSSize NSTokenSize;
|
||||||
|
|
||||||
#ifndef STRICT_OPENSTEP
|
#ifndef STRICT_OPENSTEP
|
||||||
- (NSArray *) drawers;
|
- (NSArray *) drawers;
|
||||||
- (void) setToolbar: (NSToolbar*)toolbar;
|
|
||||||
- (NSToolbar *) toolbar;
|
|
||||||
- (void) toggleToolbarShown: (id)sender;
|
|
||||||
- (void) runToolbarCustomizationPalette: (id)sender;
|
|
||||||
- (id) initWithWindowRef: (void *)windowRef;
|
- (id) initWithWindowRef: (void *)windowRef;
|
||||||
- (void *)windowRef;
|
- (void *)windowRef;
|
||||||
- (void*) windowHandle;
|
- (void*) windowHandle;
|
||||||
|
|
|
@ -4067,29 +4067,6 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
|
||||||
return nil;
|
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
|
- (id) initWithWindowRef: (void *)windowRef
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue