Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

NCSpacing.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013    File:       NCSpacing.h
00014 
00015    Author:     Michael Andres <ma@suse.de>
00016    Maintainer: Michael Andres <ma@suse.de>
00017 
00018 /-*/
00019 #ifndef NCSpacing_h
00020 #define NCSpacing_h
00021 
00022 #include <iosfwd>
00023 
00024 #include "YSpacing.h"
00025 #include "YEmpty.h"
00026 #include "YSpacing.h"
00027 #include "NCWidget.h"
00028 
00029 class NCSpacing;
00030 
00032 //
00033 //      CLASS NAME : NCSpacing
00034 //
00035 //      DESCRIPTION :
00036 //
00037 class NCSpacing : public YSpacing, public NCWidget {
00038 
00039   friend std::ostream & operator<<( std::ostream & STREAM, const NCSpacing & OBJ );
00040 
00041   NCSpacing & operator=( const NCSpacing & );
00042   NCSpacing            ( const NCSpacing & );
00043 
00044   const char * l;
00045 
00046   protected:
00047 
00048     virtual const char * location() const { return l; }
00049 
00050   public:
00051 
00052     NCSpacing( NCWidget * parent, const YWidgetOpt & opt,
00053                float size, bool horizontal, bool vertical );
00054     virtual ~NCSpacing();
00055 
00056     virtual void setSize( long newwidth, long newheight );
00057 
00058     virtual void setEnabling( bool do_bv ) { NCWidget::setEnabling( enabled=do_bv ); }
00059 };
00060 
00062 
00063 #endif // NCSpacing_h

Generated on Wed Nov 12 04:52:32 2008 for yast2-ncurses by  doxygen 1.3.9.1