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

setNeedleColour

Change the needle colour at runtime.
For example: if your dial represents a 'fuel gauge' then you may want the needle to change to red when the fuel level is getting low.
Syntax
DialWidget. setNeedleColour(needleColour)
 
Parameters
TypeNameDescription
'needleColour'
The colour of the needle.
Returns
None
Note
The needle will be shown in the new colour on the next call to 'update'.

 

 

Valid XHTML 1.0 Transitional