X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.h;h=18f00a05aa8410de1a6fc6f4a8dcfa817db197d6;hb=311bdcc514f85386f3bbbef9ff6a88bf69fd930f;hp=e2505ebb25fb5d08683d51d628e472c5fc3a4c50;hpb=e2223b619fa37daaf6103b34b39e789efc1a0b94;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.h b/lib/creaDevManagerLib/wxCDMMainFrame.h index e2505eb..18f00a0 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.h +++ b/lib/creaDevManagerLib/wxCDMMainFrame.h @@ -31,6 +31,7 @@ #include #include +#include #include "wxCDMProjectsTreeCtrl.h" #include "modelCDMMain.h" @@ -41,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, @@ -52,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(); @@ -112,6 +117,16 @@ protected: void OnMenuReportBug(wxCommandEvent& event); void OnMenuAboutCreaDevManager(wxCommandEvent& event); void OnMenuAboutCreatis(wxCommandEvent& event); + + //Tree + void OnTreeSelectionChanged(wxTreeEvent& event); + + //PropertiesPanel + void OnCreationComplete(wxCommandEvent& event); + + //Element higlighted + void OnElementSelected(wxCommandEvent& event); + void OnElementDeselected(wxCommandEvent& event); }; #endif