Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move all Widgets to Canvas #4

Open
charlieroberts opened this issue May 20, 2011 · 1 comment
Open

Move all Widgets to Canvas #4

charlieroberts opened this issue May 20, 2011 · 1 comment
Assignees

Comments

@charlieroberts
Copy link
Owner

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.

@ghost ghost assigned charlieroberts May 20, 2011
@charlieroberts
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant