-
Notifications
You must be signed in to change notification settings - Fork 21
adding tilegrid_inflator #58
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple questions (and kudos) before approving, but nothing that is specifically "requesting changes"!
@@ -12,3 +12,6 @@ | |||
|
|||
.. automodule:: adafruit_imageload.bmp.indexed | |||
:members: | |||
|
|||
.. automodule:: adafruit_imageload.tilegrid_inflator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always forget to do this, nice!
|
||
Load 3x3 spritesheet and inflate it to a larger sized TileGrid | ||
|
||
.. literalinclude:: ../examples/imageload_tilegrid_inflator_simpletest.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooo, I haven't seen this directive, I'll have to remember this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks @FoamyGuy!
Updating https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad to 1.16.0 from 1.15.5: > Merge pull request adafruit/Adafruit_CircuitPython_ImageLoad#58 from FoamyGuy/tilegrid_inflator > change discord badge > Patch: Replaced discord badge image > Update .gitignore
New helper function for inflating tilegrids, essentially helper code for what is shown on this learn guide page: https://learn.adafruit.com/circuitpython-display-support-using-displayio/multiple-tilegrids
Marking this as Draft for now, because I think it should still get an example added before merging. But I'm open to review / feedback if anyone wants to take a look.