Skip to main content
MNapi
Senior II
July 21, 2020
Solved

please fix the bug in code generated by touchgfx

  • July 21, 2020
  • 1 reply
  • 664 views

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

This topic has been closed for replies.
Best answer by Alexandre RENOUX

Hello,

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

/Alexandre

1 reply

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
July 22, 2020

Hello,

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

/Alexandre