[GME-commit] GMESRC/GME/Gme PartBrowserPane.cpp, 1.10, 1.11 GMEBrowser.cpp, 1.31, 1.32 GMEBrowser.h, 1.12, 1.13 GMEObjectInspector.cpp, 1.15, 1.16 GMEObjectInspector.h, 1.10, 1.11

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu May 3 13:35:02 CDT 2007


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

Modified Files:
	PartBrowserPane.cpp GMEBrowser.cpp GMEBrowser.h 
	GMEObjectInspector.cpp GMEObjectInspector.h 
Log Message:
The same as prev.
1.Cycling, 2.Memleak.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: GMEBrowser.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEBrowser.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** GMEBrowser.cpp	6 Dec 2006 22:24:38 -0000	1.31
--- GMEBrowser.cpp	3 May 2007 18:35:00 -0000	1.32
***************
*** 97,100 ****
--- 97,108 ----
  }
  
+ void CGMEBrowser::CycleObjInsp( VARIANT_BOOL frwd)
+ {
+ 	if( CGMEObjectInspector::theInstance)
+ 	{
+ 		CGMEObjectInspector::theInstance->CyclePanel( frwd);
+ 	}
+ }
+ 
  void CGMEBrowser::FocusItem(BSTR Id)
  {
***************
*** 156,159 ****
--- 164,168 ----
  	ON_EVENT(CGMEBrowser, IDC_GME_ACTIVE_BROWSER_CTRL, 8 /* ShowFindDlg */, OnShowFindDlgGmeActiveBrowserCtrl, VTS_NONE)
  	ON_EVENT(CGMEBrowser, IDC_GME_ACTIVE_BROWSER_CTRL, 9 /* ShowObjInspDlg */, OnShowObjInspDlgGmeActiveBrowserCtrl, VTS_NONE)
+ 	ON_EVENT(CGMEBrowser, IDC_GME_ACTIVE_BROWSER_CTRL, 10 /*CycleObjInsp*/ , OnCycleObjsInspGmeActiveBrowserCtrl, VTS_BOOL)
  	//}}AFX_EVENTSINK_MAP
  END_EVENTSINK_MAP()
***************
*** 331,334 ****
--- 340,348 ----
  {
  	ShowObjInsp();
+ }
+ 
+ void CGMEBrowser::OnCycleObjsInspGmeActiveBrowserCtrl(VARIANT_BOOL frwd)
+ {
+ 	CycleObjInsp( frwd);
  }
  

Index: PartBrowserPane.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/PartBrowserPane.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** PartBrowserPane.cpp	18 May 2004 15:08:43 -0000	1.10
--- PartBrowserPane.cpp	3 May 2007 18:35:00 -0000	1.11
***************
*** 259,263 ****
  		CRectList dummyAnnList;
  		CGMEDataDescriptor desc(rects,dummyAnnList,point,ptClickOffset);
! 	
  		CGMEDoc::DoDragDrop(guiObj, &desc, DROPEFFECT_COPY, &rectAwake);
  	}			
--- 259,263 ----
  		CRectList dummyAnnList;
  		CGMEDataDescriptor desc(rects,dummyAnnList,point,ptClickOffset);
! 		CGMEDataDescriptor::destructList( rects);
  		CGMEDoc::DoDragDrop(guiObj, &desc, DROPEFFECT_COPY, &rectAwake);
  	}			

Index: GMEObjectInspector.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEObjectInspector.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** GMEObjectInspector.cpp	6 Dec 2006 22:26:50 -0000	1.15
--- GMEObjectInspector.cpp	3 May 2007 18:35:00 -0000	1.16
***************
*** 149,152 ****
--- 149,158 ----
  }
  
+ void CGMEObjectInspector::CyclePanel( VARIANT_BOOL frwd)
+ {
+     CMainFrame::theInstance->ShowObjectInspector();
+ 	m_ObjectInspector.CyclePanel( frwd);
+ }
+ 
  void CGMEObjectInspector::OnRootFolderNameChangedGmeActiveBrowserCtrl()
  {

Index: GMEObjectInspector.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEObjectInspector.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** GMEObjectInspector.h	22 Mar 2007 21:56:45 -0000	1.10
--- GMEObjectInspector.h	3 May 2007 18:35:00 -0000	1.11
***************
*** 63,66 ****
--- 63,67 ----
  	void CloseProject();
  	void ShowPanel(long panelID);
+ 	void CyclePanel(VARIANT_BOOL frwd);
  
  };

Index: GMEBrowser.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEBrowser.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** GMEBrowser.h	6 Dec 2006 22:24:38 -0000	1.12
--- GMEBrowser.h	3 May 2007 18:35:00 -0000	1.13
***************
*** 29,32 ****
--- 29,33 ----
  	void ShowFindDlg();
  	void ShowObjInsp();
+ 	void CycleObjInsp( VARIANT_BOOL frwd);
  	void FocusItem(BSTR Id);
  	void ShowAttrPref(bool isAttr, LPUNKNOWN selected);
***************
*** 80,83 ****
--- 81,85 ----
  	afx_msg void OnShowFindDlgGmeActiveBrowserCtrl();
  	afx_msg void OnShowObjInspDlgGmeActiveBrowserCtrl();
+ 	afx_msg void OnCycleObjsInspGmeActiveBrowserCtrl(VARIANT_BOOL frwd);
  	afx_msg void OnRootFolderNameChangedGmeActiveBrowserCtrl();
  	DECLARE_EVENTSINK_MAP()



More information about the GME-commit mailing list