2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
5 #ifndef __bbwtLayoutSplit_h_INCLUDED__
6 #define __bbwtLayoutSplit_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
13 class bbwt_EXPORT LayoutSplit
15 public bbtk::WtBlackBox
17 BBTK_BLACK_BOX_INTERFACE(LayoutSplit,bbtk::WtBlackBox);
19 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
21 BBTK_DECLARE_INPUT(Widget1,Wt::WContainerWidget*);
22 BBTK_DECLARE_INPUT(Widget2,Wt::WContainerWidget*);
23 BBTK_DECLARE_INPUT(Orientation,std::string);
24 BBTK_DECLARE_INPUT(Proportion,int);
25 BBTK_PROCESS(Process);
27 BBTK_CREATE_WIDGET(CreateWidget);
28 void CreateWidget(Wt::WContainerWidget*);
30 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutSplit,bbtk::WtBlackBox);
35 BBTK_NAME("LayoutSplit");
36 BBTK_AUTHOR("JohannGONZALEZ");
37 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Split Layout for wt web apps");
38 BBTK_CATEGORY("__CategoryBlackBox__");
39 BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",Wt::WContainerWidget*,"");
40 BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",Wt::WContainerWidget*,"");
41 BBTK_INPUT(LayoutSplit,Orientation,"Orientation (default H), 0=H=HORIZONTAL , 1=V=VERTICAL",std::string,"");
42 BBTK_INPUT(LayoutSplit,Proportion,"Proportion (in percent) of the first children in the window",int,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(LayoutSplit);
45 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
50 #endif // __bbwtLayoutSplit_h_INCLUDED__
51 #endif // _USE_WXWIDGETS_