TouchGFX removed Color.hpp include necessary for digitalClock widget
I have a project with a little status bar at top of the screen. I have used the custom container function. Along with some other status icons it shows time via the digital clock widget. This widget needs the include
#include <touchgfx/Color.hpp>as it is basically a text filed that is manipulated by clock functions. While working on the project it was decided that we remove a former present text are as it was not longer needed. The removal resultet in an error while compiling the project in STM32CubeIDE showing the following error:
Description Resource Path Location Type
'touchgfx::Color' has not been declared infoBarBase.cpp /STM32F429I-DISCO/Application/User/generated line 19 C/C++ ProblemIf I add the additional and gui-wise unneeded text area the code will work fine as TouchGFX adds the color.hpp include in the custom container base file. But why does TouchGFX remove the still needed include in the first place? I could just add a hidden text area for it to work but this is no satisfying solution.