]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMMainFrame.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMMainFrame.h
index ff957d5d3c4d7d9c356bebaa42f747e715446b88..18f00a05aa8410de1a6fc6f4a8dcfa817db197d6 100755 (executable)
@@ -42,7 +42,7 @@ class wxCDMMainFrame:public wxFrame
 public:
   wxCDMMainFrame(
       wxWindow* parent,
-      wxWindowID id = -1,
+      wxWindowID id = wxID_ANY,
       const wxString& caption = wxT("CREATIS CreaDevManager"),
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& size = wxDefaultSize,
@@ -53,13 +53,17 @@ public:
 
   bool Create(
       wxWindow* parent,
-      wxWindowID id = -1,
+      wxWindowID id = wxID_ANY,
       const wxString& caption = wxT("CREATIS CreaDevManager"),
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& size = wxDefaultSize,
       long style = wxDEFAULT_FRAME_STYLE
   );
 
+  modelCDMMain* GetModel() const;
+
+  void RefreshProject();
+
 protected:
   void CreateMenus();
   void CreateControls();
@@ -116,6 +120,13 @@ protected:
 
   //Tree
   void OnTreeSelectionChanged(wxTreeEvent& event);
+
+  //PropertiesPanel
+  void OnCreationComplete(wxCommandEvent& event);
+
+  //Element higlighted
+  void OnElementSelected(wxCommandEvent& event);
+  void OnElementDeselected(wxCommandEvent& event);
 };
 
 #endif