mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:07:39 +00:00
* Source/GSThemeDrawing.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Add methods -menuSubmenuHorizontalOverlap and -menuSubmenuVerticalOverlap wrapping user defaults GSMenuSubmenuHorizontalOverlap and GSMenuSubmenuVerticalOverlap * Source/NSMenuView.m (-locationForSubmenu:): Offset calculations by -[GSTheme menuSubmenuHorizontalOverlap] and -[GSTheme menuSubmenuVerticalOverlap] git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37243 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
64432f901d
commit
326a3d57f4
4 changed files with 46 additions and 5 deletions
|
@ -1084,6 +1084,22 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
|
|||
* <p>Can be overridden in subclasses to return a custom value.</p>
|
||||
*/
|
||||
- (CGFloat) menuSeparatorInset;
|
||||
|
||||
/**
|
||||
* Amount that submenus overlap their parent menu by, horizontally.
|
||||
* (i.e. applies to vertical menus)
|
||||
*
|
||||
* Controlled by GSMenuSubmenuHorizontalOverlap default
|
||||
*/
|
||||
- (CGFloat) menuSubmenuHorizontalOverlap;
|
||||
|
||||
/**
|
||||
* Amount that submenus overlap the horizontal menu bar by, vertically.
|
||||
*
|
||||
* Controlled by GSMenuSubmenuVerticalOverlap default
|
||||
*/
|
||||
- (CGFloat) menuSubmenuVerticalOverlap;
|
||||
|
||||
/**
|
||||
* <p>Draws a separator between normal menu items in a menu.</p>
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue