]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCreaDevManagerDescriptionPanel.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCreaDevManagerDescriptionPanel.h
diff --git a/lib/creaDevManagerLib/wxCreaDevManagerDescriptionPanel.h b/lib/creaDevManagerLib/wxCreaDevManagerDescriptionPanel.h
new file mode 100644 (file)
index 0000000..7c4f3dc
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * wxCreaDevManagerDescriptionFrame.h
+ *
+ *  Created on: 23/10/2012
+ *      Author: daniel
+ */
+
+#ifndef WXCREADEVMANAGERDESCRIPTIONPANEL_H_
+#define WXCREADEVMANAGERDESCRIPTIONPANEL_H_
+
+#include <creaWx.h>
+#include <wx/panel.h>
+#include <wx/bitmap.h>
+#include <wx/stattext.h>
+
+#include <iostream>
+#include <map>
+#include <vector>
+
+using namespace std;
+
+class wxCreaDevManagerDescriptionPanel : public wxPanel
+{
+  public:
+      wxCreaDevManagerDescriptionPanel(
+        wxWindow* parent,
+        wxWindowID id = -1,
+        const wxString& caption = _("Description Frame"),
+        const wxPoint& pos = wxDefaultPosition,
+        const wxSize& size = wxDefaultSize,
+        long style = wxDEFAULT_FRAME_STYLE
+      );
+
+      ~wxCreaDevManagerDescriptionPanel();
+
+      bool Create(
+        wxWindow* parent,
+        wxWindowID id = -1,
+        const wxString& caption = _("Description Frame"),
+        const wxPoint& pos = wxDefaultPosition,
+        const wxSize& size = wxDefaultSize,
+        long style = wxDEFAULT_FRAME_STYLE
+      );
+
+
+  protected:
+      void CreateView(string title = "Title", string imagePath = "", string type = "Type", vector<pair<string, string> > properties = vector<pair<string, string> >());
+
+  private:
+      wxStaticText* _title;
+      wxBitmap* _image;
+      wxStaticText* _type;
+      wxStaticText* _properties;
+
+};
+
+#endif /* WXCREADEVMANAGERDESCRIPTIONFRAME_H_ */