PressureWidget

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

measure
void measure(int parentWidth, int parentHeight)

Measure widget according to desired width and height constraints. (Step 1 of two phase layout).

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

setPressure
void setPressure(double press, bool proximity)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_activeFrameColor
uint _activeFrameColor;
Undocumented in source.
_currentPressure
double _currentPressure;
Undocumented in source.
_currentProximity
bool _currentProximity;
Undocumented in source.
_gaugeColor
uint _gaugeColor;
Undocumented in source.
_inactiveFrameColor
uint _inactiveFrameColor;
Undocumented in source.

Meta