25 #define YUILogComponent "ncurses"
26 #include <yui/YUILog.h>
28 #include "NCLayoutBox.h"
31 NCLayoutBox::NCLayoutBox( YWidget * parent,
32 YUIDimension dimension )
33 : YLayoutBox( parent, dimension )
36 yuiDebug() << std::endl;
41 NCLayoutBox::~NCLayoutBox()
43 yuiDebug() << std::endl;
47 void NCLayoutBox::setSize(
int newwidth,
int newheight )
49 wRelocate(
wpos( 0 ),
wsze( newheight, newwidth ) );
50 YLayoutBox::setSize( newwidth, newheight );
57 YLayoutBox::setEnabled( do_bv );
61 void NCLayoutBox::moveChild( YWidget * child,
int newx,
int newy )
65 if ( !( cw && IsParentOf( *cw ) ) )
67 yuiError() << DLOC << cw <<
" is not my child" << std::endl;
71 wMoveChildTo( *cw,
wpos( newy, newx ) );
virtual void setEnabled(bool do_bv)