On Thursday, February 25, 2016, Terence Heaford <[email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
> > > On 25 Feb 2016, at 14:30, Trevor DeVore <[email protected]> > wrote: > > > > I don't think this is the case. Widgets provide (or at least will > provide) > > 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. -- Trevor DeVore _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
