]> 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(SimpleText,std::string);
47     BBTK_PROCESS(Process);
48     void Process();
49     bool firsttime;
50 //===== 
51 // 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)
52 //===== 
53 };
54
55 BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxPopupMenu,bbtk::AtomicBlackBox);
56     BBTK_NAME("wxPopupMenu");
57     BBTK_AUTHOR("InfoDev");
58     BBTK_DESCRIPTION("No Description.");
59     BBTK_CATEGORY("empty");
60     BBTK_INPUT(wxPopupMenu,In,"Vector of items",std::vector< std::string >,"");
61 //    BBTK_INPUT(wxPopupMenu,Position,"Window position",std::vector< int >,"");
62     BBTK_INPUT(wxPopupMenu,wxVtkBaseView,"wxVtkBaseView",wxVtkBaseView*,"");
63     BBTK_OUTPUT(wxPopupMenu,Out,"Sected item",int,"");
64     BBTK_OUTPUT(wxPopupMenu,SimpleText,"Text selected item",std::string,"");
65 BBTK_END_DESCRIBE_BLACK_BOX(wxPopupMenu);
66 //===== 
67 // 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)
68 //===== 
69 }
70 // EO namespace bbcreaMaracasVisu
71
72 #endif // __bbcreaMaracasVisuwxPopupMenu_h_INCLUDED__
73