lpcware

Redraw Question - Graph Markers

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by birdbren on Wed Apr 30 13:42:36 MST 2014
I’m using EmWin – I’m working with the graph function – I have created objects and a couple of markers that I move back and forth along the graph. The problem I’m having is that the graph appears to redrawing all the objects when I move a marker along the graph and it slows up the functionality the more objects I have on the graph. Is there away (or any sample code) that would allow me just to redraw the marker and not the whole object. I thinking I need to use the validate call but there done not seem to be pone for the graph object – anyway and help on this would be appreciated.

Should the window invalidate / validate be used?

Any assistance gudiance would be apprciates.

Outcomes