25 #define YUILogComponent "ncurses"
26 #include <yui/YUILog.h>
28 #include "NCSpacing.h"
32 NCSpacing::NCSpacing( YWidget * parent,
35 YLayoutSize_t layoutUnits )
36 : YSpacing( parent, dim, stretchable, layoutUnits )
39 yuiDebug() << std::endl;
41 if ( dim == YD_VERT ) l =
"NC(V)Spacing";
42 else if ( dim == YD_HORIZ ) l =
"NC(H)Spacing";
43 else l =
"NC(N)Spacing";
50 NCSpacing::~NCSpacing()
52 yuiDebug() << std::endl;
56 void NCSpacing::setSize(
int newwidth,
int newheight )
58 wRelocate(
wpos( 0 ),
wsze( newheight, newwidth ) );
65 YSpacing::setEnabled( do_bv );
virtual void setEnabled(bool do_bv)