You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a project where I have an amount of text that is slightly longer than my display. For this, I was planning to implement a custom "peek" scroll mode which scrolls back and forth just enough to show the content of the line.
Upon looking at the code, it looks like this would require a commit to SmartMatrix to add support, as there isn't currently a mechanism to supply a custom implementation. I'd like to help and am willing to submit patches, would the maintainers accept patches for one of the below? Which is preferred?
Adding a new scroll mode directly to the enum and implement in LayerScrolling_impl.h
Adding a new ScrollMode class with the appropriate hooks, and add my own scroll mode there
Same as 2. but with additional refactoring to change the existing ScrollMode implementations to classes as well.
Thanks for the support and the excellent library!
The text was updated successfully, but these errors were encountered:
Have you tried all the existing modes? It seems like there's a mode that works as you describe, but maybe not.
Scrolling text is one of the least important features for me right now, so I'll likely only accept a patch if it's updating Layer_Gfx_Mono_Impl.h (which has the most recent implementation of scrolling), and is very easy to review, test, and accept.
Hello,
I'm currently working on a project where I have an amount of text that is slightly longer than my display. For this, I was planning to implement a custom "peek" scroll mode which scrolls back and forth just enough to show the content of the line.
Upon looking at the code, it looks like this would require a commit to SmartMatrix to add support, as there isn't currently a mechanism to supply a custom implementation. I'd like to help and am willing to submit patches, would the maintainers accept patches for one of the below? Which is preferred?
LayerScrolling_impl.h
ScrollMode
class with the appropriate hooks, and add my own scroll mode thereThanks for the support and the excellent library!
The text was updated successfully, but these errors were encountered: