[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: My SWT app looks ugly on a Mac

This is not a easy task. The first thing that has to be done is changing
the window attributes to include kWindowMetalAttribute
(use ChangeWindowAttribute() for this). But this is not going to be
enough, because Control.fillBackground(...) has to be changed also. It has
to draw the metal background instead (or not draw at all).

Check this bug report too:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=55869

Silenio

"Mark McLaren" <noone@xxxxxxxxxxx> wrote in message 
news:378488dfc2b61727a227aeb8aea9bd97$1@xxxxxxxxxxxxxxxxxx
> I'm very keen to improve the appearance of my SWT on Apple Mac OSX.  In 
> particular, I want my main frame to have a 'brushed metal' effect and 
> shiny toolbar buttons like this:
>
> http://www.simplehelp.net/images/finder_alternatives/filerun/03.jpg
>
> What is the best way to achieve this?  Could I use the 'Carbon' API 
> through JNI?
>
> Thanks
>
> Mark
>
>
>