cancel
Showing results for 
Search instead for 
Did you mean: 

imageProgress Widget--Is the whole progress re-rendered when setValue() is called?

scottSD
Senior III

When it comes to the imageProgress widget, can someone tell me if the entire rectangle is re-rendered (invalidated) when the function setValue() is called? Or only the parts that are changing rendered?

It appears to me that it is. Animation performance would be better if only the parts changing are rendered.

Note that I do have "Anchor progress image at zero" selected.

I did search through the TouchGFX documentation, but did not find an answer to this question.

11 REPLIES 11
Alexandre RENOUX
Principal

Hello,

With the new version of TouchGFX (4.14), the BoxProgress and the ImageProgress have been updated to only re-render the modified part.

For the ImageProgress, you need to have the image anchored at zero to render only a small part otherwise the entire image is moving which requires a complete invalidation of the image.

Hope this will help you.

/Alexandre

@Alexandre RENOUX​ 

Thanks!

I really appreciate you getting this into the latest update. I haven't taken the step to install the latest tools yet. I will do that soon.