kengineer Posted July 22, 2016 Report Share Posted July 22, 2016 I know immediate redraw can be configured globally by setting the appropriate config however I was wondering if there was a way to implement immediate redraw only by function call. Originally I've had ugfx configured for default normal redraw mode. Often when I'm doing a screen transition along with hiding and showing new widgets, I'm also doing some gwin draw functions. However, I've run into a situation where because of the normal redraw mode (not immediate) it ends up out of sequence and therefore doesn't yield the desired result always. Globally enabling immediate redraw solves this, but I'm wondering if there's a call that I can invoke in order to do this on an as needed basis. Would gwinRedraw() work for this? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 22, 2016 Report Share Posted July 22, 2016 Using gwinRedraw() is indeed what should use if you have to force a redraw yourself. Link to comment Share on other sites More sharing options...
kengineer Posted July 22, 2016 Author Report Share Posted July 22, 2016 Thanks for the info Joel! 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