XForms: Re: TC's hint about Composite Objects!

Rob Fletcher (rpf1@york.ac.uk)
Tue, 11 Nov 1997 09:54:34 +0000 (GMT)

To subscribers of the xforms list from Rob Fletcher <rpf1@york.ac.uk> :

On Sat, 8 Nov 1997, Dr. T.C. Zhao wrote:

> To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

> >I view this as a "feature" and ask that it be documented as such.
> There appear to be opportunities to make the interaction between
> the internal callback and application better via some systematic
> approach, an essential part of composite object. Composite object
> now works, but service by the main driver is minimal. I expect
> a new Chapter on the composite object in the near future that
> will address this particular feature and much more. So for now,
> I will just add some comments about how the tabbedfolder works.

Aha ... composite objects eh? ... I have been watching/waiting
for this (as you know TC!). How far has this progressed?

If I build a composite object ... e.g. "mixer strip" for an
audio mixer ... will I be able to do this (in pseudo code!)

mixer_strip = fl_begin_composite_object();
... fl_create_ slider, buttons, dials etc ...
... fl_add_to_composite_object(mixer_strip,slider);
... fl_add_to_composite_object(mixer_strip,gain);
...
fl_end_composite_object();

then ... do

channel_1 = fl_instance_composite_object(mixer_strip);
channel_2 = fl_instance_composite_object(mixer_strip);
...

and then ...

channel_1_gain = fl_get_slider_value( channel_1->slider);
channel_2_gain = fl_get_slider_value( channel_2->slider);

=======

What I don't want is to have e.g. 16 different sliders
channel_1_slider ...-> channel_2_slider

not so bad ... but when we get to things like the eq section,
e.g. a 4 band sweepable (i.e. a 4 freq and 4 gains), then
multiply by 16 and so on, the whole lot gets rather
unmanageable. OK, it's doable, but the composite object
would make life oh so much easier ...

Regards, Rob
+===========================+=======================================+
| Dr R P Fletcher (Rob) | Email R.Fletcher@york.ac.uk |
| Graphics Coordinator | Phone +44 1904 433816 (ddi) |
| Computing Service | Frontdesk +44 1904 433800 (ddi) |
| University of York | Fax +44 1904 433740 |
| YORK YO1 5DD, UK | DU Moo Rob_F |
| www.york.ac.uk/~rpf1/ or www.geocities.com/SiliconValley/Bay/8428/|
| The RobCam: www.york.ac.uk/~rpf1/robcam.html |
+===================================================================+

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/