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

setDisplayColour

Change the digit background colour at runtime.
Syntax
NumberWidget. setDisplayColour(displayColour)
 
Parameters
TypeNameDescription
'displayColour'
The background colour of the numerical digits.
Returns
None
Note
You will need to call 'draw' to redraw the widget with the new colour settings.

 

 

Valid XHTML 1.0 Transitional