From: Markus R. <rol...@us...> - 2007-02-15 10:58:44
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv970 Modified Files: Tag: WIN32 main.cpp rsgedit.vcproj Added Files: Tag: WIN32 rsgedit.rc Log Message: - use the spark icon for rsgedit Index: rsgedit.vcproj =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/Attic/rsgedit.vcproj,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** rsgedit.vcproj 14 Feb 2007 12:35:49 -0000 1.1.2.4 --- rsgedit.vcproj 15 Feb 2007 10:58:39 -0000 1.1.2.5 *************** *** 176,179 **** --- 176,183 ---- <Files> <File + RelativePath=".\icon1.ico" + > + </File> + <File RelativePath=".\inputwx.cpp" > *************** *** 224,227 **** --- 228,235 ---- </File> <File + RelativePath=".\rsgedit.rc" + > + </File> + <File RelativePath=".\simspark.cpp" > *************** *** 232,235 **** --- 240,247 ---- </File> <File + RelativePath="..\..\spark\win32\spark.ico" + > + </File> + <File RelativePath=".\sparkglcanvas.cpp" > Index: main.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/main.cpp,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -C2 -d -r1.6.2.1 -r1.6.2.2 *** main.cpp 10 Feb 2007 19:01:53 -0000 1.6.2.1 --- main.cpp 15 Feb 2007 10:58:39 -0000 1.6.2.2 *************** *** 59,65 **** mProperty = shared_ptr<Property>(new Property); - mainframe* frame = new mainframe(NULL, wxID_ANY, _T("RsgEdit")); // Show the frame frame->Show(true); --- 59,68 ---- mProperty = shared_ptr<Property>(new Property); mainframe* frame = new mainframe(NULL, wxID_ANY, _T("RsgEdit")); + #ifdef __WXMSW__ + frame->SetIcon(wxIcon("Spark", wxBITMAP_TYPE_ICO_RESOURCE)); + #endif + // Show the frame frame->Show(true); --- NEW FILE: rsgedit.rc --- Spark ICON DISCARDABLE "../../spark/win32/spark.ico" |