-
Notifications
You must be signed in to change notification settings - Fork 74
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
Implement Screen Transitions like on the real PineTime #13
Comments
It's not the speed, it's just the lack of switching animation 🙈 I haven't implemented the screen switching animations and I don't quite know how. As far as I know the pinetime has some kind of hardware support for this switching, but I don't know much more about it. Would be really awesome if the switching could get implemented |
maybe the screen loading API can help https://docs.lvgl.io/7.11/overview/object.html#load-screens |
Move lvgl display init from main.cpp into LittleVgl.cpp to be closer to InfiniTime, where display initialization is also done in LitteVgl.cpp. Enable the original FlushDisplay code to get the screen transition animations like on the real PineTime. Also slow down the rendering, to actually be able to see the screen flushing. For the Up and Down screen transitions implement the screen movement. When moving Down, move the the whole screen content down, and then draw the new part of the new screen at the top of the display. Repeat until screen transition is finished. Fixes: #13
Move lvgl display init from main.cpp into LittleVgl.cpp to be closer to InfiniTime, where display initialization is also done in LitteVgl.cpp. Enable the original FlushDisplay code to get the screen transition animations like on the real PineTime. Also slow down the rendering, to actually be able to see the screen flushing. For the Up and Down screen transitions implement the screen movement. When moving Down, move the the whole screen content down, and then draw the new part of the new screen at the top of the display. Repeat until screen transition is finished. Fixes: #13
Fixed with #37 |
On the real Pinetime, there is a little animation for scrolling that doesn't show up on the simulated. I assume it's because the clock speed on my laptop is way faster than the Pinetime. Is it possible to purposely slow down the speed of the code to simulate the speed of the real Pinetime and therefore display the animations?
The text was updated successfully, but these errors were encountered: