Author: gs Date: Tue Jul 17 11:13:26 2007 New Revision: 39461 URL: http://svn.opensuse.org/viewcvs/yast?rev=39461&view=rev Log: add preferredWidth()/Height(), setEnabled() Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h?rev=39461&r1=39460&r2=39461&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h Tue Jul 17 11:13:26 2007 @@ -54,6 +54,9 @@ //virtual long nicesize( YUIDimension dim ) { return YLayoutBox::nicesize( dim ); } + virtual int preferredWidth() { return YLayoutBox::preferredWidth(); } + virtual int preferredHeight() { return YLayoutBox::preferredHeight(); } + /** * Set the new size of the widget. * @@ -63,7 +66,8 @@ virtual void moveChild( YWidget * child, int newx, int newy ); - virtual void setEnabling( bool do_bv ) { NCWidget::setEnabling( enabled=do_bv ); } + //virtual void setEnabling( bool do_bv ) { NCWidget::setEnabling( enabled=do_bv ); } + virtual void setEnabled( bool do_bv ); }; /////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org