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

Rework drawing system to only draw what is necessary #6

Open
dsamarin opened this issue Jun 12, 2011 · 1 comment
Open

Rework drawing system to only draw what is necessary #6

dsamarin opened this issue Jun 12, 2011 · 1 comment

Comments

@dsamarin
Copy link
Member

Currently, all widgets are redrawn every time something needs to be updated. We should think about having each widget create it's own element. This might slow down re-sizing and allocation, however, but widgets will only have to draw to a single element and the browser will worry about superimposing each widget on top of each other. Events like onenter, onleave will be easier to implement this way.

@dsamarin
Copy link
Member Author

dsamarin commented Aug 7, 2011

Thanks to the magic of position: absolute, this has become a reality :) Work is beginning on suit.Window which is a rectangular space with its own element, coordinates, and canvas.

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