]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxLayoutSplit.h
LayoutSplit
[bbtk.git] / packages / wx / src / bbwxLayoutSplit.h
similarity index 70%
rename from packages/wx/src/bbwxSplit.h
rename to packages/wx/src/bbwxLayoutSplit.h
index 4edb28ea3cb1ebbd8f9ffa600243ce9a17df859b..a1656c177177d8f4c899d231f3f66694de869849 100644 (file)
@@ -1,10 +1,10 @@
 /*=========================================================================
                                                                                 
   Program:   bbtk
-  Module:    $RCSfile: bbwxSplit.h,v $
+  Module:    $RCSfile: bbwxLayoutSplit.h,v $
   Language:  C++
-  Date:      $Date: 2008/02/08 14:58:31 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/02/15 12:24:43 $
+  Version:   $Revision: 1.1 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -21,7 +21,7 @@
  * \brief Widget which splits a window into two parts 
  */
 /**
- * \class bbwx::Split
+ * \class bbwx::LayoutSplit
  * \brief Widget which splits a window into two parts 
  */
 
@@ -29,8 +29,8 @@
 #ifdef _USE_WXWIDGETS_
 
 
-#ifndef __bbWxSplit_h__
-#define __bbWxSplit_h__
+#ifndef __bbWxLayoutSplit_h__
+#define __bbWxLayoutSplit_h__
 
 #include "bbtkWxBlackBox.h"
 #include <wx/splitter.h>
@@ -43,10 +43,10 @@ namespace bbwx
   
   
   
-  class Split : public bbtk::WxBlackBox
+  class LayoutSplit : public bbtk::WxBlackBox
   {
     
-    BBTK_USER_BLACK_BOX_INTERFACE(Split,bbtk::WxBlackBox);
+    BBTK_USER_BLACK_BOX_INTERFACE(LayoutSplit,bbtk::WxBlackBox);
     BBTK_DECLARE_INPUT(Widget1,wxWindow*);
     BBTK_DECLARE_INPUT(Widget2,wxWindow*);
     BBTK_DECLARE_INPUT(Orientation,std::string);
@@ -65,20 +65,20 @@ namespace bbwx
  
 //=================================================================
 // BlackBox description
-  BBTK_BEGIN_DESCRIBE_BLACK_BOX(Split,bbtk::WxBlackBox);
-  BBTK_NAME("Split");
+  BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutSplit,bbtk::WxBlackBox);
+  BBTK_NAME("LayoutSplit");
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
   BBTK_DESCRIPTION("Widget which splits a window in two fixed size parts (wxSplitterWindow)");
   // Already inserted for any WxBlackBox  BBTK_CATEGORY("widget");
-  BBTK_INPUT(Split,Widget1,"Upper or left widget",wxWindow*);
-  BBTK_INPUT(Split,Widget2,"Lower or right widget",wxWindow*);
-  BBTK_INPUT(Split,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string);
-   BBTK_INPUT(Split,Proportion,"Proportion (in percent) of the first children in the window",int);
-  BBTK_END_DESCRIBE_BLACK_BOX(Split);
+  BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",wxWindow*);
+  BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",wxWindow*);
+  BBTK_INPUT(LayoutSplit,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string);
+   BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int);
+  BBTK_END_DESCRIBE_BLACK_BOX(LayoutSplit);
   //=================================================================
 }
 
 //namespace bbtk
-#endif  //__bbtkWxSplit_h__
+#endif  //__bbtkWxLayoutSplit_h__
 
 #endif //_USE_WXWIDGETS_