]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxSpinCtrl.h
#3462 SpinCtrl box
[bbtk.git] / packages / wx / src / bbwxSpinCtrl.h
diff --git a/packages/wx/src/bbwxSpinCtrl.h b/packages/wx/src/bbwxSpinCtrl.h
new file mode 100644 (file)
index 0000000..f325cc2
--- /dev/null
@@ -0,0 +1,60 @@
+//===== 
+// 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 __bbwxSpinCtrl_h_INCLUDED__
+#define __bbwxSpinCtrl_h_INCLUDED__
+
+#include "bbwx_EXPORT.h"
+#include "bbtkWxBlackBox.h"
+
+namespace bbwx
+{
+
+class bbwx_EXPORT SpinCtrl
+ : 
+   public bbtk::WxBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(SpinCtrl,bbtk::WxBlackBox);
+//===== 
+// 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(Title,std::string);
+  BBTK_DECLARE_INPUT(Min,int);
+  BBTK_DECLARE_INPUT(Max,int);
+  BBTK_DECLARE_INPUT(Selected,int);
+  BBTK_DECLARE_INPUT(Type,int);
+  BBTK_DECLARE_OUTPUT(Out,int);
+  BBTK_PROCESS(Process);
+  void Process();
+  BBTK_CREATE_WIDGET(CreateWidget);
+  void CreateWidget(wxWindow*);
+//===== 
+// 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(SpinCtrl,bbtk::WxBlackBox);
+  BBTK_NAME("SpinCtrl");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("__CategoryBlackBox__");
+
+  BBTK_INPUT(SpinCtrl,Title,"Title",std::string,"");
+  BBTK_INPUT(SpinCtrl,Min,"(default 0) Min",int,"");
+  BBTK_INPUT(SpinCtrl,Max,"default 100) Max",int,"");
+  BBTK_INPUT(SpinCtrl,Selected,"default 0) Selected",int,"");
+  BBTK_INPUT(SpinCtrl,Type,"(default 0)  0:with Label    1:not Label",int,"");
+
+  BBTK_OUTPUT(SpinCtrl,Out,"Output value",int,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(SpinCtrl);
+//===== 
+// 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 bbwx
+
+#endif // __bbwxSpinCtrl_h_INCLUDED__
+#endif // _USE_WXWIDGETS_
+