]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMPackageManagerHelpDialog.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMPackageManagerHelpDialog.cpp
index fe722724fb1a16651e6312fad079fb4ae5b2f4b4..15d4aabeba547abdc229230e659c107bd38d719d 100644 (file)
@@ -90,32 +90,34 @@ void wxCDMPackageManagerHelpDialog::CreateControls()
       this,
       wxID_ANY,
       crea::std2wx(
+          "Packages contain black boxes, which allow to work modularly with other boxes. This boxes can use the functions "
+          "present in your libraries and expose them to work in a BBTK-fashion.\n"
+          "\n"
           "In the package manager you can view a list of the available packages in the current project, as well as create "
           "new packages. Remember that any package you make must be included in the CMakeLists file. You can do that by "
-          "clicking on the \"Edit CMakeLists File\" button and include the desired packages at the end of the file. You "
-          "should also include the libraries you are using on your black boxes in this file.\n"
-          "\n"
-          "Select an action or click Close to continue working on the project."),
+          "clicking on the \"Edit CMakeLists File\" button in the package manager section and include the desired packages "
+          "at the end of the file. You should also include in this file those libraries your black boxes located in this "
+          "package use."),
           wxDefaultPosition,
           wxDefaultSize,
           wxALIGN_LEFT
   );
   v_sizer1->Add(instruction, 0,wxEXPAND | wxALL, 5);
 
-  wxFlexGridSizer* formItems = new wxFlexGridSizer(1,2,9,15);
-
-  wxButton* createPackageBtn = new wxButton(this, ID_BUTTON_CREATE_PACKAGE, wxT("Create a Package"));
-  wxButton* editCMakeBtn= new wxButton(this, ID_BUTTON_EDIT_CMAKELISTSFILE, wxT("Edit the CMakeLists File"));
-  editCMakeBtn->Connect(wxEVT_ENTER_WINDOW, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&wxCDMPackageManagerHelpDialog::OnEditCMakeMouseEnter,NULL,this);
-  editCMakeBtn->Connect(wxEVT_LEAVE_WINDOW, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&wxCDMPackageManagerHelpDialog::OnEditCMakeMouseExit,NULL,this);
-
-  formItems->Add(createPackageBtn, 1, wxALIGN_CENTER);
-  formItems->Add(editCMakeBtn, 1, wxALIGN_CENTER);
-
-  formItems->AddGrowableCol(0,1);
-  formItems->AddGrowableCol(1,1);
-
-  v_sizer1->Add(formItems, 1, wxEXPAND | wxALL, 15);
+//  wxFlexGridSizer* formItems = new wxFlexGridSizer(1,2,9,15);
+//
+//  wxButton* createPackageBtn = new wxButton(this, ID_BUTTON_CREATE_PACKAGE, wxT("Create a Package"));
+//  wxButton* editCMakeBtn= new wxButton(this, ID_BUTTON_EDIT_CMAKELISTSFILE, wxT("Edit the CMakeLists File"));
+//  editCMakeBtn->Connect(wxEVT_ENTER_WINDOW, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&wxCDMPackageManagerHelpDialog::OnEditCMakeMouseEnter,NULL,this);
+//  editCMakeBtn->Connect(wxEVT_LEAVE_WINDOW, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&wxCDMPackageManagerHelpDialog::OnEditCMakeMouseExit,NULL,this);
+//
+//  formItems->Add(createPackageBtn, 1, wxALIGN_CENTER);
+//  formItems->Add(editCMakeBtn, 1, wxALIGN_CENTER);
+//
+//  formItems->AddGrowableCol(0,1);
+//  formItems->AddGrowableCol(1,1);
+//
+//  v_sizer1->Add(formItems, 1, wxEXPAND | wxALL, 15);
 
   v_sizer1->Add(new wxCheckBox(this, ID_CHECKBOX_DISABLE_HELP, wxT("&Disable help")), 0, wxALIGN_RIGHT | wxRIGHT, 10);