mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
Added the possibility to customize the title view look and behavior in a theme
with a GSTitleView subclass. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29419 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
57cdb1250b
commit
05a3aad048
4 changed files with 26 additions and 3 deletions
|
@ -46,6 +46,7 @@
|
|||
#import "AppKit/PSOperators.h"
|
||||
|
||||
#import "GNUstepGUI/GSToolbarView.h"
|
||||
#import "GNUstepGUI/GSTitleView.h"
|
||||
|
||||
|
||||
@implementation GSTheme (Drawing)
|
||||
|
@ -717,6 +718,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (Class) titleViewClassForMenuView: (NSMenuView *)aMenuView
|
||||
{
|
||||
return [GSTitleView class];
|
||||
}
|
||||
|
||||
// NSColorWell drawing method
|
||||
- (NSRect) drawColorWellBorder: (NSColorWell*)well
|
||||
withBounds: (NSRect)bounds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue