On Thursday, February 25, 2016, Terence Heaford <t.heaf...@icloud.com <javascript:_e(%7B%7D,'cvml','t.heaf...@icloud.com');>> wrote:
> > > On 25 Feb 2016, at 14:30, Trevor DeVore <li...@mangomultimedia.com> > 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 use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode