• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unwanted transparency in custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted transparency in custom view


  • Subject: Re: Unwanted transparency in custom view
  • From: Chris Ridd <email@hidden>
  • Date: Mon, 17 Jun 2002 17:14:07 +0100

On 17/6/02 5:03 pm, Ken Tozier <email@hidden> wrote:

> - (void) setRGBColor:(NSDictionary *) inDict
> {
> [[NSColor colorWithCalibratedRed:[[inDict objectForKey:@"Red"]
> floatValue]
> green:[[inDict objectForKey:@"Green"] floatValue]
> blue:[[inDict objectForKey:@"Blue"] floatValue]
> alpha:1] set];
> }

Is it worth writing 1.0 to tell the compiler to pass a float instead of an
int?

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Unwanted transparency in custom view (From: Ken Tozier <email@hidden>)

  • Prev by Date: Unwanted transparency in custom view
  • Next by Date: Re: deleting outline rows using a delegate
  • Previous by thread: Unwanted transparency in custom view
  • Next by thread: Re: Unwanted transparency in custom view
  • Index(es):
    • Date
    • Thread