X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtChart.h;fp=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtChart.h;h=4177343f0a21055449a5e2f661d76739c0ab4ea2;hb=1830bf64f6ad13d04f4fd7589317f0515fae837c;hp=0000000000000000000000000000000000000000;hpb=8330bb7bb23c8b5521a6ab9470d0dcbd19b9117e;p=creaWT.git diff --git a/wt/bbtk_wt_PKG/src/bbwtChart.h b/wt/bbtk_wt_PKG/src/bbwtChart.h new file mode 100644 index 0000000..4177343 --- /dev/null +++ b/wt/bbtk_wt_PKG/src/bbwtChart.h @@ -0,0 +1,56 @@ +//===== +// 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_WXWIDGETS_ +#ifndef __bbwtChart_h_INCLUDED__ +#define __bbwtChart_h_INCLUDED__ +#include "bbwt_EXPORT.h" +#include "bbtkWtBlackBox.h" + +#include + +namespace bbwt +{ + +class bbwt_EXPORT Chart + : + public bbtk::WtBlackBox +{ + BBTK_BLACK_BOX_INTERFACE(Chart,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(lstX,std::vector); + BBTK_DECLARE_INPUT(lstY,std::vector); + BBTK_PROCESS(Process); + void Process(); + BBTK_CREATE_WIDGET(CreateWidget); + void CreateWidget(Wt::WContainerWidget*); + + Wt::Chart::WCartesianChart *chart; + + +//===== +// 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(Chart,bbtk::WtBlackBox); + BBTK_NAME("Chart"); + BBTK_AUTHOR("Info-Dev"); + BBTK_DESCRIPTION("No Description."); + BBTK_CATEGORY("__CategoryBlackBox__"); + + BBTK_INPUT(Chart,lstX,"LST Y",std::vector,""); + BBTK_INPUT(Chart,lstY,"LST Y",std::vector,""); + +BBTK_END_DESCRIBE_BLACK_BOX(Chart); +//===== +// 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 // __bbwtChart_h_INCLUDED__ +#endif // _USE_WXWIDGETS_ +