realbasic-nug
[Top] [All Lists]

Re: focus ring color

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: focus ring color
From: Charles Yeomans <charles@declareSub.com>
Date: Fri, 29 May 2009 13:38:03 -0400
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <8402C214-4D21-44B3-AFBC-5FDA3549A57D@verizon.net>
References: <CC755E8E-294F-423E-8DCA-9373EBBBDB77@verizon.net> <F2CD10B5-CB28-47A0-B64C-782953E273B5@shaw.ca> <8402C214-4D21-44B3-AFBC-5FDA3549A57D@verizon.net>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On May 29, 2009, at 11:40 AM, Karen wrote:


On May 29, 2009, at 11:15 AM, Terry Ford wrote:

Is there an X-platform way to get the focus ring color so you can draw one yourself?

One problem is that on Mac, it's many separate colors, (as viewed with DigitalColor Meter). I don't know about Windows or Linux.


Because of Anti-aliasing and maybe a line width greater than 1? If so then only one color would suffice to draw it and a function such as :

    RealBasic.FocusRingColor would be all that is needed.

If it is truly is something more complex on OS X, then maybe we need functions like:
   Graphics.DrawFocusRect X, Y, Width, Height, ArcWidth, ArcHeight

   Graphics.DrawFocusOval X, Y, Width, Height

A request for Graphics.DrawFocusRect would make a lot of sense.

Charles Yeomans

_______________________________________________
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>