]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuwxPopupMenu.h
#3481 wxVtkBaseView_Info add events mouse observer
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuwxPopupMenu.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 #ifndef __bbcreaMaracasVisuwxPopupMenu_h_INCLUDED__
5 #define __bbcreaMaracasVisuwxPopupMenu_h_INCLUDED__
6
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11
12 // For compilers that support precompilation, includes "wx/wx.h".
13 #include "wx/wxprec.h"
14 #include <wx/datetime.h>
15
16 #ifdef __BORLANDC__
17 #pragma hdrstop
18 #endif
19
20 #ifndef WX_PRECOMP
21 #include <wx/wx.h>
22 #endif
23
24 #ifdef __WXGTK__
25 # include <locale.h>
26 #endif //__WXGTK__
27 // EO Wx headers
28
29 #include "wxVtkBaseView.h"
30
31 namespace bbcreaMaracasVisu
32 {
33
34 class bbcreaMaracasVisu_EXPORT wxPopupMenu
35  : 
36    public bbtk::AtomicBlackBox
37 {
38   BBTK_BLACK_BOX_INTERFACE(wxPopupMenu,bbtk::AtomicBlackBox);
39 //===== 
40 // 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)
41 //===== 
42     BBTK_DECLARE_INPUT(In,std::vector< std::string >);
43     BBTK_DECLARE_INPUT(wxVtkBaseView,wxVtkBaseView*);
44 //    BBTK_DECLARE_INPUT(Position,std::vector< int >);
45     BBTK_DECLARE_OUTPUT(Out,int);
46     BBTK_DECLARE_OUTPUT(Point,std::vector<double>);
47     BBTK_DECLARE_OUTPUT(SimpleText,std::string);
48     BBTK_PROCESS(Process);
49     void Process();
50     bool firsttime;
51 //===== 
52 // 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)
53 //===== 
54 };
55
56 BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxPopupMenu,bbtk::AtomicBlackBox);
57     BBTK_NAME("wxPopupMenu");
58     BBTK_AUTHOR("InfoDev");
59     BBTK_DESCRIPTION("No Description.");
60     BBTK_CATEGORY("empty");
61     BBTK_INPUT(wxPopupMenu,In,"Vector of items",std::vector< std::string >,"");
62 //    BBTK_INPUT(wxPopupMenu,Position,"Window position",std::vector< int >,"");
63     BBTK_INPUT(wxPopupMenu,wxVtkBaseView,"wxVtkBaseView",wxVtkBaseView*,"");
64     BBTK_OUTPUT(wxPopupMenu,Point,"click point in the image",std::vector<double>,"");
65     BBTK_OUTPUT(wxPopupMenu,Out,"Sected item",int,"");
66     BBTK_OUTPUT(wxPopupMenu,SimpleText,"Text selected item",std::string,"");
67 BBTK_END_DESCRIBE_BLACK_BOX(wxPopupMenu);
68 //===== 
69 // 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)
70 //===== 
71 }
72 // EO namespace bbcreaMaracasVisu
73
74 #endif // __bbcreaMaracasVisuwxPopupMenu_h_INCLUDED__
75