lists at mangomultimedia.com
Thu Feb 25 19:45:38 EST 2016
On Thursday, February 25, 2016, Terence Heaford <t.heaford at icloud.com
> > On 25 Feb 2016, at 14:30, Trevor DeVore <lists at mangomultimedia.com>
> > I don't think this is the case. Widgets provide (or at least will
> > an excellent platform for building out a custom control like a Widget.
> I am not sure precisely how Livecode builder works in comparison to the
> live code script engine but
> I assume they both compile to byte code.
While how the code compiles is interesting, the more interesting part to
me is how widgets are rendered. A widget has an OnPaint event where you
specify what should be drawn in the widgets rectangle. You draw lines,
text, etc. using LCB drawing code. You only draw exactly what you
need. This is much more efficient than the engine rendering a lot of field
objects nested within multiple groups.
More information about the Use-livecode