Go Down

Topic: TFT library add Colour class (Read 328 times) previous topic - next topic

cdan

Hello,
I am using the TFT library and found myself handling different colours for background, stroke for in range values, stroke for out of range values etc. I would very much appreciate having a Colour class that could hold the R,G,B values. That would greatly simplify things when dealing with multiple colours.
There would be only 2 methods that need overloading: stroke() and background() .
What do you say? I am willing to do the changes if others think it would improve the library.

What is the usual way of contributing code to the libraries?
Best regards,
Dan.

P.S.
Is it possible to search for a term only in one of the topics on this forum?

robtillaart

Quote
P.S.
Is it possible to search for a term only in one of the topics on this forum?

fastest way to search is

google:  TFT +":: Other Software Development" site:arduino.cc
The + is an AND operator
the "" makes a literal string == all words
site: is a filter


so the answer is yes.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up