realbasic-nug
[Top] [All Lists]

Re: Windows Toolbar Icons Suck?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Windows Toolbar Icons Suck?
From: Brad Rhine <support at bradrhine dot com>
Date: Tue, 30 Oct 2007 17:30:02 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <CDE4A517-C618-4B0B-8269-B89BBEB13E40 at thezaz dot com> <6BC51216-A27B-4DBB-B354-1A3BB6B8FA94 at inspiringapps dot com>
On Oct 30, 2007, at 5:26 PM, Joe Strout wrote:

>> I just tried using the RB toolbar for the first time on Windows, and
>> the icons it creates are horrible. I supply it with a proper alpha-
>> channel picture, and the result gives me just the opposite: no alpha
>> channel. Just transparent.
>
> That's a Windows toolbar for you.
>
>> Is there a workaround besides guessing the background color and
>> drawing it in myself?
>
> Here's the relevant bit from the notes I've been collecting on a
> "Best Practices" book for RB... though work has kept me so busy
> lately, I don't know if or when I'll get around to actually writing
> it...
>
> Windows supports only 1-bit masking on a toolbar icon, so a
> beautifully antialiased icon for Mac or Linux will look horrible on
> Windows... UNLESS the icon is drawn onto a neutral background color.
> Use &cDEDED0 as the background color of the icon, and it'll look good
> on all platforms.


This is fixed in R4. My icons that always looked fabulous in OS X now  
look equally fabulous in Windows.

--
Brad Rhine
http://bradrhine.com
AIM:bradrhine
Tangelo: Web Publishing... With A Twist!

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>