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
f3c638c8
ROOT
/
widgets
/
donut
/
donut.go
Search
History
315 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
progressType
String
()
:
string
progressTypeNames
progressTypePercent
progressTypeAbsolute
Donut
pt
:
progressType
current
:
int
total
:
int
mu
:
sync.Mutex
opts
:
*options
New
(opts ...Option)
:
(*Donut, error)
minSize
donutAndLabel
(cvsAr image.Rectangle)
:
(donAr, labelAr image.Rectangle, err error)
*Donut
Absolute
(done, total int, opts ...Option)
:
error
Percent
(p int, opts ...Option)
:
error
progressText
()
:
string
holeRadius
(donutRadius int)
:
int
drawText
(cvs *canvas.Canvas, mid image.Point, holeR int)
:
error
drawLabel
(cvs *canvas.Canvas, labelAr image.Rectangle)
:
error
Draw
(cvs *canvas.Canvas, meta *widgetapi.Meta)
:
error
Keyboard
(k *terminalapi.Keyboard, meta *widgetapi.EventMeta)
:
error
Mouse
(m *terminalapi.Mouse, meta *widgetapi.EventMeta)
:
error
Options
()
:
widgetapi.Options
All occurrences
Please wait...
Page is in error, reload to recover