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

NumberWidget

Constructs a new number widget.
Syntax
NumberWidget(display,x,y,w,h,padding,bkgndColour,digitColour,displayColour,numDigits,numDecimals,minVal,maxVal)
 
Parameters
TypeNameDescription
'display'
The graphic display to show this widget on.
'x'
The number of pixels from the left side of the display to the left side of the widget.
'y'
The number of pixels from the top of the display to the top of the widget.
'w'
The width of the widget in pixels.
'h'
The height of the widget in pixels.
'padding'
The size, in pixels, of the border around the widget that will be shown in the background colour.
'bkgndColour'
The background colour of the widget rectangle
'digitColour'
The foreground colour of the numerical digits.
'displayColour'
The background colour of the numerical digits.
'numDigits'
The number of digits to be shown to the left of the decimal point.
'numDecimals'
The number of digits to be shown to the right of the decimal point.
'minVal'
The minimum value that can be shown by the widget.
'maxVal'
The maximum value that can be shown by the widget.
Returns
None

 

 

Valid XHTML 1.0 Transitional