igarden-commit Mailing List for GardenSketch (Page 71)
Status: Beta
Brought to you by:
jlbedell
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(24) |
Nov
(77) |
Dec
(122) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(103) |
Feb
(278) |
Mar
(130) |
Apr
(66) |
May
(56) |
Jun
(31) |
Jul
(94) |
Aug
(73) |
Sep
(22) |
Oct
(306) |
Nov
(52) |
Dec
|
| 2008 |
Jan
(27) |
Feb
(90) |
Mar
(218) |
Apr
(145) |
May
(114) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 17:43:34
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17442 Modified Files: Tag: Release_branch_v1 PlanMoveAction.cpp Log Message: BUG: undo /redo resize of title fails Index: PlanMoveAction.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanMoveAction.cpp,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** PlanMoveAction.cpp 27 Oct 2005 00:33:09 -0000 1.9 --- PlanMoveAction.cpp 20 Jan 2007 17:43:31 -0000 1.9.2.1 *************** *** 112,117 **** Element *elem; planPoint_t newpos; - PathElement *pathElem; - Path *path; short n, count; pointDelta_t delta; --- 112,115 ---- *************** *** 136,142 **** elem = _elements[0]; elem->RefreshElement(_view); - pathElem = dynamic_cast<PathElement*>(elem); - MyAssert(pathElem != NULL); - path = pathElem->GetPath(); /***/ count = _pointDeltas.Length(); --- 134,137 ---- *************** *** 144,148 **** { delta = _pointDeltas[n]; ! newpos = path->GetIndexedAnchorPoint(delta.index); newpos.xOffset += delta.deltaX; newpos.yOffset += delta.deltaY; --- 139,143 ---- { delta = _pointDeltas[n]; ! newpos = elem->GetIndexedAnchorPoint(delta.index); newpos.xOffset += delta.deltaX; newpos.yOffset += delta.deltaY; |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 17:42:52
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17049 Modified Files: Tag: Release_branch_v1 ArcTool.cpp Log Message: BUG: Arcs should not be able to be area filled yet. Index: ArcTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/ArcTool.cpp,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** ArcTool.cpp 13 Aug 2005 17:57:08 -0000 1.6 --- ArcTool.cpp 20 Jan 2007 17:42:50 -0000 1.6.2.1 *************** *** 200,204 **** bool ArcTool::CanMakeClosedPath() { ! return true; } --- 200,204 ---- bool ArcTool::CanMakeClosedPath() { ! return false; } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 15:52:33
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv8825 Modified Files: Tag: Release_branch_v1 InfoTool.cpp Log Message: Fixed some application waits (spinning beachball cursor) Index: InfoTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/InfoTool.cpp,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** InfoTool.cpp 15 Apr 2005 22:22:25 -0000 1.6 --- InfoTool.cpp 20 Jan 2007 15:52:32 -0000 1.6.2.1 *************** *** 98,102 **** XGDynArray<Element*> results; - XGDraw draw(view); MyAssert(view != NULL); --- 98,101 ---- *************** *** 120,123 **** --- 119,123 ---- if(_curInfoView != NULL) { + XGDraw draw(view); view->PlanPointToPixel(point, where); |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 15:50:17
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7941 Modified Files: Tag: Release_branch_v1 PlacementTool.h PlacementTool.cpp ToolPalette.cpp PlantingBedTool.cpp ToolPalette.h Log Message: BUG: Only enable tools which are valid for the active material Index: PlacementTool.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlacementTool.h,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** PlacementTool.h 21 Jun 2006 02:45:27 -0000 1.7 --- PlacementTool.h 20 Jan 2007 15:50:13 -0000 1.7.2.1 *************** *** 36,39 **** --- 36,40 ---- virtual short GetIconID(); virtual bool KeyPressed(PlanView * view, long keyEvent, Element* element); + virtual bool IsEnabled(); protected: Index: ToolPalette.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/ToolPalette.h,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -C2 -d -r1.10 -r1.10.2.1 *** ToolPalette.h 28 Oct 2005 12:53:07 -0000 1.10 --- ToolPalette.h 20 Jan 2007 15:50:13 -0000 1.10.2.1 *************** *** 99,102 **** --- 99,103 ---- // methods void SetParentPalette(ToolPalette *parent); + void UpdatePlanToolState(PlanView *view); // attributes Index: ToolPalette.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/ToolPalette.cpp,v retrieving revision 1.20 retrieving revision 1.20.2.1 diff -C2 -d -r1.20 -r1.20.2.1 *** ToolPalette.cpp 21 Jun 2006 02:46:58 -0000 1.20 --- ToolPalette.cpp 20 Jan 2007 15:50:13 -0000 1.20.2.1 *************** *** 388,393 **** ToolPalette::PickPathTool( PlanView*view, Int32 id ) { - short n, count, tool, toolCount; - bool enabled, changed; PathTool *previous; --- 388,391 ---- *************** *** 405,409 **** _pathControls->SetCurrent(id); } ! count = _planTools.Length(); for(n = 0, changed = false; n < count; n++) --- 403,414 ---- _pathControls->SetCurrent(id); } ! UpdatePlanToolState(view); ! } ! ! void ToolPalette::UpdatePlanToolState(PlanView *view) ! { ! short n, count, tool, toolCount; ! bool enabled, changed; ! count = _planTools.Length(); for(n = 0, changed = false; n < count; n++) *************** *** 688,691 **** --- 693,697 ---- } + view = CGardenForm::TopDocumentPlanView(); if(isNonPlant != _nonPlantMaterialSelected) { *************** *** 699,703 **** if(isEnabled & !picked) { - view = CGardenForm::TopDocumentPlanView(); PickPathTool(view, n); picked = true; --- 705,708 ---- *************** *** 706,709 **** --- 711,715 ---- InvalView(); } + UpdatePlanToolState(view); return 0; Index: PlantingBedTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlantingBedTool.cpp,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** PlantingBedTool.cpp 20 Jan 2007 00:42:23 -0000 1.8.2.1 --- PlantingBedTool.cpp 20 Jan 2007 15:50:13 -0000 1.8.2.2 *************** *** 160,166 **** PlantingBedTool::IsEnabled() { ! PathTool *pt = CurrentPathTool(); PRECONDITION(pt != NULL); ! return pt->CanMakeClosedPath(); } // --------------------------------------------------------------------------- --- 160,168 ---- PlantingBedTool::IsEnabled() { ! PathTool *pt = CurrentPathTool(); ! Material *mat = GetActiveMaterial(); ! bool validMaterial = mat && ((mat->GetMaterialType() & kMajorMaterialType) == kMaterialTypePlant); PRECONDITION(pt != NULL); ! return pt->CanMakeClosedPath() && validMaterial; } // --------------------------------------------------------------------------- Index: PlacementTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlacementTool.cpp,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** PlacementTool.cpp 20 Jan 2007 00:42:23 -0000 1.10.2.1 --- PlacementTool.cpp 20 Jan 2007 15:50:13 -0000 1.10.2.2 *************** *** 152,155 **** --- 152,158 ---- } + // --------------------------------------------------------------------------- + /// KeyPressed + // bool PlacementTool::KeyPressed(PlanView * view, long keyEvent, Element* element) { *************** *** 162,163 **** --- 165,186 ---- return accepted; } + + // --------------------------------------------------------------------------- + /// IsEnabled + // + bool PlacementTool::IsEnabled() + { + Material *mat = GetActiveMaterial(); + materialType_t mtype, majorType; + bool result = false; + + if(mat != NULL) + { + mtype = mat->GetMaterialType(); + majorType = static_cast<materialType_t>(mtype & kMajorMaterialType); + if(majorType != kMaterialTypeUnspecified && majorType != kMaterialTypeBackground) + result = true; + } + + return result; + } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 05:45:05
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv3227 Modified Files: Tag: Release_branch_v1 WritablePlanView.cpp ActiveMaterial.cpp Log Message: BUG: Non-plant items weren't getting into the "All in document" menu Index: ActiveMaterial.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/ActiveMaterial.cpp,v retrieving revision 1.45.2.10 retrieving revision 1.45.2.11 diff -C2 -d -r1.45.2.10 -r1.45.2.11 *** ActiveMaterial.cpp 29 Dec 2006 21:19:26 -0000 1.45.2.10 --- ActiveMaterial.cpp 20 Jan 2007 05:44:58 -0000 1.45.2.11 *************** *** 681,684 **** --- 681,685 ---- #pragma unused(arg) Material *mat = (Material*)parg; + materialID_t id; if(mat != NULL && _topPalette != NULL) *************** *** 686,692 **** if(mat->IsNamed(kPreferBoth)) { ! AddMaterial(mat, true); ! _needsUIUpdate = true; // To be clear. S/B set by AddMaterial anyway. ! _newUpdateID = mat->GetMaterialID(); } } --- 687,697 ---- if(mat->IsNamed(kPreferBoth)) { ! id = mat->GetMaterialID(); ! if(!_topPalette->IsMaterialIDInSet(id)) ! { ! AddMaterial(mat, true); ! _needsUIUpdate = true; // To be clear. S/B set by AddMaterial anyway. ! _newUpdateID = id; ! } } } Index: WritablePlanView.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/WritablePlanView.cpp,v retrieving revision 1.23.2.1 retrieving revision 1.23.2.2 diff -C2 -d -r1.23.2.1 -r1.23.2.2 *** WritablePlanView.cpp 6 Jan 2007 15:49:51 -0000 1.23.2.1 --- WritablePlanView.cpp 20 Jan 2007 05:44:58 -0000 1.23.2.2 *************** *** 45,49 **** --- 45,51 ---- #include "PlanBackgroundAction.h" #include "PlanChangeAction.h" + #include "CDatabasePanel.h" #include <XGXMLDOMParser.h> + #include <XGBroadcast.h> using yaaf::RGClipboard; *************** *** 449,452 **** --- 451,457 ---- InvalView(); } + + if(copiedItem) + XGBroadcast::SendBroadcast(kDBAddMsg, 0, copiedItem); } } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:35:30
|
Update of /cvsroot/igarden/Garden/source/resources/English.lproj/GardenSketch Help In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29511 Added Files: Irregular.html Log Message: --- NEW FILE: Irregular.html --- <h2>Creating Irregular Garden Borders</h2> Before deciding on plans for your garden, it's useful to be able to draw the boundaries of the garden so that you can see how much space it available. In this entry, I'll describe a method which works for totally irregular garden shapes. <ol> <li>Edit the garden plot size to a rectangle which is somewhat larger than the garden.</li><p></p> <li>Measure the size of the garden along its longest point. Create a dimension line the size of the measured line.</li><p></p> <img src="GS_IrregularBorders1.png" height="200" width="315" border="1" hspace="4" vspace="4" /><p></p> <li>At regular intervals, measure in both directions away from the original line. It's best to use the intervals of the grid on GardenSketch so that you can use the grid to align the measurements at right angles.</li><p></p> <img src="GS_IrregularBorders2.png" height="200" width="277" border="1" hspace="4" vspace="4" /><p></p> <li>Click the paint tool and the freehand shape tool, and draw a line around the outside of the dimension lines. If you need to draw the shape in multiple lines, then you can use the "Combine" menu item to combine the lines into one shape.</li><p></p> <img src="GS_IrregularBorders3.png" height="200" width="320" border="1" hspace="4" vspace="4" /><p></p> <li>Drag the shape to its final location and erase the dimension lines.</li><p></p> <img src="GS_IrregularBorders4.png" height="200" width="341" border="1" hspace="4" vspace="4" /><p></p> <li>You may want to drag a backdrop into the garden area. If you choose a backdrop of wood chips, then GardenSketch will compute the volume of wood chips required in the shopping list report.</li><p></p> </ol> |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:33:01
|
Update of /cvsroot/igarden/Garden/source/resources/English.lproj/GardenSketch Help In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv28406 Modified Files: Tag: Release_branch_v1 HowDoI.html Log Message: Add more help Index: HowDoI.html =================================================================== RCS file: /cvsroot/igarden/Garden/source/resources/English.lproj/GardenSketch Help/HowDoI.html,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -C2 -d -r1.5.2.1 -r1.5.2.2 *** HowDoI.html 28 Dec 2006 15:46:51 -0000 1.5.2.1 --- HowDoI.html 20 Jan 2007 02:32:59 -0000 1.5.2.2 *************** *** 64,67 **** --- 64,68 ---- <a href="AerialPhoto.html">Add an Aerial Photograph Backdrop</a><br> <a href="Plots.html#Subplot">Creating Sub-Plots</a><br> + <a href="Irregular.html">Draw the Bounds of an Irregular Garden Area</a><br> </p> </td> |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:04:42
|
Update of /cvsroot/igarden/Garden/Macintosh/Garden.xcodeproj In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17776 Modified Files: Tag: Release_branch_v1 project.pbxproj Log Message: Add more backgrounds Index: project.pbxproj =================================================================== RCS file: /cvsroot/igarden/Garden/Macintosh/Garden.xcodeproj/project.pbxproj,v retrieving revision 1.58.2.15 retrieving revision 1.58.2.16 diff -C2 -d -r1.58.2.15 -r1.58.2.16 *** project.pbxproj 29 Dec 2006 15:45:52 -0000 1.58.2.15 --- project.pbxproj 20 Jan 2007 02:04:41 -0000 1.58.2.16 *************** *** 139,142 **** --- 139,144 ---- 491C76F708D37D80008DAD03 /* PlanPaletteView.h in Headers */ = {isa = PBXBuildFile; fileRef = 491C76F508D37D80008DAD03 /* PlanPaletteView.h */; }; 491C76F808D37D80008DAD03 /* PlanPaletteView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 491C76F608D37D80008DAD03 /* PlanPaletteView.cpp */; }; + 491FFE700B61A3E5009F5D26 /* DarkBrownDirt.png in Resources */ = {isa = PBXBuildFile; fileRef = 491FFE6F0B61A3E5009F5D26 /* DarkBrownDirt.png */; }; + 491FFECA0B61A827009F5D26 /* CedarMulch.png in Resources */ = {isa = PBXBuildFile; fileRef = 491FFEC90B61A827009F5D26 /* CedarMulch.png */; }; 4928AC0706B211E2001689E2 /* DatabaseFile.cp in Sources */ = {isa = PBXBuildFile; fileRef = 49B02614064A576A00C95424 /* DatabaseFile.cp */; }; 4929D78D0649D56A0047C25E /* AerialImportDialog.h in Headers */ = {isa = PBXBuildFile; fileRef = 4929D78B0649D56A0047C25E /* AerialImportDialog.h */; }; *************** *** 851,854 **** --- 853,858 ---- 491C76F508D37D80008DAD03 /* PlanPaletteView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PlanPaletteView.h; path = PlanTool/PlanPaletteView.h; sourceTree = "<group>"; }; 491C76F608D37D80008DAD03 /* PlanPaletteView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PlanPaletteView.cpp; path = PlanTool/PlanPaletteView.cpp; sourceTree = "<group>"; }; + 491FFE6F0B61A3E5009F5D26 /* DarkBrownDirt.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DarkBrownDirt.png; path = ../source/resources/Backgrounds/DarkBrownDirt.png; sourceTree = SOURCE_ROOT; }; + 491FFEC90B61A827009F5D26 /* CedarMulch.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = CedarMulch.png; path = ../source/resources/Backgrounds/CedarMulch.png; sourceTree = SOURCE_ROOT; }; 49254E480897B7430001F72E /* PlantOutline.svg */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; name = PlantOutline.svg; path = ../source/resources/2DSymbols/PlantOutline.svg; sourceTree = SOURCE_ROOT; }; 49254E490897B7430001F72E /* TreeOutline.svg */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; name = TreeOutline.svg; path = ../source/resources/2DSymbols/TreeOutline.svg; sourceTree = SOURCE_ROOT; }; *************** *** 1625,1628 **** --- 1629,1634 ---- isa = PBXGroup; children = ( + 491FFEC90B61A827009F5D26 /* CedarMulch.png */, + 491FFE6F0B61A3E5009F5D26 /* DarkBrownDirt.png */, 492B2873064B048600EB240B /* Backgrounds.xml */, 492B2874064B048600EB240B /* blacktop.png */, *************** *** 2629,2632 **** --- 2635,2640 ---- 49980BB20B361FDA00A2A84F /* ShopList1.html in Resources */, 49054F9D0B3A34860068711A /* ShopList3.html in Resources */, + 491FFE700B61A3E5009F5D26 /* DarkBrownDirt.png in Resources */, + 491FFECA0B61A827009F5D26 /* CedarMulch.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:04:17
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17751 Modified Files: Tag: Release_branch_v1 RGClipboard.cpp Log Message: Use HFS path in preference to PICT, as copy/pastye of a file will paste the thumbnail icon, but the HFS path is the original Index: RGClipboard.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGClipboard.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 *** RGClipboard.cpp 10 Jan 2007 12:03:16 -0000 1.6.2.1 --- RGClipboard.cpp 20 Jan 2007 02:04:16 -0000 1.6.2.2 *************** *** 294,298 **** pictureKind_t result = kNotAPicture; ! if(ItemInClipboard(kScrapFlavorTypePicture)) result = kPictureData; else if(ItemInClipboard('furl') || ItemInClipboard(kScrapFlavorTypeText)) --- 294,300 ---- pictureKind_t result = kNotAPicture; ! if(ItemInClipboard('hfs ')) ! result = kPictureReference; ! else if(ItemInClipboard(kScrapFlavorTypePicture)) result = kPictureData; else if(ItemInClipboard('furl') || ItemInClipboard(kScrapFlavorTypeText)) |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:03:12
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17352 Modified Files: Tag: Release_branch_v1 RGPatternCache.cpp Log Message: Don't crash if no picture present Index: RGPatternCache.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGPatternCache.cpp,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** RGPatternCache.cpp 17 Jan 2007 14:05:13 -0000 1.8.2.1 --- RGPatternCache.cpp 20 Jan 2007 02:03:10 -0000 1.8.2.2 *************** *** 106,122 **** draw.SetForeColor(KXGColorBlack); ! for( y = 0; y < BG_REPLIC; y++) { ! for(x = 0; x < BG_REPLIC; x++) { ! destRect.left = x * scaleSize.h; ! destRect.top = y * scaleSize.v; ! destRect.right = destRect.left + scaleSize.h; ! destRect.bottom = destRect.top + scaleSize.v; ! onePat->CopyImage(entry->_image, destRect); } } ! delete onePat; ! long trimWidth, trimHeight; --- 106,125 ---- draw.SetForeColor(KXGColorBlack); ! if(onePat != NULL) { ! for( y = 0; y < BG_REPLIC; y++) { ! for(x = 0; x < BG_REPLIC; x++) ! { ! destRect.left = x * scaleSize.h; ! destRect.top = y * scaleSize.v; ! destRect.right = destRect.left + scaleSize.h; ! destRect.bottom = destRect.top + scaleSize.v; ! onePat->CopyImage(entry->_image, destRect); ! } } + delete onePat; } ! long trimWidth, trimHeight; |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:02:08
|
Update of /cvsroot/igarden/Garden/source/resources In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16617 Modified Files: Tag: Release_branch_v1 SourceMaterialsStart.xml Log Message: Add dirt background Index: SourceMaterialsStart.xml =================================================================== RCS file: /cvsroot/igarden/Garden/source/resources/SourceMaterialsStart.xml,v retrieving revision 1.24.2.9 retrieving revision 1.24.2.10 diff -C2 -d -r1.24.2.9 -r1.24.2.10 *** SourceMaterialsStart.xml 5 Jan 2007 02:18:38 -0000 1.24.2.9 --- SourceMaterialsStart.xml 20 Jan 2007 02:02:06 -0000 1.24.2.10 *************** *** 1302,1305 **** --- 1302,1307 ---- <Material UID="01234685-0000-E73E-0000-0A00000065F1" CommonName="Tile" materialType="Background" MaterialLength="20.30cm" MaterialWidth="20.30cm" Picture="tilefloor.png" suppliers="0000B7EB-0000-0AF1-0000-00030000E122"/> <Material UID="01234686-0000-E73E-0000-0A00000065F1" CommonName="Wood Chips" materialType="Mulch" Height="5cm" MaterialLength="40.60cm" MaterialWidth="40.60cm" Picture="dirt.png" suppliers="0000B7EB-0000-0AF1-0000-00030000E122"/> + <Material UID="01234687-0000-E73E-0000-0A00000065F1" CommonName="Soil" materialType="Background" MaterialLength="40.60cm" MaterialWidth="40.60cm" Picture="DarkBrownDirt.png" suppliers="0000B7EB-0000-0AF1-0000-00030000E122"/> + <Material UID="01234688-0000-E73E-0000-0A00000065F1" CommonName="Cedar Mulch" materialType="Mulch" Height="5cm" MaterialLength="40.60cm" MaterialWidth="40.60cm" Picture="CedarMulch.png" suppliers="0000B7EB-0000-0AF1-0000-00030000E122"/> </Materials> </iGardenSource> \ No newline at end of file |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:01:53
|
Update of /cvsroot/igarden/Garden/source/resources/Backgrounds In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16603 Modified Files: Tag: Release_branch_v1 Backgrounds.xml Log Message: Add dirt background Index: Backgrounds.xml =================================================================== RCS file: /cvsroot/igarden/Garden/source/resources/Backgrounds/Backgrounds.xml,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** Backgrounds.xml 23 Jun 2005 21:26:26 -0000 1.4 --- Backgrounds.xml 20 Jan 2007 02:01:52 -0000 1.4.2.1 *************** *** 3,5 **** <Background length="8in" width="8in" name="Tile" uid="1234685-0000-e73e-00-00-0a-00-00-00-65-f1" path="tilefloor.png"></Background> <Background length="16in" width="16in" name="Wood Chips" uid="1234686-0000-e73e-00-00-0a-00-00-00-65-f1" depth="2in" path="dirt.png"></Background> ! --- 3,5 ---- <Background length="8in" width="8in" name="Tile" uid="1234685-0000-e73e-00-00-0a-00-00-00-65-f1" path="tilefloor.png"></Background> <Background length="16in" width="16in" name="Wood Chips" uid="1234686-0000-e73e-00-00-0a-00-00-00-65-f1" depth="2in" path="dirt.png"></Background> ! <Background length="16in" width="16in" name="Soil (dark brown)" uid="1234687-0000-e73e-00-00-0a-00-00-00-65-f1" path="DarkBrownDirt.png"></Background> |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:01:48
|
Update of /cvsroot/igarden/Garden/source/resources In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16591 Modified Files: Tag: Release_branch_v1 Palettes.xml Log Message: Add dirt background Index: Palettes.xml =================================================================== RCS file: /cvsroot/igarden/Garden/source/resources/Attic/Palettes.xml,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** Palettes.xml 5 Jan 2007 02:12:47 -0000 1.1.2.5 --- Palettes.xml 20 Jan 2007 02:01:47 -0000 1.1.2.6 *************** *** 94,97 **** --- 94,99 ---- <item>Tile</item> <item>Wood Chips</item> + <item>Soil</item> + <!-- <item>Cedar Mulch</item> --> </Palette> </PaletteGroup> |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:01:32
|
Update of /cvsroot/igarden/Garden/source/resources/Backgrounds In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16580 Added Files: CedarMulch.png Log Message: Add dirt background --- NEW FILE: CedarMulch.png --- (This appears to be a binary file; contents omitted.) |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 02:01:21
|
Update of /cvsroot/igarden/Garden/source/resources/Backgrounds In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16566 Added Files: DarkBrownDirt.png Log Message: Add dirt background --- NEW FILE: DarkBrownDirt.png --- (This appears to be a binary file; contents omitted.) |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 00:42:46
|
Update of /cvsroot/igarden/Garden/source/Document In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv18982 Modified Files: Tag: Release_branch_v1 CPlanPanel.cp Log Message: Add selectAll on plan view Index: CPlanPanel.cp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CPlanPanel.cp,v retrieving revision 1.43.2.2 retrieving revision 1.43.2.3 diff -C2 -d -r1.43.2.2 -r1.43.2.3 *** CPlanPanel.cp 5 Dec 2006 03:06:29 -0000 1.43.2.2 --- CPlanPanel.cp 20 Jan 2007 00:42:43 -0000 1.43.2.3 *************** *** 398,401 **** --- 398,402 ---- case kMenuToolsEditAlternatives: case kMenuToolsStyle: + case KXGEditSelectAll: m->enable = true; return 0; *************** *** 567,570 **** --- 568,577 ---- } + static void AddToSelected(Element *element, void *ref) + { + SelectedElements *selected = reinterpret_cast<SelectedElements*>(ref); + selected->AddSelectedElements(element); + } + // --------------------------------------------------------------------------- *************** *** 596,599 **** --- 603,616 ---- break; #endif + case KXGEditSelectAll: + layer = layout->GetWritableLayer(); + if(layer) + { + planRectangle_t bounds; + + layer->GetBoundingRect(bounds); + layer->ExecuteForEachElementWithin(AddToSelected, wview->GetSelectList(), bounds); + } + break; case KMenuFilePrint: |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-20 00:42:25
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv18937 Modified Files: Tag: Release_branch_v1 PlantingBedTool.cpp SelectedElements.cpp PlacementTool.cpp Log Message: Fix delete key on plan view Index: SelectedElements.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/SelectedElements.cpp,v retrieving revision 1.23 retrieving revision 1.23.2.1 diff -C2 -d -r1.23 -r1.23.2.1 *** SelectedElements.cpp 15 Sep 2005 21:50:48 -0000 1.23 --- SelectedElements.cpp 20 Jan 2007 00:42:23 -0000 1.23.2.1 *************** *** 448,455 **** for(n = 0; n < numElem && !accepted; n++) { ! elem = _selected[n]; ! tool = elem->GetCreateTool(_view); ! if(tool != NULL) ! accepted = tool->KeyPressed(_view, value, elem); } --- 448,458 ---- for(n = 0; n < numElem && !accepted; n++) { ! if(n < _selected.Length()) // In case a tool deletes selected items ! { ! elem = _selected[n]; ! tool = elem->GetCreateTool(_view); ! if(tool != NULL) ! accepted = tool->KeyPressed(_view, value, elem); ! } } Index: PlantingBedTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlantingBedTool.cpp,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -C2 -d -r1.8 -r1.8.2.1 *** PlantingBedTool.cpp 21 Jun 2006 02:45:27 -0000 1.8 --- PlantingBedTool.cpp 20 Jan 2007 00:42:23 -0000 1.8.2.1 *************** *** 181,185 **** bool PlantingBedTool::KeyPressed(PlanView * view, long keyEvent, Element* element) { ! return PlanTool::PathWidthKeyPressed(view, keyEvent, element); } --- 181,191 ---- bool PlantingBedTool::KeyPressed(PlanView * view, long keyEvent, Element* element) { ! bool accepted; ! ! accepted = PlanTool::PathWidthKeyPressed(view, keyEvent, element); ! if(!accepted) ! accepted = PlanTool::KeyPressed(view, keyEvent, element); ! ! return accepted; } Index: PlacementTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlacementTool.cpp,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -C2 -d -r1.10 -r1.10.2.1 *** PlacementTool.cpp 21 Jun 2006 02:45:27 -0000 1.10 --- PlacementTool.cpp 20 Jan 2007 00:42:23 -0000 1.10.2.1 *************** *** 154,157 **** bool PlacementTool::KeyPressed(PlanView * view, long keyEvent, Element* element) { ! return PlanTool::PathWidthKeyPressed(view, keyEvent, element); } --- 154,163 ---- bool PlacementTool::KeyPressed(PlanView * view, long keyEvent, Element* element) { ! bool accepted; ! ! accepted = PlanTool::PathWidthKeyPressed(view, keyEvent, element); ! if(!accepted) ! accepted = PlanTool::KeyPressed(view, keyEvent, element); ! ! return accepted; } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-19 13:48:10
|
Update of /cvsroot/igarden/Garden/source/resources In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv24230 Modified Files: Tag: Release_branch_v1 Garden2.rsrc Log Message: New dimension tool icon Index: Garden2.rsrc =================================================================== RCS file: /cvsroot/igarden/Garden/source/resources/Garden2.rsrc,v retrieving revision 1.33.2.6 retrieving revision 1.33.2.7 diff -C2 -d -r1.33.2.6 -r1.33.2.7 Binary files /tmp/cvs4hbAa1 and /tmp/cvsZLZa1F differ |
Update of /cvsroot/igarden/Garden/source/resources/English.lproj/GardenSketch Help/Images In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22872 Added Files: GS_IrregularBorders1.png GS_IrregularBorders2.png GS_IrregularBorders3.png GS_IrregularBorders4.png Log Message: Adding addiitional help --- NEW FILE: GS_IrregularBorders4.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: GS_IrregularBorders1.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: GS_IrregularBorders2.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: GS_IrregularBorders3.png --- (This appears to be a binary file; contents omitted.) |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-19 13:43:55
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22483 Modified Files: Tag: Release_branch_v1 PlanTool.cpp PlanTool.h Log Message: BUG: Sometimes missed dragEnd messages (when working quickly) Index: PlanTool.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanTool.h,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** PlanTool.h 21 Jun 2006 02:39:08 -0000 1.9 --- PlanTool.h 19 Jan 2007 13:43:53 -0000 1.9.2.1 *************** *** 114,117 **** --- 114,118 ---- planPoint_t _mouseDownPos; bool _contentDown; + bool _dragging; planPoint_t _ContentMouseDownPos; UInt32 _clickCount; Index: PlanTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanTool.cpp,v retrieving revision 1.20 retrieving revision 1.20.2.1 diff -C2 -d -r1.20 -r1.20.2.1 *** PlanTool.cpp 21 Jun 2006 02:39:08 -0000 1.20 --- PlanTool.cpp 19 Jan 2007 13:43:53 -0000 1.20.2.1 *************** *** 56,59 **** --- 56,60 ---- _ContentMouseDownPos.xOffset = 0; _ContentMouseDownPos.yOffset = 0; + _dragging = false; } *************** *** 86,116 **** _down = false; ! if(doubleClick) { ! _clickCount = 2; Click(view, point, _clickCount, NULL); } else { ! Point startPix, endPix; ! bool near; ! ! view->PlanPointToPortPixel(_mouseDownPos, startPix); ! view->PlanPointToPortPixel(point, endPix); ! near = (abs(startPix.h-endPix.h) < 4 && abs(startPix.v-endPix.v) < 4); ! if(near && (modifiers & KFastClick)) ! { ! if(doubleClick) ! { ! _clickCount = 2; ! } ! else ! _clickCount = 1; ! Click(view, point, _clickCount, NULL); ! } ! else ! { ! Drag(view, _mouseDownPos, point, kPtDragEnd, NULL); ! } } } --- 87,110 ---- _down = false; ! Point startPix, endPix; ! bool near; ! ! view->PlanPointToPortPixel(_mouseDownPos, startPix); ! view->PlanPointToPortPixel(point, endPix); ! near = (abs(startPix.h-endPix.h) < 4 && abs(startPix.v-endPix.v) < 4); ! if(!_dragging && near && (modifiers & KFastClick)) { ! if(doubleClick) ! { ! _clickCount = 2; ! } ! else ! _clickCount = 1; Click(view, point, _clickCount, NULL); } else { ! Drag(view, _mouseDownPos, point, kPtDragEnd, NULL); ! _dragging = false; } } *************** *** 152,156 **** --- 146,153 ---- { if(!view2->PlanPointsAreClose(_mouseDownPos, point)) + { + _dragging = true; Drag(view, _mouseDownPos, point, kPtDragIntermediate, NULL); + } } } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-19 13:42:57
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22079 Modified Files: Tag: Release_branch_v1 DimensionTool.cpp Log Message: BUG: Couldn't do planChange on more than one element Index: DimensionTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/DimensionTool.cpp,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** DimensionTool.cpp 6 Oct 2005 03:07:15 -0000 1.9 --- DimensionTool.cpp 19 Jan 2007 13:42:55 -0000 1.9.2.1 *************** *** 126,134 **** if(pathElem != NULL) { ! if(action == NULL && (toggle || !pathElem->IsDimensionLineEnabled())) { ! action = new PlanChangeAction(this, view2, kPlanToolUndoResource, kPlanToolRedoResource, kChangeDimensionUndoRedoIndex); ! MEMCHECK(action); ! StartAction(action); action->AddElement(pathElem); } --- 126,137 ---- if(pathElem != NULL) { ! if(toggle || !pathElem->IsDimensionLineEnabled()) { ! if(action == NULL) ! { ! action = new PlanChangeAction(this, view2, kPlanToolUndoResource, kPlanToolRedoResource, kChangeDimensionUndoRedoIndex); ! MEMCHECK(action); ! StartAction(action); ! } action->AddElement(pathElem); } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-19 13:42:40
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22036 Modified Files: Tag: Release_branch_v1 PlanChangeAction.h PlanChangeAction.cpp Log Message: BUG: Couldn't do planChange on more than one element Index: PlanChangeAction.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanChangeAction.h,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** PlanChangeAction.h 16 May 2005 23:05:32 -0000 1.4 --- PlanChangeAction.h 19 Jan 2007 13:42:35 -0000 1.4.2.1 *************** *** 24,27 **** --- 24,34 ---- using yaaf::XGHandle; + typedef struct + { + Element *elem; + XGHandle beforeData; // Save on redo + XGHandle afterData; // Save on undo + } changeItem_t; + class PlanChangeAction : public PlanAction { *************** *** 44,50 **** // attributes ! XGHandle _beforeData; // Save on redo ! XGHandle _afterData; // Save on undo ! Element *_currentVersion; short _undoResource; short _redoResource; --- 51,55 ---- // attributes ! XGDynArray<changeItem_t> _currentVersions; short _undoResource; short _redoResource; Index: PlanChangeAction.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PlanChangeAction.cpp,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** PlanChangeAction.cpp 13 Mar 2005 20:43:34 -0000 1.4 --- PlanChangeAction.cpp 19 Jan 2007 13:42:35 -0000 1.4.2.1 *************** *** 57,68 **** { RGXMLWriter writer; ! _currentVersion = newVersion; ! _beforeData.SetSize(0); ! XGStreamHandle before(_beforeData); writer.StartXMLWriter(&before); ! _currentVersion->SaveAsXML(writer); writer.EndXMLWriter(); } --- 57,70 ---- { RGXMLWriter writer; + changeItem_t item; ! item.elem = newVersion; + XGStreamHandle before(item.beforeData); writer.StartXMLWriter(&before); ! newVersion->SaveAsXML(writer); writer.EndXMLWriter(); + + _currentVersions.push_back(item); } *************** *** 77,91 **** XGXMLDOMParser parser; XGXMLObject *parseTree; ! _afterData.SetSize(0); ! XGStreamHandle after(_afterData); ! XGStreamHandle before(_beforeData); ! ! writer.StartXMLWriter(&after); ! _currentVersion->SaveAsXML(writer); ! writer.EndXMLWriter(); ! parseTree = parser.RunDOMParser(&before); ! MyAssert(parseTree != NULL); ! _currentVersion->ParseXML(parseTree); _view->InvalView(); } --- 79,100 ---- XGXMLDOMParser parser; XGXMLObject *parseTree; + long i, count; + + count = _currentVersions.Length(); + for(i = 0; i < count; i++) + { + _currentVersions[i].afterData.SetSize(0); ! XGStreamHandle after(_currentVersions[i].afterData); ! writer.StartXMLWriter(&after); ! _currentVersions[i].elem->SaveAsXML(writer); ! writer.EndXMLWriter(); ! } ! for(i = 0; i < count; i++) ! { ! XGStreamHandle before(_currentVersions[i].beforeData); ! parseTree = parser.RunDOMParser(&before); ! _currentVersions[i].elem->ParseXML(parseTree); ! } _view->InvalView(); } *************** *** 101,115 **** XGXMLDOMParser parser; XGXMLObject *parseTree; - _beforeData.SetSize(0); - XGStreamHandle after(_afterData); - XGStreamHandle before(_beforeData); ! writer.StartXMLWriter(&before); ! _currentVersion->SaveAsXML(writer); ! writer.EndXMLWriter(); ! parseTree = parser.RunDOMParser(&after); ! MyAssert(parseTree != NULL); ! _currentVersion->ParseXML(parseTree); _view->InvalView(); } --- 110,132 ---- XGXMLDOMParser parser; XGXMLObject *parseTree; + long i, count; ! count = _currentVersions.Length(); ! for(i = 0; i < count; i++) ! { ! _currentVersions[i].beforeData.SetSize(0); ! ! XGStreamHandle before(_currentVersions[i].beforeData); ! writer.StartXMLWriter(&before); ! _currentVersions[i].elem->SaveAsXML(writer); ! writer.EndXMLWriter(); ! } ! for(i = 0; i < count; i++) ! { ! XGStreamHandle after(_currentVersions[i].afterData); ! parseTree = parser.RunDOMParser(&after); ! _currentVersions[i].elem->ParseXML(parseTree); ! } _view->InvalView(); } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-17 14:05:16
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11775 Modified Files: Tag: Release_branch_v1 RGPatternCache.cpp Log Message: BUG: backdrop colors don't work on Intel machines with Universal Binary Index: RGPatternCache.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGPatternCache.cpp,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -C2 -d -r1.8 -r1.8.2.1 *** RGPatternCache.cpp 19 Jun 2005 01:48:36 -0000 1.8 --- RGPatternCache.cpp 17 Jan 2007 14:05:13 -0000 1.8.2.1 *************** *** 81,84 **** --- 81,85 ---- short x, y; Rect bound, destRect; + XGDraw draw(view); PRECONDITION(spec != NULL); *************** *** 102,105 **** --- 103,108 ---- entry = new PatternCacheEntry; entry->_image = new CGWorld(bound); + draw.SetBackColor(KXGColorWhite); + draw.SetForeColor(KXGColorBlack); for( y = 0; y < BG_REPLIC; y++) |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-17 13:18:27
|
Update of /cvsroot/igarden/Garden/source/PlanTool In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv25688 Modified Files: Tag: Release_branch_v1 PathTool.cpp Log Message: BUG: Fix problem undoing changes to the end point of an arc Index: PathTool.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/PlanTool/PathTool.cpp,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** PathTool.cpp 21 Jun 2006 02:45:57 -0000 1.9 --- PathTool.cpp 17 Jan 2007 13:18:25 -0000 1.9.2.1 *************** *** 160,168 **** planRectangle_t PathTool::ChangeIndexedAnchorPoint(UInt32 index, planPoint_t oldPoint, planPoint_t newPoint, Element *elem, bool start, PlanMoveAction *action) { ! planPoint_t beforeMove; beforeMove = elem->GetIndexedAnchorPoint(index); ! action->MoveAnchorBy(index, newPoint.xOffset-beforeMove.xOffset, newPoint.yOffset-beforeMove.yOffset ); ! return elem->ChangeIndexedAnchorPoint(index, newPoint); } --- 160,175 ---- planRectangle_t PathTool::ChangeIndexedAnchorPoint(UInt32 index, planPoint_t oldPoint, planPoint_t newPoint, Element *elem, bool start, PlanMoveAction *action) { ! planPoint_t beforeMove, afterMove; ! planRectangle_t result; + // Since ChangeIndexAnchorPoint() may constrain the anchor point, the code shouldn't compare + // a current mouse position to the last constrained point. Therefore, do the operation, then + // get the new constrained point to do the comparison. + // ex: End point of arc must lie on the radius beforeMove = elem->GetIndexedAnchorPoint(index); ! result = elem->ChangeIndexedAnchorPoint(index, newPoint); ! afterMove = elem->GetIndexedAnchorPoint(index); ! action->MoveAnchorBy(index, afterMove.xOffset-beforeMove.xOffset, afterMove.yOffset-beforeMove.yOffset ); ! return result; } |
|
From: Jeffrey B. <jlb...@us...> - 2007-01-17 02:54:38
|
Update of /cvsroot/igarden/Garden/source/Document In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv10603 Modified Files: Tag: Release_branch_v1 CGardenForm.cp Log Message: Make sure that newly opened documents does not need to be saved Index: CGardenForm.cp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CGardenForm.cp,v retrieving revision 1.36.2.4 retrieving revision 1.36.2.5 diff -C2 -d -r1.36.2.4 -r1.36.2.5 *** CGardenForm.cp 12 Jan 2007 02:28:42 -0000 1.36.2.4 --- CGardenForm.cp 17 Jan 2007 02:54:36 -0000 1.36.2.5 *************** *** 967,973 **** doc->SwitchToNamedPanel(name); delete [] name; } - - doc->_file->ClearModified(); // Mark as unchanged by the user #if 0 --- 967,973 ---- doc->SwitchToNamedPanel(name); delete [] name; + + doc->_file->ClearModified(); // Mark as unchanged by the user } #if 0 |