https://bugs.freedesktop.org/show_bug.cgi?id=69358

Jan Holesovsky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #6 from Jan Holesovsky <[email protected]> ---
Mirek: Thanks, this was most helpful!

I believe there must be a way to be able to draw a single gradient - Firefox
does that too :-)  Unfortunately I have no OSX machine to be able to experiment
- anybody who would like hack on this is much appreciated, I'd give him/her
more code pointers.

>From what the Firefox is doing, the most interesting pieces seem to be
DrawNativeTitlebarToolbarWithSquareCorners:

http://mxr.mozilla.org/mozilla-central/source/widget/cocoa/nsNativeThemeCocoa.mm#1801

and the code around that.  I guess we have to set some special flags to the
window itself too, like using setStyleMask: or something from:

https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html

Definitely experimenting here is necessary; so I am hesitant to mark this as
EasyHack - but if somebody with Mac is around, I can help from the LibreOffice
side :-) - please poke me on irc.freenode.net, channel #libreoffice-dev, I am
'kendy' there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to