Compiler Error for canvas after update to TouchGFX Version 4.23.0
Hello all,
I just updated my project to Version 4.23.0 and now get a compiler error for the creation of a canvas.
The update info tells, that there has been done a change, but there is no example and I don't know how to fix this.
Original code for the construction:
Canvas canvas(this, invalidatedArea);
But now the parameters have changed:
| Canvas | ( | const AbstractPainter *const | painter , | ||
| const Rect & | canvasAreaAbs , | ||||
| const Rect & | invalidatedAreaRel , | ||||
| uint8_t | globalAlpha | ||||
| ) |
Can anybody tell, how to set correct parameters and what they represent?
The code for the canvas was taken from github for a graphics canvas "abstractgraph.cpp", therefore I am lost and don't know what these parameters will do.
Any help is very much appreciated.
Thank you and have a Merry Christmas!!!
BR GS
