Control icon indicating copy to clipboard operation
Control copied to clipboard

Move all Widgets to Canvas

Open charlieroberts opened this issue 14 years ago • 1 comments

Android multitouch works inside of single DOM elements, therefore all widgets have to be drawn into a single Canvas. Hopefully, with optimization, this will be more efficient than the current drawing mechanisms anyways.

charlieroberts avatar May 20 '11 19:05 charlieroberts

Errrrr... hmmm. Even with my attempts to optimize and draw correctly canvas still seems -really- slow compared to DOM methods. I did implement canvas drawing for every single widget, maybe a better step would be to have this be an optional widget attribute like it is for the MultiButton widget.

I also realized that all my events are being handled by the parent container layer... this might suffice for Android multitouch to work if the events all bubble up.

charlieroberts avatar Jun 02 '11 19:06 charlieroberts