• 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: Apple Aperture-like look & feel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Aperture-like look & feel


  • Subject: Re: Apple Aperture-like look & feel
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 20 Aug 2012 19:11:59 +0200

On Aug 20, 2012, at 7:03 PM, Uli Kusterer <email@hidden> wrote:
> essentially subclass all the controls and override drawRect: (and mouseDown: where needed) to get our custom graphics in there.

One note: Many controls on the Mac are NSCell-based NSControls, in which case you generally want to override the drawBezelWithFrame:inView, drawWithFrame:inView: etc. methods.

Also, I think scrollers were also a bit iffy when used as overlay scrollers: I think drawRect: wasn't called and instead the drawKnob method was called directly, or something like that. It's been a while. But I must have had a bad day doing NSScroller, because I later found out simpler ways of doing some things, so don't quote me on this and ignore it if it works for you.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Apple Aperture-like look & feel
      • From: Nick <email@hidden>
References: 
 >Apple Aperture-like look & feel (From: Nick <email@hidden>)
 >Re: Apple Aperture-like look & feel (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Apple Aperture-like look & feel
  • Next by Date: Re: Apple Aperture-like look & feel
  • Previous by thread: Re: Apple Aperture-like look & feel
  • Next by thread: Re: Apple Aperture-like look & feel
  • Index(es):
    • Date
    • Thread