mirror of
https://github.com/navidys/tvxwidgets.git
synced 2025-05-01 22:18:14 +08:00
Update gauge_um.go
Need this change for a personal project
This commit is contained in:
parent
71c13a7a36
commit
f74e16ce07
@ -89,6 +89,11 @@ func (g *UtilModeGauge) SetValue(value float64) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetEmptyColor sets empty gauge color.
|
||||||
|
func (g *UtilModeGauge) SetEmptyColor (color tcell.Color) {
|
||||||
|
g.emptyColor = color
|
||||||
|
}
|
||||||
|
|
||||||
// GetValue returns current gauge value.
|
// GetValue returns current gauge value.
|
||||||
func (g *UtilModeGauge) GetValue() float64 {
|
func (g *UtilModeGauge) GetValue() float64 {
|
||||||
return g.pc
|
return g.pc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user