26#ifndef NCBusyIndicator_h
27#define NCBusyIndicator_h
31#include <yui/YBusyIndicator.h>
41class NCBusyIndicator :
public YBusyIndicator,
public NCWidget
45 friend std::ostream & operator<<( std::ostream & str,
const NCBusyIndicator & obj );
47 NCBusyIndicator & operator=(
const NCBusyIndicator & );
48 NCBusyIndicator(
const NCBusyIndicator & );
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();
80 NCBusyIndicator( YWidget * parent,
81 const std::string & label,
83 virtual ~NCBusyIndicator();
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 );
Definition NCBusyIndicator.h:42
virtual void wRedraw()
Definition NCBusyIndicator.cc:275
virtual void setEnabled(bool do_bv)
Definition NCBusyIndicator.cc:122
void handler(int sig_num)
Definition NCBusyIndicator.cc:193
virtual void setAlive(bool newAlive)
Definition NCBusyIndicator.cc:252
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