Made Mac OS X menu windows very slightly transparent.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
85a03a76c9
commit
beb02e12f6
@ -1847,7 +1847,6 @@ static void q_set_window_title(NSWindow *nsw, const char * name ) {
|
||||
|
||||
/*
|
||||
* go ahead, create that (sub)window
|
||||
* \todo we should make menu windows slightly transparent for the new Mac look
|
||||
*/
|
||||
void Fl_X::make(Fl_Window* w)
|
||||
{
|
||||
@ -1994,6 +1993,9 @@ void Fl_X::make(Fl_Window* w)
|
||||
delta = [cw cascadeTopLeftFromPoint:delta];
|
||||
}
|
||||
}
|
||||
if(w->menu_window()) { // make menu windows slightly transparent
|
||||
[cw setAlphaValue:0.97];
|
||||
}
|
||||
x->w = w; w->i = x;
|
||||
x->wait_for_expose = 1;
|
||||
x->next = Fl_X::first;
|
||||
|
Loading…
x
Reference in New Issue
Block a user