Nicool
05-21-2003, 01:21 PM
Hye,
_As you know, build a UI isn't always very interesting. The UI make visible all the parameter of a function... So why don't make the UI to be procedural !
_E.G.
proc myFunction (string $name, int $nb, float $size) {
...;
}
So the procedural UI would add a textfield for the string, a slider for the int and the float, a square for a bool...
_I think it should be interesting to code something a lib (in mel) that is called by a script using a function.
Like : buildUI(myFunction);
Your opinion ?
_As you know, build a UI isn't always very interesting. The UI make visible all the parameter of a function... So why don't make the UI to be procedural !
_E.G.
proc myFunction (string $name, int $nb, float $size) {
...;
}
So the procedural UI would add a textfield for the string, a slider for the int and the float, a square for a bool...
_I think it should be interesting to code something a lib (in mel) that is called by a script using a function.
Like : buildUI(myFunction);
Your opinion ?
