/*=========================================================================
Program: bbtk
- Module: $RCSfile: bbwxSizer.cxx,v $
+ Module: $RCSfile: bbwxLayoutLine.cxx,v $
Language: C++
- Date: $Date: 2008/02/14 20:55:52 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2008/02/15 12:19:58 $
+ 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
#ifdef _USE_WXWIDGETS_
-#include "bbwxSizer.h"
+#include "bbwxLayoutLine.h"
#include "bbwxPackage.h"
#include "bbtkUtilities.h"
namespace bbwx
{
- BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx, Sizer);
- BBTK_USER_BLACK_BOX_IMPLEMENTATION(Sizer,bbtk::WxBlackBox);
+ BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx, LayoutLine);
+ BBTK_USER_BLACK_BOX_IMPLEMENTATION(LayoutLine,bbtk::WxBlackBox);
- void Sizer::bbUserConstructor()
+ void LayoutLine::bbUserConstructor()
{
bbSetInputOrientation("VERTICAL");
bbSetInputWidget1(NULL);
bbSetInputWidget9(NULL);
}
- void Sizer::Process()
+ void LayoutLine::Process()
{
}
- void Sizer::TryInsertWindow(wxWindow *parent, wxWindow *w,wxBoxSizer *sizer)
+ void LayoutLine::TryInsertWindow(wxWindow *parent, wxWindow *w,wxBoxSizer *sizer)
{
if (w!=NULL)
{
}
}
- void Sizer::CreateWidget()
+ void LayoutLine::CreateWidget()
{
wxBoxSizer *sizer;
wxPanel *w=new wxPanel(bbGetWxParent(), -1);
/*=========================================================================
Program: bbtk
- Module: $RCSfile: bbwxSizer.h,v $
+ Module: $RCSfile: bbwxLayoutLine.h,v $
Language: C++
- Date: $Date: 2008/02/08 14:58:31 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2008/02/15 12:19:58 $
+ 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
#ifdef _USE_WXWIDGETS_
-#ifndef __bbWxSizer_h__
-#define __bbWxSizer_h__
+#ifndef __bbWxLayoutLine_h__
+#define __bbWxLayoutLine_h__
#include "bbtkWxBlackBox.h"
- class /*BBTK_EXPORT*/ Sizer : public bbtk::WxBlackBox
+ class /*BBTK_EXPORT*/ LayoutLine : public bbtk::WxBlackBox
{
- BBTK_USER_BLACK_BOX_INTERFACE(Sizer,bbtk::WxBlackBox);
+ BBTK_USER_BLACK_BOX_INTERFACE(LayoutLine,bbtk::WxBlackBox);
BBTK_DECLARE_INPUT(Widget1,wxWindow*);
BBTK_DECLARE_INPUT(Widget2,wxWindow*);
BBTK_DECLARE_INPUT(Widget3,wxWindow*);
//=================================================================
// BlackBox description
- BBTK_BEGIN_DESCRIBE_BLACK_BOX(Sizer,bbtk::WxBlackBox);
- BBTK_NAME("Sizer");
+ BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutLine,bbtk::WxBlackBox);
+ BBTK_NAME("LayoutLine");
BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("Sizer widget (wxSizer)");
+ BBTK_DESCRIPTION("LayoutLine widget (wxBoxSizer)");
// Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
- BBTK_INPUT(Sizer,Widget1,"widget 1",wxWindow*);
- BBTK_INPUT(Sizer,Widget2,"widget 2",wxWindow*);
- BBTK_INPUT(Sizer,Widget3,"widget 3",wxWindow*);
- BBTK_INPUT(Sizer,Widget4,"widget 4",wxWindow*);
- BBTK_INPUT(Sizer,Widget5,"widget 5",wxWindow*);
- BBTK_INPUT(Sizer,Widget6,"widget 6",wxWindow*);
- BBTK_INPUT(Sizer,Widget7,"widget 7",wxWindow*);
- BBTK_INPUT(Sizer,Widget8,"widget 8",wxWindow*);
- BBTK_INPUT(Sizer,Widget9,"widget 9",wxWindow*);
- BBTK_INPUT(Sizer,Orientation,"Orientation (default V), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string);
- BBTK_END_DESCRIBE_BLACK_BOX(Sizer);
+ BBTK_INPUT(LayoutLine,Widget1,"widget 1",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget2,"widget 2",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget3,"widget 3",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget4,"widget 4",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget5,"widget 5",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget6,"widget 6",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget7,"widget 7",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget8,"widget 8",wxWindow*);
+ BBTK_INPUT(LayoutLine,Widget9,"widget 9",wxWindow*);
+ BBTK_INPUT(LayoutLine,Orientation,"Orientation (default V), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string);
+ BBTK_END_DESCRIBE_BLACK_BOX(LayoutLine);
//=================================================================
//namespace bbtk
-#endif //__bbtkWxSizer_h__
+#endif //__bbtkWxLayoutLine_h__
#endif //_USE_WXWIDGETS_