1 /*=========================================================================
4 Module: $RCSfile: bbwxLayoutLine.h,v $
6 Date: $Date: 2008/04/18 12:59:53 $
7 Version: $Revision: 1.3 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*//**
18 * \brief Short description in one line
20 * Long description which
21 * can span multiple lines
25 * \brief Pattern for the definition of a new type of Node (header)
28 * \class bbtk::NodePatern
29 * \brief Pattern for the definition of a new type of Node
33 #ifdef _USE_WXWIDGETS_
36 #ifndef __bbWxLayoutLine_h__
37 #define __bbWxLayoutLine_h__
39 #include "bbtkWxBlackBox.h"
49 class /*BBTK_EXPORT*/ LayoutLine : public bbtk::WxBlackBox
52 BBTK_BLACK_BOX_INTERFACE(LayoutLine,bbtk::WxBlackBox);
53 BBTK_DECLARE_INPUT(Widget1,wxWindow*);
54 BBTK_DECLARE_INPUT(Widget2,wxWindow*);
55 BBTK_DECLARE_INPUT(Widget3,wxWindow*);
56 BBTK_DECLARE_INPUT(Widget4,wxWindow*);
57 BBTK_DECLARE_INPUT(Widget5,wxWindow*);
58 BBTK_DECLARE_INPUT(Widget6,wxWindow*);
59 BBTK_DECLARE_INPUT(Widget7,wxWindow*);
60 BBTK_DECLARE_INPUT(Widget8,wxWindow*);
61 BBTK_DECLARE_INPUT(Widget9,wxWindow*);
62 BBTK_DECLARE_INPUT(Orientation,std::string);
63 BBTK_PROCESS(Process);
64 BBTK_CREATE_WIDGET(CreateWidget);
70 virtual void bbUserConstructor();
71 void TryInsertWindow(wxWindow *parent, wxWindow *w,wxBoxSizer *sizer);
76 //=================================================================
77 // BlackBox description
78 BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutLine,bbtk::WxBlackBox);
79 BBTK_NAME("LayoutLine");
80 BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
81 BBTK_DESCRIPTION("LayoutLine widget (wxBoxSizer)");
82 // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
84 BBTK_INPUT(LayoutLine,Widget1,"widget 1",wxWindow*,"");
85 BBTK_INPUT(LayoutLine,Widget2,"widget 2",wxWindow*,"");
86 BBTK_INPUT(LayoutLine,Widget3,"widget 3",wxWindow*,"");
87 BBTK_INPUT(LayoutLine,Widget4,"widget 4",wxWindow*,"");
88 BBTK_INPUT(LayoutLine,Widget5,"widget 5",wxWindow*,"");
89 BBTK_INPUT(LayoutLine,Widget6,"widget 6",wxWindow*,"");
90 BBTK_INPUT(LayoutLine,Widget7,"widget 7",wxWindow*,"");
91 BBTK_INPUT(LayoutLine,Widget8,"widget 8",wxWindow*,"");
92 BBTK_INPUT(LayoutLine,Widget9,"widget 9",wxWindow*,"");
93 BBTK_INPUT(LayoutLine,Orientation,"Orientation (default V), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string,"");
94 BBTK_END_DESCRIBE_BLACK_BOX(LayoutLine);
95 //=================================================================
104 #endif //__bbtkWxLayoutLine_h__
106 #endif //_USE_WXWIDGETS_