Make NSMenuView return NO for isOpaque

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29596 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2010-02-13 00:07:57 +00:00
parent 23b37df715
commit fb11be2f73
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2010-02-12 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSMenuView.m (-isOpaque): Return NO from isOpaque,
so -[GSThemeDrawing
drawBackgroundForMenuView:withFrame:dirtyRect:horizontal:]
can draw semitransparent menus if the theme author wishes.
2010-02-12 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSThemeDrawing.m: Make the window border color customizable

View file

@ -1216,7 +1216,7 @@ static NSMapTable *viewInfo = 0;
*/
- (BOOL) isOpaque
{
return YES;
return NO;
}
- (void) drawRect: (NSRect)rect