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

TBImageManager improvements #118

Open
fruxo opened this issue Dec 10, 2016 · 0 comments
Open

TBImageManager improvements #118

fruxo opened this issue Dec 10, 2016 · 0 comments

Comments

@fruxo
Copy link
Owner

fruxo commented Dec 10, 2016

TBImageManager needs these improvements to be useful:

  • Cache with configurable size. Currently it throws away images immediately when they are not in use.
  • HasImage(name), NewImage(name) in addition to the current GetImage(name). GetImage could still load (treating name as filename) synchronously for backward compability.
  • Possibility to change image content (and probably state for EMPTY/LOADING/READY). Needs listener callbacks.

The last two points must make it possible to off-load loading to worked thread.

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