[GME-commit] GMESRC/GME/Gme/AutoRoute AutoRouter.cpp,1.8,1.9
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Mon Jul 19 11:23:01 CDT 2004
- Previous message: [GME-commit] GMESRC/GME/Gme ParadigmPropertiesDlg.cpp,NONE,1.1
ParadigmPropertiesDlg.h,NONE,1.1 GME.rc,1.121,1.122
GUIObject.cpp,1.45,1.46 GUIObject.h,1.22,1.23
ProjectPropertiesDlg.cpp,1.5,1.6 ProjectPropertiesDlg.h,1.2,1.3
resource.h,1.55,1.56
- Next message: [GME-commit]
GMESRC/GME/Interfaces InterfaceVersion.h,1.44,1.45 Mga.idl,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/gme/GMESRC/GME/Gme/AutoRoute
In directory braindrain:/tmp/cvs-serv3811/GME/Gme/AutoRoute
Modified Files:
AutoRouter.cpp
Log Message:
Enhanced handling of project properties
CVS User: volgy
Index: AutoRouter.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/AutoRoute/AutoRouter.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** AutoRouter.cpp 7 Feb 2003 15:11:24 -0000 1.8
--- AutoRouter.cpp 19 Jul 2004 15:22:59 -0000 1.9
***************
*** 60,63 ****
--- 60,64 ----
if (obj->IsVisible()) {
obj->SetRouterBox(0);
+ obj->SetRouterNameBox(0);
POSITION ppos = obj->GetPorts().GetHeadPosition();
while (ppos) {
***************
*** 178,181 ****
--- 179,188 ----
CRect loc = object->GetLocation();
box->SetRect(loc);
+
+ CArBox *nameBox;
+ nameBox = router->CreateBox();
+ CRect nameLoc = object->GetNameLocation();
+ nameBox->SetRect(nameLoc);
+
CGuiPortList &ports = object->GetPorts();
POSITION pos = ports.GetHeadPosition();
***************
*** 191,195 ****
--- 198,204 ----
object->SetRouterBox(box);
+ object->SetRouterNameBox(nameBox);
router->Add(box);
+ router->Add(nameBox);
}
***************
*** 236,240 ****
--- 245,251 ----
if (object->IsVisible()) {
router->Delete(object->GetRouterBox());
+ router->Delete(object->GetRouterNameBox());
object->SetRouterBox(0);
+ object->SetRouterNameBox(0);
ClearRouterPorts(object->GetPorts());
}
***************
*** 287,290 ****
--- 298,302 ----
CGuiObject *obj = objectList.GetNext(pos);
router->ShiftBy(obj->GetRouterBox(),offs);
+ router->ShiftBy(obj->GetRouterNameBox(),offs);
}
AutoRoute();
- Previous message: [GME-commit] GMESRC/GME/Gme ParadigmPropertiesDlg.cpp,NONE,1.1
ParadigmPropertiesDlg.h,NONE,1.1 GME.rc,1.121,1.122
GUIObject.cpp,1.45,1.46 GUIObject.h,1.22,1.23
ProjectPropertiesDlg.cpp,1.5,1.6 ProjectPropertiesDlg.h,1.2,1.3
resource.h,1.55,1.56
- Next message: [GME-commit]
GMESRC/GME/Interfaces InterfaceVersion.h,1.44,1.45 Mga.idl,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list