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:
qmathe 2010-01-27 11:29:07 +00:00
parent 57cdb1250b
commit 05a3aad048
4 changed files with 26 additions and 3 deletions

View file

@ -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