]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/src/bbwtChart.h
bugs wt xtk
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtChart.h
diff --git a/wt/bbtk_wt_PKG/src/bbwtChart.h b/wt/bbtk_wt_PKG/src/bbwtChart.h
new file mode 100644 (file)
index 0000000..4177343
--- /dev/null
@@ -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 <Wt/Chart/WCartesianChart>
+
+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<double>);
+  BBTK_DECLARE_INPUT(lstY,std::vector<double>);
+  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<double>,"");
+ BBTK_INPUT(Chart,lstY,"LST Y",std::vector<double>,"");
+
+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_
+