mirror of
https://github.com/navidys/tvxwidgets.git
synced 2025-04-30 13:48:57 +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.
|
||||
func (g *UtilModeGauge) GetValue() float64 {
|
||||
return g.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user