]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuwxPopupMenu.h
bb862c5ff55920dc18ea1fe53f1e72c638c1b53e
[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
17 #ifdef __BORLANDC__
18 #pragma hdrstop
19 #endif
20
21 #ifndef WX_PRECOMP
22 #include <wx/wx.h>
23 #endif
24
25 #ifdef __WXGTK__
26 # include <locale.h>
27 #endif //__WXGTK__
28 // EO Wx headers
29
30 #include "wxVtkBaseView.h"
31
32
33
34 namespace bbcreaMaracasVisu
35 {
36
37 class bbcreaMaracasVisu_EXPORT wxPopupMenu
38  : 
39    public bbtk::AtomicBlackBox
40 {
41   BBTK_BLACK_BOX_INTERFACE(wxPopupMenu,bbtk::AtomicBlackBox);
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     BBTK_DECLARE_INPUT(In,std::vector< std::string >);
46     BBTK_DECLARE_INPUT(wxVtkBaseView,wxVtkBaseView*);
47 //    BBTK_DECLARE_INPUT(Position,std::vector< int >);
48     BBTK_DECLARE_OUTPUT(Out,int);
49     BBTK_DECLARE_OUTPUT(SimpleText,std::string);
50     BBTK_PROCESS(Process);
51     void Process();
52     bool firsttime;
53 //===== 
54 // 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)
55 //===== 
56 };
57
58 BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxPopupMenu,bbtk::AtomicBlackBox);
59     BBTK_NAME("wxPopupMenu");
60     BBTK_AUTHOR("InfoDev");
61     BBTK_DESCRIPTION("No Description.");
62     BBTK_CATEGORY("empty");
63     BBTK_INPUT(wxPopupMenu,In,"Vector of items",std::vector< std::string >,"");
64 //    BBTK_INPUT(wxPopupMenu,Position,"Window position",std::vector< int >,"");
65     BBTK_INPUT(wxPopupMenu,wxVtkBaseView,"wxVtkBaseView",wxVtkBaseView*,"");
66     BBTK_OUTPUT(wxPopupMenu,Out,"Sected item",int,"");
67     BBTK_OUTPUT(wxPopupMenu,SimpleText,"Text selected item",std::string,"");
68 BBTK_END_DESCRIBE_BLACK_BOX(wxPopupMenu);
69 //===== 
70 // 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)
71 //===== 
72 }
73 // EO namespace bbcreaMaracasVisu
74
75 #endif // __bbcreaMaracasVisuwxPopupMenu_h_INCLUDED__
76