[GME-commit] GMESRC/GME/Gme ChildFrm.cpp, 1.9, 1.10 ModelPropertiesDlgBar.cpp, 1.7, 1.8

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Wed May 7 11:24:45 CDT 2008


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv28633/Gme

Modified Files:
	ChildFrm.cpp ModelPropertiesDlgBar.cpp 
Log Message:
cosmetic code corrections

CVS User:  (csaba)

Index: ModelPropertiesDlgBar.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/ModelPropertiesDlgBar.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ModelPropertiesDlgBar.cpp	14 Jun 2004 20:32:46 -0000	1.7
--- ModelPropertiesDlgBar.cpp	7 May 2008 16:24:42 -0000	1.8
***************
*** 50,54 ****
  	{
  		CWnd* zoom = GetDlgItem(IDC_ZOOMS);
! 		edit = (CEdit*)(zoom->GetDlgItem(1001));
  	}
  	char buff[100];
--- 50,54 ----
  	{
  		CWnd* zoom = GetDlgItem(IDC_ZOOMS);
! 		edit = (CEdit*)(zoom->GetDlgItem(IDC_TYPENAME));
  	}
  	char buff[100];
***************
*** 69,73 ****
  	if (!zoom)
  		return;
! 	CEdit* edit = (CEdit*)(zoom->GetDlgItem(1001));
  	if (!edit)
  		return;
--- 69,73 ----
  	if (!zoom)
  		return;
! 	CEdit* edit = (CEdit*)(zoom->GetDlgItem(IDC_TYPENAME));
  	if (!edit)
  		return;
***************
*** 156,160 ****
  	if (!zoom)
  		return;
! 	CEdit* edit = (CEdit*)(zoom->GetDlgItem(1001));
  	if (!edit)
  		return;
--- 156,160 ----
  	if (!zoom)
  		return;
! 	CEdit* edit = (CEdit*)(zoom->GetDlgItem(IDC_TYPENAME));
  	if (!edit)
  		return;
***************
*** 178,182 ****
  	if (!zoom)
  		return;
! 	CEdit* edit = (CEdit*)(zoom->GetDlgItem(1001));
  	if (!edit)
  		return;
--- 178,182 ----
  	if (!zoom)
  		return;
! 	CEdit* edit = (CEdit*)(zoom->GetDlgItem(IDC_TYPENAME));
  	if (!edit)
  		return;

Index: ChildFrm.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/ChildFrm.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ChildFrm.cpp	10 Apr 2008 22:32:37 -0000	1.9
--- ChildFrm.cpp	7 May 2008 16:24:42 -0000	1.10
***************
*** 102,108 ****
  		}
  		// terge 
! 		int zommvals[] = {ZOOM_MIN, 10, 25, 50, 75, ZOOM_NO, 150, 200, 300, ZOOM_MAX,ZOOM_WIDTH,ZOOM_HEIGHT,ZOOM_ALL,0};
! //		int zommvals[] = {ZOOM_NO,150,200,250,300,350,400,0}; // for test
! 		propBar.SetZoomList(zommvals);
  		propBar.GetDlgItem(IDI_INSTANCEMARK_ICON);
  	}
--- 102,108 ----
  		}
  		// terge 
! 		int zoomvals[] = {ZOOM_MIN, 10, 25, 50, 75, ZOOM_NO, 150, 200, 300, ZOOM_MAX,ZOOM_WIDTH,ZOOM_HEIGHT,ZOOM_ALL,0};
! //		int zoomvals[] = {ZOOM_NO,150,200,250,300,350,400,0}; // for test
! 		propBar.SetZoomList(zoomvals);
  		propBar.GetDlgItem(IDI_INSTANCEMARK_ICON);
  	}



More information about the GME-commit mailing list