On 09.01.2008, at 10:06, MacArthur, Ian (SELEX) (UK) wrote: > I'll try and paraphrase what I think you are doing; > You have 24 input parameters that are controlling your system (music > synth?) and you want to update all 24 of these synchronously. > The values for the cells come from a stored file, and each time you > click, the next set of parameters are read from the file and written > into the input fields. > > Is that correct? Or...?
If that is so, then FLTK has everything you need. Just read the values from a Fl_Preferences database and write them into the widgets using the "value()" function. Depending on the widgets, you must convert to text first: Fl_Value_Input::value() takes a double, Fl_Input::value() takes a text string, so you write something like: char s[32]; snprint(s, 30, "%g", myValue); myInput->value(s); ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

