crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
9a82474a
ROOT
/
widgets
/
gauge
/
gauge.go
Search
History
337 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
progressType
String
()
:
string
progressTypeNames
progressTypePercent
progressTypeAbsolute
Gauge
pt
:
progressType
current
:
int
total
:
int
mu
:
sync.Mutex
opts
:
*options
New
(opts ...Option)
:
(*Gauge, error)
*Gauge
Absolute
(done, total int, opts ...Option)
:
error
Percent
(p int, opts ...Option)
:
error
width
(ar image.Rectangle)
:
int
hasBorder
()
:
bool
usable
(cvs *canvas.Canvas)
:
image.Rectangle
progressText
()
:
string
gaugeText
()
:
string
drawText
(cvs *canvas.Canvas, progress image.Rectangle)
:
error
Draw
(cvs *canvas.Canvas, meta *widgetapi.Meta)
:
error
Keyboard
(k *terminalapi.Keyboard)
:
error
Mouse
(m *terminalapi.Mouse)
:
error
maxSize
()
:
image.Point
minSize
()
:
image.Point
Options
()
:
widgetapi.Options
All occurrences
Please wait...
Page is in error, reload to recover