mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:20:37 +00:00
Move the handling of the toolbar from the window to the window
decoration view. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27505 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cf906c58bb
commit
0ab9d38e59
5 changed files with 133 additions and 188 deletions
|
@ -35,6 +35,8 @@
|
|||
#include "AppKit/NSWindow+Toolbar.h"
|
||||
#include "GNUstepGUI/GSToolbarView.h"
|
||||
|
||||
#include "GSWindowDecorationView.h"
|
||||
|
||||
@interface GSToolbarView (GNUstepPrivate)
|
||||
- (void) _reload;
|
||||
|
||||
|
@ -107,12 +109,10 @@
|
|||
- (BOOL) usesStandardBackgroundColor;
|
||||
@end
|
||||
|
||||
@interface NSWindow (ToolbarPrivate)
|
||||
- (void) _adjustToolbarView: (GSToolbarView*)view;
|
||||
- (void) _addToolbarView: (GSToolbarView*)view;
|
||||
- (void) _removeToolbarView: (GSToolbarView*)view;
|
||||
- (NSView *) _contentViewWithoutToolbar;
|
||||
@interface GSWindowDecorationView (ToolbarPrivate)
|
||||
- (void) addToolbarView: (GSToolbarView*)toolbarView;
|
||||
- (void) removeToolbarView: (GSToolbarView *)toolbarView;
|
||||
- (void) adjustToolbarView: (GSToolbarView *)toolbarView;
|
||||
@end
|
||||
|
||||
|
||||
#endif // _NSToolbarFrameworkPrivate_h_INCLUDE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue