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

BaseView invalidate() - use bit flags instead of booleans #59

Open
Swiley opened this issue Oct 13, 2016 · 0 comments
Open

BaseView invalidate() - use bit flags instead of booleans #59

Swiley opened this issue Oct 13, 2016 · 0 comments

Comments

@Swiley
Copy link
Contributor

Swiley commented Oct 13, 2016

@benjaminbojko's idea In reference to BaseView's :
inline void invalidate(const bool transforms, const bool content);

"One idea I had just to keep for the future potentially was to use bit flags instead of booleans. That way we could add up to 32 options to invalidate and sub-classes could add their own. E.g. the FboView and TextView could use the same method."

@benjaminbojko benjaminbojko mentioned this issue Jul 23, 2017
2 tasks
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