• 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: AUView painting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUView painting


  • Subject: Re: AUView painting
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 23 Sep 2005 08:18:52 -0700


On Sep 23, 2005, at 5:12 AM, john smith wrote:

I have an AU, with an attached AUView. The view generates it's window, but I cannot figure out how to update it.


Using VST etc. I'm used to doing my painting in response to a paint() or similiar call.

However, I'm unable to find anything similiar in the AUView class.


If you're implementing an AUView, you'll need to know how to use the Cocoa frameworks. An AUView is a subclass of AppKit's NSView, which defines all the infrastructure for drawing, handling events, etc. Specifically, to draw your own content you override the -drawRect: method. Although usually, you would instead use that view as a container, putting subviews (buttons, sliders, text fields...) into it with Interface Builder and wiring up your code to those.

If you haven't read up on Cocoa or gone through any of the AppKit tutorials, you really should do that first!

--Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AUView painting
      • From: "john smith" <email@hidden>
References: 
 >AUView painting (From: "john smith" <email@hidden>)

  • Prev by Date: Re: Chunk?
  • Next by Date: Re: Newbie question: Making Jaguar compatible AU Instrument
  • Previous by thread: AUView painting
  • Next by thread: Re: AUView painting
  • Index(es):
    • Date
    • Thread