Pages: [1]   Go Down
Author Topic: TFT library add Colour class  (Read 265 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13469
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Rob Tillaart

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

Pages: [1]   Go Up
Jump to: