Re: AudioUnits and compositing windows (was AudioUnits and Cocoa UI)
Re: AudioUnits and compositing windows (was AudioUnits and Cocoa UI)
- Subject: Re: AudioUnits and compositing windows (was AudioUnits and Cocoa UI)
- From: Urs Heckmann <email@hidden>
- Date: Tue, 18 Mar 2003 14:36:37 +0100
Am Dienstag, 18.03.03, um 13:45 Uhr (Europe/Berlin) schrieb Airy Andri:
Uh-hu, I always thought it's the EmbedControl in AUBase that screws
it up...
In my SDK, in AUCarbonViewBase, I have :
if (attributes & kWindowCompositingAttribute) {
verify_noerr(::HIViewAddSubview(inParentControl, mCarbonPane));
mXOffset = 0;
mYOffset = 0;
}
else {
verify_noerr(::EmbedControl(mCarbonPane, inParentControl));
mXOffset = inLocation.x;
mYOffset = inLocation.y;
}
seems to be pretty easy...
... is there already an example host that does Compositing Windows?
Shouldn't AUHosting have it?
Just make a copy of SynthTest, open the nib, select the window for the
AU GUI, click on "compositing", save.
You've make one.
Embarrassing I havn't thought about that.
SynthTest in brushed metal look mmmmhhhmm...
What do you call a file loader class ?
Loading files (i.e. AIFF, samples) and displaying as a scrollable list
with drag'n'drop support...
Our new multipane is automatically built from nib files, and
automatically switch its content according to its value (and can be
bound to a AU parameter...).
I'll check it out! - Mine sports 2 dimensions: Layers and Groups, so
you can have global changes (Layers with backgrounds, only one per
time) as well as optional changes (Groups which can be switched on and
off, as many as you like), both approaches intermixable 8-b
No user code needed at all :-)
Hehe, I don't trust things that I don't code myself, even if they work
as flawless as NIB stuff...
Is it that you are talking about (loading its content from nib files) ?
No. See above, the only common thing I can think of that can't be
represented by current AU Parameter scheme is files. It'll be one of my
next challenges implementing clever file handling in an AU and its
View. Drag and Drop plus Scrapbook Copy/Paste would be nice add ons for
that...
Cheers,
;) Urs
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.