nice-curses ~master (2019-06-16T16:28:04Z)
Dub
Repo
ProgressBar
nice
ui
elements
Undocumented in source.
class
ProgressBar : UIElement {
protected
Config
cfg
;
protected
double
percentage_
;
struct
Config
;
this
(UI ui, int nlines, int ncols, int y, int x, Config cfg);
double
percentage
();
void
percentage
(double p);
void
draw
(bool active);
}
Constructors
this
this
(UI ui, int nlines, int ncols, int y, int x, Config cfg)
Undocumented in source.
Members
Functions
draw
void
draw
(bool active)
Undocumented in source. Be warned that the author may not have intended to support it.
percentage
double
percentage
()
Undocumented in source. Be warned that the author may not have intended to support it.
percentage
void
percentage
(double p)
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
Config
struct
Config
Undocumented in source.
Variables
cfg
Config
cfg
;
Undocumented in source.
percentage_
double
percentage_
;
Undocumented in source.
Meta
Source
See Implementation
nice
ui
elements
classes
Button
CheckBox
Label
Menu
NumberBox
ProgressBar
TextInput