00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00048 #ifdef _USE_WXWIDGETS_
00049
00050
00051 #ifndef __bbWxLayoutLine_h__
00052 #define __bbWxLayoutLine_h__
00053
00054 #include "bbtkWxBlackBox.h"
00055
00056
00057
00058 namespace bbwx
00059 {
00060
00061
00062
00063
00064 class LayoutLine : public bbtk::WxBlackBox
00065 {
00066
00067 BBTK_BLACK_BOX_INTERFACE(LayoutLine,bbtk::WxBlackBox);
00068 BBTK_DECLARE_INPUT(Widget1,wxWindow*);
00069 BBTK_DECLARE_INPUT(Widget2,wxWindow*);
00070 BBTK_DECLARE_INPUT(Widget3,wxWindow*);
00071 BBTK_DECLARE_INPUT(Widget4,wxWindow*);
00072 BBTK_DECLARE_INPUT(Widget5,wxWindow*);
00073 BBTK_DECLARE_INPUT(Widget6,wxWindow*);
00074 BBTK_DECLARE_INPUT(Widget7,wxWindow*);
00075 BBTK_DECLARE_INPUT(Widget8,wxWindow*);
00076 BBTK_DECLARE_INPUT(Widget9,wxWindow*);
00077 BBTK_DECLARE_INPUT(Orientation,std::string);
00078 BBTK_PROCESS(Process);
00079 BBTK_CREATE_WIDGET(CreateWidget);
00080
00081 void Process();
00082 void CreateWidget();
00083 void bbUserOnShow();
00084
00085 protected:
00086 virtual void bbUserConstructor();
00087 void TryInsertWindow(wxWindow *parent, wxWindow *w,wxBoxSizer *sizer);
00088
00089 };
00090
00091
00092
00093
00094 BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutLine,bbtk::WxBlackBox);
00095 BBTK_NAME("LayoutLine");
00096 BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
00097 BBTK_DESCRIPTION("LayoutLine widget (wxBoxSizer)");
00098
00099
00100 BBTK_INPUT(LayoutLine,Widget1,"widget 1",wxWindow*,"");
00101 BBTK_INPUT(LayoutLine,Widget2,"widget 2",wxWindow*,"");
00102 BBTK_INPUT(LayoutLine,Widget3,"widget 3",wxWindow*,"");
00103 BBTK_INPUT(LayoutLine,Widget4,"widget 4",wxWindow*,"");
00104 BBTK_INPUT(LayoutLine,Widget5,"widget 5",wxWindow*,"");
00105 BBTK_INPUT(LayoutLine,Widget6,"widget 6",wxWindow*,"");
00106 BBTK_INPUT(LayoutLine,Widget7,"widget 7",wxWindow*,"");
00107 BBTK_INPUT(LayoutLine,Widget8,"widget 8",wxWindow*,"");
00108 BBTK_INPUT(LayoutLine,Widget9,"widget 9",wxWindow*,"");
00109 BBTK_INPUT(LayoutLine,Orientation,"Orientation (default V), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string,"");
00110 BBTK_END_DESCRIBE_BLACK_BOX(LayoutLine);
00111
00112
00113
00114
00115 }
00116
00117
00118
00119
00120 #endif //__bbtkWxLayoutLine_h__
00121
00122 #endif //_USE_WXWIDGETS_