25 #ifndef NCProgressBar_h 26 #define NCProgressBar_h 30 #include <yui/YProgressBar.h> 40 friend std::ostream & operator<<( std::ostream & str,
const NCProgressBar & obj );
46 typedef long long Value_t;
59 virtual const char * location()
const {
return "NCProgressBar"; }
61 virtual void wCreate(
const wrect & newrect );
62 virtual void wDelete();
64 virtual void wRedraw();
69 const std::string & label,
73 virtual int preferredWidth();
74 virtual int preferredHeight();
76 virtual void setSize(
int newWidth,
int newHeight );
78 virtual void setLabel(
const std::string & nlabel );
80 virtual void setValue(
int newValue );
86 #endif // NCProgressBar_h C++ class for windows.
Definition: ncursesw.h:906
Definition: NCProgressBar.h:36
virtual void setEnabled(bool do_bv)
Definition: NCProgressBar.cc:77
A rectangle is defined by its position and size: wpos Pos, wsze Sze.
Definition: position.h:193
Multi-line string, with optional hotkey, drawable.
Definition: NCtext.h:81