]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxStaticBox.h
#3202 BBTK Feature New Normal - fast algorithm for ImageBoundaries box
[bbtk.git] / packages / wx / src / bbwxStaticBox.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 __bbwxStaticBox_h_INCLUDED__
6 #define __bbwxStaticBox_h_INCLUDED__
7 #include "bbwx_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
9 #include <wx/statbox.h>
10
11 namespace bbwx
12 {
13
14   class bbwx_EXPORT StaticBox : public bbtk::WxBlackBox
15   {
16     BBTK_BLACK_BOX_INTERFACE(StaticBox,bbtk::WxBlackBox);
17 //===== 
18 // 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)
19 //===== 
20     BBTK_DECLARE_INPUT(BoxTitle,std::string);
21     BBTK_DECLARE_INPUT(BoxContent,wxWindow*);
22     BBTK_PROCESS(Process);
23     void Process();
24     BBTK_CREATE_WIDGET(CreateWidget);
25     void CreateWidget(wxWindow*);
26     BBTK_ON_SHOW_WIDGET(OnShowWidget);
27     void OnShowWidget();
28
29 //===== 
30 // 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)
31 //===== 
32   };
33
34   BBTK_BEGIN_DESCRIBE_BLACK_BOX(StaticBox,bbtk::WxBlackBox);
35   BBTK_NAME("StaticBox");
36   BBTK_AUTHOR("daniel.gonzalez@creatis.insa-lyon.fr");
37   BBTK_DESCRIPTION("A static box widget is a rectangle drawn around a widget to denote a logical grouping of items.");
38   // Already inserted for any WxBlackBox  BBTK_CATEGORY("widget");
39   BBTK_INPUT(StaticBox,BoxTitle,"Title assigned to the Static Box",std::string,"");
40   BBTK_INPUT(StaticBox,BoxContent,"Contained widget",wxWindow*,"");
41   BBTK_END_DESCRIBE_BLACK_BOX(StaticBox);
42 //===== 
43 // 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)
44 //===== 
45 }
46 // EO namespace bbwx
47
48 #endif // __bbwxStaticBox_h_INCLUDED__
49 #endif // _USE_WXWIDGETS_
50