Fabien Comte Posted November 7, 2017 Report Share Posted November 7, 2017 Hello, Is there any basic page transition animations ? (simple like a slide) Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 7, 2017 Report Share Posted November 7, 2017 Hello Fabien, There are no built-in mechanisms for this. However, it's extremely easy to implement this yourself as all of the things you need for that are exposed as high-level API. The most challenging thing will be the handling of overlapping containers but as @Steffan showed that is no biggie either: Link to comment Share on other sites More sharing options...
Fabien Comte Posted November 7, 2017 Author Report Share Posted November 7, 2017 Ok i will try that thank you. Link to comment Share on other sites More sharing options...
Steffan Posted November 7, 2017 Report Share Posted November 7, 2017 (edited) I don't want to be a party pooper, but it required some "hacking" to get to what you see there. At the time I wrote that, the window manager did not call all the neccessary functions of my custom window manager, so I had to modify the ugfx-core code. I also hacked some basic z-order functionality in. In the end it's nothing more than ordering the widgets in the lists with widgets based on this z-order. It also doesn't do anything smart at all. It just redraws the entire screen when something changes which is not really efficient. I short: What you see in that video is totally incompatible with the current uGFX, because I modifed the uGFX itself. Edited November 7, 2017 by Steffan Link to comment Share on other sites More sharing options...
inmarket Posted November 8, 2017 Report Share Posted November 8, 2017 @Stefan can you please send us the changes you made to ugfx. It has always been our intention to put more work into the window manager but we just haven't had time. Your work could possibly save us a lot of that time we never seem to have. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 8, 2017 Report Share Posted November 8, 2017 @inmarket I already have his project with the corresponding changes in uGFX. Link to comment Share on other sites More sharing options...
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