Question
Define color variables for TouchGFX UI
Hi everyone.
I've been trying to create an header file with some default colors for an user interface. Apparently, TouchGFX has a struct called colortype that is used as a type for colors. I created an .hpp file, included touchgfx/Color.hpp and tried to define variables with type "colortype". It doesn't build, I get the compiler message " 'colortype' does not name a type". What would be a proper way of defining some global default colors into a header file to be included into other ui files?
