sojamo / controlp5

A gui library for processing.org
GNU Lesser General Public License v2.1
490 stars 142 forks source link

Textfield colour functions #122

Open RichardDL99 opened 6 years ago

RichardDL99 commented 6 years ago

While looking at the possible ways of getting colour on textlabel (previous issue) I tried all the colour options on the textfield. Several seem to do the same as others. Are they really the same? Is there a few words of documentation on each to explain their purposes?

.setColorActive // border colour when selected. .setColorBackground // background colour

.setColor // text colour .setColorForeground // text colour .setColorValue // text colour .setColorValueLabel // text colour

.setColorCaptionLabel // caption label colour .setColorLabel // caption label colour