• 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
[ANN] irregular shaped buttons class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] irregular shaped buttons class


  • Subject: [ANN] irregular shaped buttons class
  • From: Andreas Mayer <email@hidden>
  • Date: Tue, 29 Jul 2003 00:39:48 +0200

- draws buttons with alpha masks
- buttons will not overwrite background where transparent
- clickable only where alpha > 0.5
- automatically chooses graphite or aqua image (if correctly named)
- will automatically tint 'off' image according to system control tint if no matching 'on' image available
- responds to control tint change notification

http://www.harmless.de/cocoa.html


BTW: Does anyone know if there are constants for the system control tints?

[[NSColor colorForControlTint:NSDefaultControlTint] colorNameComponent] returns "blueControlTintColor" or "graphiteControlTintColor". That's nice, but do I really need to hardcode those strings?


bye. Andreas.
_______________________________________________
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.

  • Follow-Ups:
    • Re: [ANN] irregular shaped buttons class
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Hard Objc-Runtime question: objc_getClassList lies to me...
  • Next by Date: Fwd: NSTextFild help
  • Previous by thread: Debug problem
  • Next by thread: Re: [ANN] irregular shaped buttons class
  • Index(es):
    • Date
    • Thread