Here is a way to simplify current implementation of Nextion progress bar component while making it work much faster for a fast update.
Drop the progress bar background picture. User will put image of "back plane" of the progress bar using photoshop or whatever into the page' background picture... Changing value of progress bar will only change the foreground part in relation to the page' background. Advantages:
1. placement of the progress bar is easier to do as it should match it's designed location on the page' background picture.
2. updates will be really fast as only one foreground picture needs to be updated and it is usually the smallest part of the Bar...
If users want to also have ability to change bar' background from MCU - then to the current implementation should be added a "no background picture" option ("comp.bpic=null"). Currently compiler throws error if this picture is missing.
For a better understanding give us an example
All the best,
If I am missing something, please let me know...
BTW - you can see in these images the problem which I see as a bug - the page image does not fit into the window and there is no way to scale it...
I am now reviewing all of the Feature Requests, this will take some time, patience please.
This recommendation is being carried for review.