25 #define YUILogComponent "ncurses"
26 #include <yui/YUILog.h>
28 #include "NCButtonBox.h"
31 NCButtonBox::NCButtonBox( YWidget * parent )
32 : YButtonBox( parent )
35 yuiDebug() << std::endl;
40 NCButtonBox::~NCButtonBox()
42 yuiDebug() << std::endl;
46 void NCButtonBox::setSize(
int newWidth,
int newHeight )
48 wRelocate(
wpos( 0 ),
wsze( newHeight, newWidth ) );
49 YButtonBox::setSize( newWidth, newHeight );
56 YButtonBox::setEnabled( do_bv );
60 void NCButtonBox::moveChild( YWidget * child,
int newX,
int newY )
64 if ( !( cw && IsParentOf( *cw ) ) )
66 yuiError() << DLOC << cw <<
" is not my child" << std::endl;
70 wMoveChildTo( *cw,
wpos( newY, newX ) );