mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:10:47 +00:00
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:
parent
23b37df715
commit
fb11be2f73
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
2010-02-12 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/GSThemeDrawing.m: Make the window border color customizable
|
* Source/GSThemeDrawing.m: Make the window border color customizable
|
||||||
|
|
|
@ -1216,7 +1216,7 @@ static NSMapTable *viewInfo = 0;
|
||||||
*/
|
*/
|
||||||
- (BOOL) isOpaque
|
- (BOOL) isOpaque
|
||||||
{
|
{
|
||||||
return YES;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) drawRect: (NSRect)rect
|
- (void) drawRect: (NSRect)rect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue