[Igarden-commit] Garden/source/SourceMaterialDB PlantSelection.cpp, 1.30, 1.31 QueryDialog.cpp, 1.2
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2006-10-18 02:26:16
|
Update of /cvsroot/igarden/Garden/source/SourceMaterialDB In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6647 Modified Files: PlantSelection.cpp QueryDialog.cpp Log Message: Change #error to #warning and other portability cleanup Index: PlantSelection.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/SourceMaterialDB/PlantSelection.cpp,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** PlantSelection.cpp 15 Oct 2006 01:15:26 -0000 1.30 --- PlantSelection.cpp 18 Oct 2006 02:26:12 -0000 1.31 *************** *** 200,203 **** --- 200,208 ---- + static void findImage(XGFileSpecifier &spec, String &path) + { + CalcPathPictureSpec(spec, path.c_str(), '/' ); + } + // --------------------------------------------------------------------------- /// BuildLowerPane *************** *** 207,210 **** --- 212,216 ---- RGHypertextView *descript = dynamic_cast<RGHypertextView*>(_window->FindViewByID(kLowerDescription)); AssertValidView(descript); + descript->SetImageFinder(findImage); descript->HideView(); } Index: QueryDialog.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/SourceMaterialDB/QueryDialog.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** QueryDialog.cpp 15 Oct 2006 01:17:21 -0000 1.29 --- QueryDialog.cpp 18 Oct 2006 02:26:12 -0000 1.30 *************** *** 1637,1641 **** } #else ! #error TO_BE_PORTED #endif } --- 1637,1641 ---- } #else ! #warning ***Won't support Query Adverts #endif } |