Sitution: Newbie with interface for a music app. I have 2 large images, one the master 'up' or normal view, the other the complete 'down' view. (Buttons all pressed, lit, etc, LED's on, etc). Might have a couple smaller images as well to copy over.
In Carbon, and old Mac OS, I would load up 2 GWorlds with each image, then use Copybits to copy over whatever subrect for the button was clicked as needed, and blit as appropriate to the window.
While I gather that I could still use this approach in Cocoa, it's deprecated, time to go modern so:
Q: What to substitute this old Copybits approach with in Cocoa? (rather simple was the prior) : ) Restated, what would be among the best (and best for newbie) approaches for doing similar in Cocoa...for making an image and various subrects into graphical working buttons? Deal with the clicks?
Examples of goal here: similar to GarageBand, etc, or any nice looking VST instrument interface where they duplicate an analogue classic (Moog, etc) Basically, taking an image of a synth and making the 'buttons' and knobs work in Cocoa.
I was thinking I would be needing NSView and some Quartz, then reading here, came to think NSOpenGLView perhaps. Then I read about NSButtonCell perhaps? Make the image(s) a custom control? Needs to be relatively speedy, since a lot of MIDI I/O and processing may be going on at the same time.