X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMPackageManagerPanel.h;h=245ebf9640a774a2dd1a3e5c323d38935f505467;hb=c00657c295e6741fe89f541abf389f26bf0e7917;hp=dcf2fd32e3d7efa0b686f9c94d8b3b232c4c89df;hpb=6314f4e38131e2d8f9efc58002900ec231d6abe7;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMPackageManagerPanel.h b/lib/creaDevManagerLib/wxCDMPackageManagerPanel.h index dcf2fd3..245ebf9 100644 --- a/lib/creaDevManagerLib/wxCDMPackageManagerPanel.h +++ b/lib/creaDevManagerLib/wxCDMPackageManagerPanel.h @@ -36,7 +36,6 @@ #define WXCDMPACKAGEMANAGERPANEL_H_ #include -#include #include #include @@ -45,7 +44,7 @@ /** * Package manager description panel. Shows the available packages in the project and the actions corresponding to package management. */ -class wxCDMPackageManagerPanel : public wxPanel +class wxCDMPackageManagerPanel : public wxScrolledWindow { DECLARE_EVENT_TABLE() public: @@ -108,7 +107,7 @@ public: private: /** - * Project described + * Project described. */ modelCDMProject* project; @@ -116,10 +115,17 @@ private: protected: /** * Handles when a return link is pressed. + * @param event Has the link reference to know where to return */ void OnBtnReturn(wxHyperlinkEvent& event); + /** + * Handles when a package checkbox is (un)checked. + * @param event Has the link reference to know which package was selected. + */ + void OnChBPackageChange(wxCommandEvent& event); /** * Handles when a packages link is pressed. + * @param event Has the link reference to know which package was selected. */ void OnLnkPackageSelect(wxHyperlinkEvent& event); /** @@ -133,10 +139,12 @@ protected: /** * Handles when a package link is hovered. + * @param event Has the link reference to know which package was selected. */ void OnMouseEnter(wxMouseEvent& event); /** * Handles when a package link button finishes hover. + * @param event Has the link reference to know which package was selected. */ void OnMouseExit(wxMouseEvent& event); /**