25 #define YUILogComponent "ncurses"
26 #include <yui/YUILog.h>
31 NCImage::NCImage( YWidget * parent, std::string defaulttext,
bool animated )
32 : YImage( parent, defaulttext, animated )
34 , label( defaulttext )
36 yuiDebug() << std::endl;
45 yuiDebug() << std::endl;
49 int NCImage::preferredWidth()
51 return wGetDefsze().W;
55 int NCImage::preferredHeight()
57 return wGetDefsze().H;
64 YImage::setEnabled( do_bv );
69 void NCImage::setSize(
int newwidth,
int newheight )
71 wRelocate(
wpos( 0 ),
wsze( newheight, newwidth ) );
virtual void setEnabled(bool do_bv)