hk_label.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
00003 // This file is part of the hk_classes library.
00004 // This file may be distributed and/or modified under the terms of the
00005 // GNU Library Public License version 2 as published by the Free Software
00006 // Foundation and appearing in the file COPYING included in the
00007 // packaging of this file.
00008 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00010 // ****************************************************************************
00011 #ifndef HK_LABEL
00012 #define HK_LABEL
00013 #include "hk_visible.h"
00014 #include "hk_form.h"
00015 using namespace std;
00016 class hk_labelmodeprivate;
00025 class hk_label:public hk_visible
00026 {
00027     public:
00028         hk_label(hk_form* form=NULL);
00029         virtual ~hk_label();
00036         void    set_topline(int l=1,bool registerchange=true);
00042         void    set_bottomline(int l=1,bool registerchange=true);
00049         void    set_leftline(int l=1,bool registerchange=true);
00056         void    set_rightline(int l=1,bool registerchange=true);
00064         void    set_diagonalluro(int l=1,bool registerchange=true);
00071         void    set_diagonalloru(int l=1,bool registerchange=true);
00072         int    diagonalloru(void);
00073         int    topline(void);
00074         int    bottomline(void);
00075         int    leftline(void);
00076         int    rightline(void);
00077         int    diagonalluro(void);
00083         void    set_frame(int l=1,bool registerchange=true);
00084 
00085 protected:
00086         virtual bool    presentationmode_changed(void);
00087         virtual void savedata(ostream& s );
00088         virtual void loaddata(xmlNodePtr definition);
00089         virtual void widget_specific_topline_changed(void){}
00090         virtual void widget_specific_bottomline_changed(void){}
00091         virtual void widget_specific_leftline_changed(void){}
00092         virtual void widget_specific_rightline_changed(void){}
00093         virtual void widget_specific_diagonalluro_changed(void){}
00094         virtual void widget_specific_diagonalloru_changed(void){}
00095 
00096 
00097 
00098 private:
00099         hk_labelmodeprivate* p_designdata;
00100         hk_labelmodeprivate* p_viewdata;
00101 };
00102 #endif

Generated on Tue Nov 28 02:48:08 2006 for Databaseconnectionclasses by  doxygen 1.5.0