36class NCLayoutBox :
public YLayoutBox,
public NCWidget
40 friend std::ostream & operator<<( std::ostream & str,
const NCLayoutBox & obj );
42 NCLayoutBox & operator=(
const NCLayoutBox & );
43 NCLayoutBox(
const NCLayoutBox & );
48 virtual const char * location()
const
50 return primary() == YD_HORIZ ?
"NC(H)LayoutBox" :
"NC(V)LayoutBox" ;
55 NCLayoutBox( YWidget * parent, YUIDimension dimension );
56 virtual ~NCLayoutBox();
58 virtual int preferredWidth() {
return YLayoutBox::preferredWidth(); }
59 virtual int preferredHeight() {
return YLayoutBox::preferredHeight(); }
61 virtual void setSize(
int newWidth,
int newHeight );
63 virtual void moveChild( YWidget * child,
int newx,
int newy );