00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef NCFrame_h
00020 #define NCFrame_h
00021
00022 #include <iosfwd>
00023
00024 #include "YFrame.h"
00025 #include "NCWidget.h"
00026
00027 class NCFrame;
00028
00030
00031
00032
00033
00034
00035 class NCFrame : public YFrame, public NCWidget {
00036
00037 friend std::ostream & operator<<( std::ostream & STREAM, const NCFrame & OBJ );
00038
00039 NCFrame & operator=( const NCFrame & );
00040 NCFrame ( const NCFrame & );
00041
00042 private:
00043
00044 NClabel label;
00045
00046 protected:
00047
00048 bool gotBuddy();
00049
00050 virtual const char * location() const { return "NCFrame"; }
00051
00052 virtual void wRedraw();
00053
00054 public:
00055
00056 NCFrame( NCWidget * parent, const YWidgetOpt & opt,
00057 const YCPString & label );
00058 virtual ~NCFrame();
00059
00060 virtual long nicesize( YUIDimension dim );
00061 virtual void setSize( long newwidth, long newheight );
00062
00063 virtual void setLabel( const YCPString & nlabel );
00064
00065 virtual void setEnabling( bool do_bv );
00066
00067 };
00068
00070
00071 #endif // NCFrame_h