On Tue, Feb 04, 2003 at 11:56:39 -0800, Tim Hockin wrote:
Defining a proper cross-platform GUI system will be
fun. I see four levels
of UI from plugins:
1) none - host can autogenerate from hints
2) layout - plugin provides XML or something suggesting it's UI, host draws
it
3) graphics+layout - plugin provides XML or something as well as graphics -
host is responsible for animating according to plugin spec
These three are not useful, because it doesn't allow custom UI objects to
be drawn, eg. compressor curves, meters etc, which is the whole point.
4) total - plugin provides binary UI code (possibly
bytecode or lib calls)
bytecode would be too slow I think, the maths for some UI work is quite
heavy.
- Steve