]> Creatis software - crea.git/blob - lib/creaDevManagerLib/wxCreaDevManagerDescriptionPanel.h
7c4f3dcef69e6edf7388c0000e1972b923bb3f49
[crea.git] / lib / creaDevManagerLib / wxCreaDevManagerDescriptionPanel.h
1 /*
2  * wxCreaDevManagerDescriptionFrame.h
3  *
4  *  Created on: 23/10/2012
5  *      Author: daniel
6  */
7
8 #ifndef WXCREADEVMANAGERDESCRIPTIONPANEL_H_
9 #define WXCREADEVMANAGERDESCRIPTIONPANEL_H_
10
11 #include <creaWx.h>
12 #include <wx/panel.h>
13 #include <wx/bitmap.h>
14 #include <wx/stattext.h>
15
16 #include <iostream>
17 #include <map>
18 #include <vector>
19
20 using namespace std;
21
22 class wxCreaDevManagerDescriptionPanel : public wxPanel
23 {
24   public:
25       wxCreaDevManagerDescriptionPanel(
26         wxWindow* parent,
27         wxWindowID id = -1,
28         const wxString& caption = _("Description Frame"),
29         const wxPoint& pos = wxDefaultPosition,
30         const wxSize& size = wxDefaultSize,
31         long style = wxDEFAULT_FRAME_STYLE
32       );
33
34       ~wxCreaDevManagerDescriptionPanel();
35
36       bool Create(
37         wxWindow* parent,
38         wxWindowID id = -1,
39         const wxString& caption = _("Description Frame"),
40         const wxPoint& pos = wxDefaultPosition,
41         const wxSize& size = wxDefaultSize,
42         long style = wxDEFAULT_FRAME_STYLE
43       );
44
45
46   protected:
47       void CreateView(string title = "Title", string imagePath = "", string type = "Type", vector<pair<string, string> > properties = vector<pair<string, string> >());
48
49   private:
50       wxStaticText* _title;
51       wxBitmap* _image;
52       wxStaticText* _type;
53       wxStaticText* _properties;
54
55 };
56
57 #endif /* WXCREADEVMANAGERDESCRIPTIONFRAME_H_ */