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:
Eric Wasylishen 2010-02-13 00:07:57 +00:00
parent f91e4cceec
commit 56dc23f173
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