25#ifndef NCProgressBar_h
26#define NCProgressBar_h
30#include <yui/YProgressBar.h>
36class NCProgressBar :
public YProgressBar,
public NCWidget
40 friend std::ostream & operator<<( std::ostream & str,
const NCProgressBar & obj );
42 NCProgressBar & operator=(
const NCProgressBar & );
43 NCProgressBar(
const NCProgressBar & );
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();
68 NCProgressBar( YWidget * parent,
69 const std::string & label,
71 virtual ~NCProgressBar();
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 );
Definition NCProgressBar.h:37
virtual void setEnabled(bool do_bv)
Definition NCProgressBar.cc:77
Multi-line string, with optional hotkey, drawable.
Definition NCtext.h:82
C++ class for windows.
Definition ncursesw.h:907
A rectangle is defined by its position and size: wpos Pos, wsze Sze.
Definition position.h:194