]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/src/bbwtChart.h
bugs wt xtk
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtChart.h
1 //===== 
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)
3 //===== 
4 #ifdef _USE_WXWIDGETS_
5 #ifndef __bbwtChart_h_INCLUDED__
6 #define __bbwtChart_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
9
10 #include <Wt/Chart/WCartesianChart>
11
12 namespace bbwt
13 {
14
15 class bbwt_EXPORT Chart
16  : 
17    public bbtk::WtBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(Chart,bbtk::WtBlackBox);
20 //===== 
21 // 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)
22 //===== 
23   BBTK_DECLARE_INPUT(lstX,std::vector<double>);
24   BBTK_DECLARE_INPUT(lstY,std::vector<double>);
25   BBTK_PROCESS(Process);
26   void Process();
27   BBTK_CREATE_WIDGET(CreateWidget);
28   void CreateWidget(Wt::WContainerWidget*);
29
30   Wt::Chart::WCartesianChart *chart;
31
32
33 //===== 
34 // 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)
35 //===== 
36 };
37
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Chart,bbtk::WtBlackBox);
39  BBTK_NAME("Chart");
40  BBTK_AUTHOR("Info-Dev");
41  BBTK_DESCRIPTION("No Description.");
42  BBTK_CATEGORY("__CategoryBlackBox__");
43
44  BBTK_INPUT(Chart,lstX,"LST Y",std::vector<double>,"");
45  BBTK_INPUT(Chart,lstY,"LST Y",std::vector<double>,"");
46
47 BBTK_END_DESCRIBE_BLACK_BOX(Chart);
48 //===== 
49 // 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 //===== 
51 }
52 // EO namespace bbwt
53
54 #endif // __bbwtChart_h_INCLUDED__
55 #endif // _USE_WXWIDGETS_
56