WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

setMercuryColour

Changes the colour of the mercury in the thermometer.
Syntax
ThermometerWidget. setMercuryColour(mercuryColour)
 
Parameters
TypeNameDescription
'mercuryColour'
The colour of the mercury in the thermometer.
Returns
None
Note
You must call the 'draw' function to redisplay the widget using the new colour. This is not done automatically as you may be making several changes at the same time.

 

 

Valid XHTML 1.0 Transitional