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 );
virtual void setEnabled(bool do_bv)
Pure virtual to make sure every widget implements it.