From: Markus R. <rol...@us...> - 2007-07-09 19:14:21
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv26085 Modified Files: mainframe.cpp Log Message: - added edit icons to toolbar Index: mainframe.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/mainframe.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** mainframe.cpp 9 Jul 2007 18:49:08 -0000 1.28 --- mainframe.cpp 9 Jul 2007 19:14:18 -0000 1.29 *************** *** 37,40 **** --- 37,45 ---- #include <rsgedit/res/xpm_open.xpm> #include <rsgedit/res/xpm_save.xpm> + #include <rsgedit/res/xpm_cut.xpm> + #include <rsgedit/res/xpm_copy.xpm> + #include <rsgedit/res/xpm_paste.xpm> + #include <rsgedit/res/xpm_undo.xpm> + #include <rsgedit/res/xpm_redo.xpm> #include <rsgedit/res/xpm_reload.xpm> #include <rsgedit/res/xpm_agent.xpm> *************** *** 236,239 **** --- 241,251 ---- mToolBar->AddTool(ID_SIM_PAUSE, wxT("Pause"), wxBitmap(xpm_pause)); mToolBar->AddSeparator(); + mToolBar->AddTool(wxID_CUT, wxT("Cut"), wxBitmap(xpm_cut)); + mToolBar->AddTool(wxID_COPY, wxT("Copy"), wxBitmap(xpm_copy)); + mToolBar->AddTool(wxID_COPY, wxT("Paste"), wxBitmap(xpm_paste)); + mToolBar->AddSeparator(); + mToolBar->AddTool(wxID_UNDO, wxT("Undo"), wxBitmap(xpm_undo)); + mToolBar->AddTool(wxID_REDO, wxT("Redo"), wxBitmap(xpm_redo)); + mToolBar->AddSeparator(); mSimState = new wxTextCtrl( mToolBar, wxID_ANY, _T(""), wxDefaultPosition, wxSize(120, -1), wxTE_READONLY ); |