X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.h;h=6cbaf9f1751337ed8bf4eb693722bf515bd1c9fd;hb=de76ec742d17da9747b691dd168a8d832a64168e;hp=b5180f16620b52065f9a59d531564f5430a8f344;hpb=157fdd70097efc81cb9bcd3a3b19392b8a144655;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.h b/lib/creaDevManagerLib/wxCDMMainFrame.h index b5180f1..6cbaf9f 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.h +++ b/lib/creaDevManagerLib/wxCDMMainFrame.h @@ -125,6 +125,10 @@ protected: private: //Menus + /** + * Recently opened projects menu + */ + wxMenu* menu_Recent; /** * File menu */ @@ -177,6 +181,13 @@ private: //events protected: + + /** + * Starts when the menu bar is opened. + * @param event The event object that triggers the handler. + */ + void OnMenuBarOpen(wxMenuEvent& event); + //File /** * New project handler. Launches a new project dialog and creates a project model if the project is correctly created. @@ -188,6 +199,11 @@ protected: * @param event The event object that triggers the handler. */ void OnMenuOpenProject(wxCommandEvent& event); + /** + * Open recent project handler. Creates a project model if the project is correctly opened given its path. + * @param event The event object that triggers the handler. + */ + void OnMenuOpenRecent(wxCommandEvent& event); /** * Close project handler. Remove the project from the model and restarts the user interface. * @param event The event object that triggers the handler. @@ -250,6 +266,11 @@ protected: * @param event The event object that triggers the handler. */ void OnMenuToggleHelp(wxCommandEvent& event); + /** + * Open the road map for crea projects. + * @param event The event object that triggers the handler. + */ + void OnMenuShowProjectMap(wxCommandEvent& event); /** * Open the default web browser and redirects to the CreaTools Documentation page. * @param event The event object that triggers the handler.