[GME-commit] GMESRC/GME/Console ConsoleCtl.cpp,1.10,1.11

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Mon May 19 16:47:11 CDT 2008


Update of /project/gme-repository/GMESRC/GME/Console
In directory escher:/tmp/cvs-serv9884

Modified Files:
	ConsoleCtl.cpp 
Log Message:
.CVS: ----------------------------------------------------------------------


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: ConsoleCtl.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Console/ConsoleCtl.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ConsoleCtl.cpp	13 May 2008 17:54:40 -0000	1.10
--- ConsoleCtl.cpp	19 May 2008 21:47:09 -0000	1.11
***************
*** 223,227 ****
  	const int horiz_size    = 26;
  	const int bt_size       = 20;
- 	int       hori2_size    = GetSystemMetrics(SM_CXVSCROLL)-1;// the width of the scrollbar above it
  	const int prnx_size     = 19; // width of the prev/next buttons
  
--- 223,226 ----
***************
*** 269,280 ****
  		// place 'Clear'
  		CRect rcClean = rcExtra;                    // clear btn rect
! 		rcClean.left = rcClean.right - hori2_size;
  		
  		CRect rcClrBtn(rcClean);
! 		rcClrBtn.top += (vertic_size-bt_size)/2;    // center the button in the rcClean rectangle vertically
! 		rcClrBtn.bottom -= (vertic_size-bt_size)/2;
! 		rcClrBtn.right -= 2;
! 
! 		m_clrButton.MoveWindow( rcClrBtn, TRUE);
  
  		// place 'Return'
--- 268,275 ----
  		// place 'Clear'
  		CRect rcClean = rcExtra;                    // clear btn rect
! 		rcClean.left = rcClean.right - horiz_size;
  		
  		CRect rcClrBtn(rcClean);
! 		m_clrButton.MoveWindow( centered( rcClrBtn, vertic_size, horiz_size, bt_size), TRUE);
  
  		// place 'Return'



More information about the GME-commit mailing list