* Source/GSWindowDecorationView.m: Move the view up a little.
* Source/NSMenuItemCell.m: Experimental changes for drawing
separator items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31790 72102866-910b-0410-8b05-ffd578937521
updateAllWindowsWithMenu:, updateMenu:forWindow:, altered
implementation for setMenu:forWindow:, added private method
_setMenu: to set the current menu on the window.
* Source/GSWindowDecorationView.m: Changes to layout
* Source/NSMenu.m: Only call the method updateAllWindowsWithMenu:
when NSMenuInterfaceStyle = NSWindows95InterfaceStyle.
* Source/NSMenuView.m: Change to -update so that it does not
render the top bar of the menu if NSMenuInterfaceStyle =
NSWindows95InterfaceStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31782 72102866-910b-0410-8b05-ffd578937521
when toggleToolbarShown: makes its toolbar visible again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30319 72102866-910b-0410-8b05-ffd578937521
background before getting the theme to draw its background.
This makes windows with semitransparent background colors work
properly.
NOTE: While the clear operation is very fast, we may want to only do
it if the window background colour has an alpha value of < 1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29376 72102866-910b-0410-8b05-ffd578937521
back menuHeightForWindow:
* Source/GSThemeMenu.m: Added default implementation of
menuHeightForWindow:. Default implementation returns NSMenuView
menuBarHeight.
* Source/GSWindowDecorationView.m: Use menuHeightForWindow: instead
of getting it directly from the menu view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29288 72102866-910b-0410-8b05-ffd578937521
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
if a toolbar or menu is present in the window decorations. Modified
code to set these to YES/NO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29203 72102866-910b-0410-8b05-ffd578937521