From: Duilio J. P. <dp...@fc...> - 2004-10-05 05:38:00
|
> I think that parsing just the VisParamEntries won't provide a nice > user interface experience, especially when it comes to big > lists of VisParamEntries. The VisUI module could give some hints > to the UI builder like, grouping, what kind of input entry, lay > restrictions on the input. VisUI won't be complex, or big, it's just > a few extra hints so a way nicer UI can be build. > > My 2cents. > > Cheers, > Dennis Oh, I see now what are your plans for VisUI! But, how exactly we can give that hints. I remember you have mentioned something like libglade does. Doing with the thing we have now won't be difficult: - grouping of params could be done changing to a VisList of VisParamContainer's on VisPluginData structure. - lay restrictions on the input could be done adding a pointer to a 'validator' function, which returns TRUE if the given value for the VisParam a valid one (and probably also return a message string in case of error), and will be provided by the plugin writer. But well, VisUI still being a good idea, I suggest these easy changes just to concentrate on other things for a while, like VisFont and the actual libvisual-display. Bye, Duilio. |