]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxSpinCtrl.h
#3472 merge vtk8itk5wx3-mingw64
[bbtk.git] / packages / wx / src / bbwxSpinCtrl.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 __bbwxSpinCtrl_h_INCLUDED__
6 #define __bbwxSpinCtrl_h_INCLUDED__
7
8 #include "bbwx_EXPORT.h"
9 #include "bbtkWxBlackBox.h"
10
11 namespace bbwx
12 {
13
14 class bbwx_EXPORT SpinCtrl
15  : 
16    public bbtk::WxBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(SpinCtrl,bbtk::WxBlackBox);
19 //===== 
20 // 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)
21 //===== 
22   BBTK_DECLARE_INPUT(Title,std::string);
23   BBTK_DECLARE_INPUT(Min,int);
24   BBTK_DECLARE_INPUT(Max,int);
25   BBTK_DECLARE_INPUT(Selected,int);
26   BBTK_DECLARE_INPUT(Type,int);
27   BBTK_DECLARE_OUTPUT(Out,int);
28   BBTK_PROCESS(Process);
29   void Process();
30   BBTK_CREATE_WIDGET(CreateWidget);
31   void CreateWidget(wxWindow*);
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SpinCtrl,bbtk::WxBlackBox);
38   BBTK_NAME("SpinCtrl");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("__CategoryBlackBox__");
42
43   BBTK_INPUT(SpinCtrl,Title,"Title",std::string,"");
44   BBTK_INPUT(SpinCtrl,Min,"(default 0) Min",int,"");
45   BBTK_INPUT(SpinCtrl,Max,"default 100) Max",int,"");
46   BBTK_INPUT(SpinCtrl,Selected,"default 0) Selected",int,"");
47   BBTK_INPUT(SpinCtrl,Type,"(default 0)  0:with Label    1:not Label",int,"");
48
49   BBTK_OUTPUT(SpinCtrl,Out,"Output value",int,"");
50
51 BBTK_END_DESCRIBE_BLACK_BOX(SpinCtrl);
52 //===== 
53 // 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)
54 //===== 
55 }
56 // EO namespace bbwx
57
58 #endif // __bbwxSpinCtrl_h_INCLUDED__
59 #endif // _USE_WXWIDGETS_
60