[GME-commit] GMESRC/GME/Gme GMEView.cpp,1.134,1.135 ChildFrm.cpp,1.6,1.7

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Fri Mar 12 17:29:16 CST 2004


Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv17063

Modified Files:
	GMEView.cpp ChildFrm.cpp 
Log Message:
zoom problem solved and enhanced

CVS User: bogyom

Index: GMEView.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/GMEView.cpp,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** GMEView.cpp	12 Mar 2004 23:16:12 -0000	1.134
--- GMEView.cpp	12 Mar 2004 23:29:14 -0000	1.135
***************
*** 31,35 ****
  static CViewList viewsToKill;
  
! #define MIN_ZOOM_RECT 20 // the minimal size of zoomable rectangle
  /*
  int setZoomPercents[GME_ZOOM_LEVEL_NUM] = {
--- 31,35 ----
  static CViewList viewsToKill;
  
! #define MIN_ZOOM_RECT 12 // the minimal size of zoomable rectangle
  /*
  int setZoomPercents[GME_ZOOM_LEVEL_NUM] = {

Index: ChildFrm.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/ChildFrm.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ChildFrm.cpp	12 Mar 2004 20:55:27 -0000	1.6
--- ChildFrm.cpp	12 Mar 2004 23:29:14 -0000	1.7
***************
*** 101,105 ****
  		}
  		// terge 
! 		int zommvals[] = {ZOOM_MIN, 25, 50, 75, ZOOM_NO, 150, 200, 250, 300, 400, 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);
--- 101,105 ----
  		}
  		// 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);



More information about the GME-commit mailing list