mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:50:40 +00:00
* Headers/Additions/GNUstepGUI/GSTheme.h: Added methods
to support adding menus and processing commands from windows, if appropriate. * Headers/Additions/GNUstepGUI/GSWindowDecorationView.h: Added new methods for menu and toolbar flags. * Headers/AppKit/NSInterfaceStyle.h: Added new interface style. * Source/GNUmakefile: Added header. * Source/GSStandardWindowDecorationView.m: Change include to include header in new location. * Source/GSThemeMenu.m: Default theme implementation for Menus. * Source/GSWindowDecorationView.m: Add the setHasMenu:/setHasToolbar: flags. * Source/NSWindow.m: Use the theme to set the menu instead of setting it directly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29271 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5736f119e9
commit
dcea95cb77
9 changed files with 260 additions and 33 deletions
|
@ -39,7 +39,8 @@
|
|||
#include "AppKit/PSOperators.h"
|
||||
#include "GNUstepGUI/GSDisplayServer.h"
|
||||
#include "GNUstepGUI/GSTheme.h"
|
||||
#include "GSWindowDecorationView.h"
|
||||
|
||||
#include <GNUstepGUI/GSWindowDecorationView.h>
|
||||
|
||||
@interface GSStandardWindowDecorationView (GSTheme)
|
||||
- (void) _themeDidActivate: (NSNotification*)notification;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue