//===== // 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) //===== #ifdef _USE_WT_ #ifndef __bbwtLayoutSplit_h_INCLUDED__ #define __bbwtLayoutSplit_h_INCLUDED__ #include "bbwt_EXPORT.h" #include "bbtkWtBlackBox.h" namespace bbwt { class bbwt_EXPORT LayoutSplit : public bbtk::WtBlackBox { BBTK_BLACK_BOX_INTERFACE(LayoutSplit,bbtk::WtBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(Widget1,Wt::WContainerWidget*); BBTK_DECLARE_INPUT(Widget2,Wt::WContainerWidget*); BBTK_DECLARE_INPUT(Orientation,std::string); BBTK_DECLARE_INPUT(Proportion,int); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(Wt::WContainerWidget*); //===== // 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) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutSplit,bbtk::WtBlackBox); BBTK_NAME("LayoutSplit"); BBTK_AUTHOR("JohannGONZALEZ"); BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Split Layout for wt web apps"); BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(LayoutSplit,Widget1,"Upper or left widget",Wt::WContainerWidget*,""); BBTK_INPUT(LayoutSplit,Widget2,"Lower or right widget",Wt::WContainerWidget*,""); 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); //===== // 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) //===== } // EO namespace bbwt #endif // __bbwtLayoutSplit_h_INCLUDED__ #endif // _USE_WXWIDGETS_