Program: bbtk
Module: $RCSfile: bbtkWxGUICommand.cxx,v $
Language: C++
- Date: $Date: 2008/06/13 10:14:55 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2008/06/26 06:50:05 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
EVT_BUTTON(WxGUICommand::ID_Btn_GraphS, WxGUICommand::OnBtnGraphS)
EVT_BUTTON(WxGUICommand::ID_Btn_GraphD, WxGUICommand::OnBtnGraphD)
EVT_BUTTON(WxGUICommand::ID_Btn_Help, WxGUICommand::OnBtnHelp)
- EVT_BUTTON(WxGUICommand::ID_Btn_HelpBrowser, WxGUICommand::OnBtnHelpBrowser)
+ EVT_BUTTON(WxGUICommand::ID_Btn_PackageBrowser, WxGUICommand::OnBtnPackageBrowser)
END_EVENT_TABLE()
//================================================================
wxButton *btnGraphS = new wxButton(this,ID_Btn_GraphS ,_T("graph (simple)") );
wxButton *btnGraphD = new wxButton(this,ID_Btn_GraphD ,_T("graph (detailed)") );
wxButton *btnHelp = new wxButton(this,ID_Btn_Help ,_T("help") );
- wxButton *btnHelpBrowser = new wxButton(this,ID_Btn_HelpBrowser ,_T("help browser") );
+ wxButton *btnPackageBrowser = new wxButton(this,ID_Btn_PackageBrowser ,_T("Start Package Browser") );
btnsSizer->Add( btnInclude );
btnsSizer->Add( btnReset );
btnsSizer->Add( btnGraphS );
btnsSizer->Add( btnGraphD );
btnsSizer->Add( btnHelp );
- btnsSizer->Add( btnHelpBrowser );
+ btnsSizer->Add( btnPackageBrowser );
sizer->Add(btnsSizer,0,wxTOP|wxGROW, 10 );
SendCommand("help");
}
- void WxGUICommand::OnBtnHelpBrowser(wxCommandEvent& event)
+ void WxGUICommand::OnBtnPackageBrowser(wxCommandEvent& event)
{
wxBusyCursor wait;
WxGUIPackageBrowser2Window *helpbrowser = new
- WxGUIPackageBrowser2Window(this,_T("HelpBrowser"), wxSize(600,600) );
+ WxGUIPackageBrowser2Window(this,_T("Package Browser"), wxSize(600,600) );
helpbrowser->Show();
}
Program: bbtk
Module: $RCSfile: bbtkWxGUICommand.h,v $
Language: C++
- Date: $Date: 2008/06/10 19:19:42 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2008/06/26 06:50:05 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
void OnBtnGraphS(wxCommandEvent& event);
void OnBtnGraphD(wxCommandEvent& event);
void OnBtnHelp(wxCommandEvent& event);
- void OnBtnHelpBrowser(wxCommandEvent& event);
+ void OnBtnPackageBrowser(wxCommandEvent& event);
void SendCommand(const std::string& command);
private :
ID_Btn_GraphS,
ID_Btn_GraphD,
ID_Btn_Help,
- ID_Btn_HelpBrowser
+ ID_Btn_PackageBrowser
};
DECLARE_EVENT_TABLE()
Program: bbtk
Module: $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
Language: C++
- Date: $Date: 2008/06/10 19:19:42 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2008/06/26 06:50:05 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
ID_Menu_Windows_Messages,
ID_Menu_Windows_Command,
ID_Menu_Windows_Save,
- ID_Menu_Windows_HelpBrowser
+ ID_Menu_Windows_PackageBrowser
// ID_Button_Run
};
menuWindows->AppendCheckItem(ID_Menu_Windows_Command,
_T("Show 'command' panel") )->Check();
menuWindows->AppendSeparator();
- menuWindows->Append( ID_Menu_Windows_HelpBrowser, _T("Show help &Browser") );
+ menuWindows->Append( ID_Menu_Windows_PackageBrowser, _T("Show Package &Browser") );
menuWindows->AppendSeparator();
menuWindows->Append ( ID_Menu_Windows_Save, _T("Save interface configuration"));
//================================================================
//================================================================
- void WxGUIScriptingInterface::OnMenuWindowsHelpBrowser(wxCommandEvent& WXUNUSED(event))
+ void WxGUIScriptingInterface::OnMenuWindowsPackageBrowser(wxCommandEvent& WXUNUSED(event))
{
wxBusyCursor wait;
WxGUIPackageBrowser2 *browser = new WxGUIPackageBrowser2(this);
browser->IncludeAll();
- mwxNotebook->AddPage(browser,_T("Help Browser"),true);
+ mwxNotebook->AddPage(browser,_T("Package Browser"),true);
}
//================================================================
EVT_MENU(ID_Menu_Windows_Help, WxGUIScriptingInterface::OnMenuWindowsHelp)
EVT_MENU(ID_Menu_Windows_Messages, WxGUIScriptingInterface::OnMenuWindowsMessages)
EVT_MENU(ID_Menu_Windows_Command, WxGUIScriptingInterface::OnMenuWindowsCommand)
- EVT_MENU(ID_Menu_Windows_HelpBrowser, WxGUIScriptingInterface::OnMenuWindowsHelpBrowser)
+ EVT_MENU(ID_Menu_Windows_PackageBrowser, WxGUIScriptingInterface::OnMenuWindowsPackageBrowser)
EVT_AUI_PANE_CLOSE(WxGUIScriptingInterface::OnPaneClose)
// EVT_BUTTON(ID_Button_Run, WxGUIScriptingInterface::OnButtonRun )
END_EVENT_TABLE()
Program: bbtk
Module: $RCSfile: bbtkWxGUIScriptingInterface.h,v $
Language: C++
- Date: $Date: 2008/06/10 19:19:42 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2008/06/26 06:50:05 $
+ Version: $Revision: 1.8 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
void OnMenuCreateIndex(wxCommandEvent& WXUNUSED(event));
void OnMenuWindowsFiles(wxCommandEvent& event);
void OnMenuWindowsHelp(wxCommandEvent& event);
- void OnMenuWindowsHelpBrowser(wxCommandEvent& event);
+ void OnMenuWindowsPackageBrowser(wxCommandEvent& event);
void OnMenuWindowsMessages(wxCommandEvent& event);
void OnMenuWindowsCommand(wxCommandEvent& event);
void OnMenuWindowsSave( wxCommandEvent& WXUNUSED(event));