hV_Graphics — Gauge
The gauge graphic displays one value on a circular dial.
The gGauge is a class and contains, apart from the constructor, two functions: dDefine and draw. Temporary minimum and maximum values can be noticed with a green and red dot. All parameters are integers with an optional unit. A gauge is declared with the gGauge class: The gGauge class has two functions:
|
The new library uses integers only to save memory (no need for the 6KB real library!) and processing power.
The graphic is updated only if the value passed is different from the previous one. This allows smoother graphics and faster drawing. |