[yast-commit] r48135 - in /branches/tmp/sh/ncurses-cleanup/ncurses/src: NCAlignment.h NCEmpty.h NCLayoutBox.h NCMultiLineEdit.h NCRadioButtonGroup.h NCSpacing.h NCSquash.h NCTable.h NCTree.h
Author: sh-sh-sh Date: Fri Jun 6 18:44:25 2008 New Revision: 48135 URL: http://svn.opensuse.org/viewcvs/yast?rev=48135&view=rev Log: consistency Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCAlignment.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCEmpty.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCLayoutBox.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCMultiLineEdit.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCRadioButtonGroup.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSpacing.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSquash.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTable.h branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTree.h Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCAlignment.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCAlignment.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCAlignment.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCAlignment.h Fri Jun 6 18:44:25 2008 @@ -47,7 +47,6 @@ virtual ~NCAlignment(); virtual int preferredWidth() { return YAlignment::preferredWidth(); } - virtual int preferredHeight() { return YAlignment::preferredHeight(); } virtual void setSize( int newWidth, int newHeight ); Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCEmpty.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCEmpty.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCEmpty.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCEmpty.h Fri Jun 6 18:44:25 2008 @@ -48,7 +48,6 @@ virtual ~NCEmpty(); virtual int preferredWidth() { return YEmpty::preferredWidth(); } - virtual int preferredHeight() { return YEmpty::preferredHeight(); } virtual void setSize( int newWidth, int newHeight ); Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCLayoutBox.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCLayoutBox.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCLayoutBox.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCLayoutBox.h Fri Jun 6 18:44:25 2008 @@ -50,7 +50,6 @@ virtual ~NCLayoutBox(); virtual int preferredWidth() { return YLayoutBox::preferredWidth(); } - virtual int preferredHeight() { return YLayoutBox::preferredHeight(); } virtual void setSize( int newWidth, int newHeight ); Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCMultiLineEdit.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCMultiLineEdit.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCMultiLineEdit.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCMultiLineEdit.h Fri Jun 6 18:44:25 2008 @@ -65,6 +65,7 @@ virtual int preferredWidth(); virtual int preferredHeight(); + virtual void setSize( int newWidth, int newHeight ); virtual void setLabel( const string & nlabel ); Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCRadioButtonGroup.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCRadioButtonGroup.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCRadioButtonGroup.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCRadioButtonGroup.h Fri Jun 6 18:44:25 2008 @@ -49,7 +49,6 @@ virtual ~NCRadioButtonGroup(); virtual int preferredWidth() { return YRadioButtonGroup::preferredWidth(); } - virtual int preferredHeight() { return YRadioButtonGroup::preferredHeight(); } virtual void setSize( int newWidth, int newHeight ); Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSpacing.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSpacing.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSpacing.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSpacing.h Fri Jun 6 18:44:25 2008 @@ -52,13 +52,12 @@ YLayoutSize_t layoutUnits = 0.0 ); virtual ~NCSpacing(); - - virtual void setSize( int newWidth, int newHeight ); - + virtual int preferredWidth() { return YSpacing::preferredWidth(); } - virtual int preferredHeight() { return YSpacing::preferredHeight(); } + virtual void setSize( int newWidth, int newHeight ); + virtual void setEnabled( bool do_bv ); }; Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSquash.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSquash.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSquash.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCSquash.h Fri Jun 6 18:44:25 2008 @@ -47,7 +47,6 @@ virtual ~NCSquash(); virtual int preferredWidth() { return YSquash::preferredWidth(); } - virtual int preferredHeight() { return YSquash::preferredHeight(); } virtual void setSize( int newWidth, int newHeight ); Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTable.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTable.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTable.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTable.h Fri Jun 6 18:44:25 2008 @@ -100,21 +100,16 @@ virtual int preferredWidth(); virtual int preferredHeight(); - /** - * Set the new size of the widget. - * - * Reimplemented from YWidget. - **/ virtual void setSize( int newWidth, int newHeight ); + virtual void setLabel( const string & nlabel ); + virtual void setEnabled( bool do_bv ); bool setItemByKey( int key ); virtual NCursesEvent wHandleInput( wint_t key ); - //virtual void setEnabling( bool do_bv ) { NCWidget::setEnabling( enabled=do_bv ); } - virtual bool setKeyboardFocus() { if ( !grabFocus() ) Modified: branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTree.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTree.h?rev=48135&r1=48134&r2=48135&view=diff ============================================================================== --- branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTree.h (original) +++ branches/tmp/sh/ncurses-cleanup/ncurses/src/NCTree.h Fri Jun 6 18:44:25 2008 @@ -67,11 +67,6 @@ virtual int preferredWidth(); virtual int preferredHeight(); - /** - * Set the new size of the widget. - * - * Reimplemented from YWidget. - **/ virtual void setSize( int newWidth, int newHeight ); virtual void setLabel( const string & nlabel ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org