26 #ifndef NCBusyIndicator_h 27 #define NCBusyIndicator_h 31 #include <yui/YBusyIndicator.h> 45 friend std::ostream & operator<<( std::ostream & str,
const NCBusyIndicator & obj );
50 typedef long long Value_t;
65 float _timer_progress;
71 virtual const char * location()
const {
return "NCBusyIndicator"; }
73 virtual void wCreate(
const wrect & newrect );
74 virtual void wDelete();
81 const std::string & label,
85 virtual int preferredWidth();
86 virtual int preferredHeight();
88 virtual void setSize(
int newWidth,
int newHeight );
90 virtual void setLabel(
const std::string & nlabel );
92 virtual void setTimeout(
int newTimeout );
94 virtual void setAlive(
bool newAlive );
98 int timeout()
const {
return _timeout; }
102 static void staticHandler(
int sig_num );
106 #endif // NCBusyIndicator_h C++ class for windows.
Definition: ncursesw.h:906
Definition: NCBusyIndicator.h:41
virtual void setAlive(bool newAlive)
Definition: NCBusyIndicator.cc:252
virtual void setEnabled(bool do_bv)
Definition: NCBusyIndicator.cc:122
A rectangle is defined by its position and size: wpos Pos, wsze Sze.
Definition: position.h:193
void handler(int sig_num)
Definition: NCBusyIndicator.cc:193
virtual void wRedraw()
Definition: NCBusyIndicator.cc:275
Multi-line string, with optional hotkey, drawable.
Definition: NCtext.h:81