nice-curses ~master (2019-06-16T16:28:04Z)
Dub
Repo
NumberBox
nice
ui
elements
Undocumented in source.
class
NumberBox : UIElement {
protected
int
value_
;
protected
Config
cfg
;
int
value
();
int
value
(int k);
class
Signal
;
struct
Config
;
this
(UI ui, int nlines, int ncols, int y, int x, int startingValue, Config cfg);
bool
keystroke
(WChar key);
void
draw
(bool active);
}
Constructors
this
this
(UI ui, int nlines, int ncols, int y, int x, int startingValue, Config cfg)
Undocumented in source.
Members
Classes
Signal
class
Signal
Undocumented in source.
Functions
draw
void
draw
(bool active)
Undocumented in source. Be warned that the author may not have intended to support it.
keystroke
bool
keystroke
(WChar key)
Undocumented in source. Be warned that the author may not have intended to support it.
value
int
value
()
Undocumented in source. Be warned that the author may not have intended to support it.
value
int
value
(int k)
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.
value_
int
value_
;
Undocumented in source.
Meta
Source
See Implementation
nice
ui
elements
classes
Button
CheckBox
Label
Menu
NumberBox
ProgressBar
TextInput