madhu Posted July 11, 2016 Report Posted July 11, 2016 (edited) Hi, I would like to implement screen transition in my project that means I need to navigate form one window to other by clicking a button. I have gone through existing domes but I did not find anything related to my requirement. Please help me if some knows how to do it. Edited July 11, 2016 by madhu
Joel Bodenmann Posted July 11, 2016 Report Posted July 11, 2016 Changing from one screen to another is done by using containers and then switching their visibility. You might want to use the µGFX-Studio for this, it allows you create display pages in the left "Display Pages" pane and it will generate the high-level code to change between them (namely guiShowPage()). If you need a real-life example you might want to have a look at the code of this example project which uses a button to change between two different display pages: As µGFX applications are fully portable you should be able to take the application code and run it on your own hardware or compiling it on Windows/Linux/OS X to give it a try. When it comes to transitions: Currently µGFX doesn't provide a framework to handle animations. You'd have to code them yourself. I hope that helps. Please don't hesitate to ask if you have any other questions.
Maia Posted December 20, 2017 Report Posted December 20, 2017 Hi, Any guidelines on how to implement animated screen transitions? regards, Ricardo
Joel Bodenmann Posted December 26, 2017 Report Posted December 26, 2017 Hello @Maia and welcome to the µGFX-Community! Do you have any specific questions? At the end you really need to handle the animation yourself. You can use the GTIMER module for timers for the animation.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now