2 #ifndef __bbcreaMaracasVisuColorBar_h_INCLUDED__
3 #define __bbcreaMaracasVisuColorBar_h_INCLUDED__
4 #include "bbtkWxBlackBox.h"
6 #include "bbcreaMaracasVisuPackage.h"
10 namespace bbcreaMaracasVisu
13 class /*BBTK_EXPORT*/ ColorBar
15 public bbtk::WxBlackBox
17 BBTK_BLACK_BOX_INTERFACE(ColorBar,bbtk::WxBlackBox);
18 BBTK_DECLARE_INPUT(Orientation, int );
19 BBTK_DECLARE_INPUT(InW, int );
20 BBTK_DECLARE_INPUT(InH, int );
21 BBTK_DECLARE_INPUT(InMax, int );
22 BBTK_DECLARE_INPUT(InMin, int );
23 BBTK_DECLARE_INPUT(Reds, std::vector<int> );
24 BBTK_DECLARE_INPUT(Greens, std::vector<int> );
25 BBTK_DECLARE_INPUT(Blues, std::vector<int> );
26 BBTK_DECLARE_INPUT(Values, std::vector<int> );
27 BBTK_PROCESS(Process);
29 BBTK_CREATE_WIDGET(CreateWidget);
30 void CreateWidget(wxWindow*);
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColorBar,bbtk::WxBlackBox);
37 BBTK_NAME("ColorBar");
38 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
39 BBTK_DESCRIPTION("Degrade Color Bar Window");
40 //BBTK_CATEGORY("__CategoryBlackBox__");
41 BBTK_INPUT(ColorBar,Orientation,"Orientation ", int,"");
42 BBTK_INPUT(ColorBar,InW,"Width ", int,"");
43 BBTK_INPUT(ColorBar,InH,"Height ", int,"");
44 BBTK_INPUT(ColorBar,InMax,"Max value ", int,"" );
45 BBTK_INPUT(ColorBar,InMin, "Min value ",int,"" );
46 BBTK_INPUT(ColorBar,Reds, "Reds ",std::vector<int>,"");
47 BBTK_INPUT(ColorBar,Greens, "Greens ",std::vector<int>,"");
48 BBTK_INPUT(ColorBar,Blues, "Blues ",std::vector<int>,"");
49 BBTK_INPUT(ColorBar,Values, "Values ",std::vector<int>,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(ColorBar);
52 // EO namespace bbcreaMaracasVisu
54 #endif // __bbcreaMaracasVisuColorBar_h_INCLUDED__
55 #endif // _USE_WXWIDGETS_