]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMPackageManagerPanel.h
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / wxCDMPackageManagerPanel.h
index dcf2fd32e3d7efa0b686f9c94d8b3b232c4c89df..245ebf9640a774a2dd1a3e5c323d38935f505467 100644 (file)
@@ -36,7 +36,6 @@
 #define WXCDMPACKAGEMANAGERPANEL_H_
 
 #include <creaWx.h>
-#include <wx/panel.h>
 #include <wx/hyperlink.h>
 #include <wx/event.h>
 
@@ -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);
   /**