cancel
Showing results for 
Search instead for 
Did you mean: 

please fix the bug in code generated by touchgfx

MNapi
Senior III

when I try to change colour it generates

//Interaction3

       //When button1 clicked change color of shape1

       //Set RGB color R:222, G:196, B:28 on shape1

       shape1.setColor(touchgfx::Color::getColorFrom24BitRGB(222,196,28));

       shape1.invalidate();

instead of

shape1Painter.setColor(touchgfx::Color::getColorFrom24BitRGB(222,196,28));

shape1.invalidate();

it is the latest touchgfx 4.13.0

1 ACCEPTED SOLUTION

Accepted Solutions
Alexandre RENOUX
Principal

Hello,

It's indeed a bug, we will plan a fix for it. Thank you very much for the feedback.

/Alexandre

View solution in original post

1 REPLY 1
Alexandre RENOUX
Principal

Hello,

It's indeed a bug, we will plan a fix for it. Thank you very much for the feedback.

/Alexandre