[GME-commit] GMESRC/GME/Gme GMEObjectInspector.cpp,1.14,1.15 GMEObjectInspector.h,1.8,1.9

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Wed Dec 6 22:26:52 CST 2006


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

Modified Files:
	GMEObjectInspector.cpp GMEObjectInspector.h 
Log Message:
Rootfolder name event coming from ObjectInspector updates the applications main title.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: GMEObjectInspector.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEObjectInspector.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** GMEObjectInspector.cpp	4 Dec 2006 18:53:25 -0000	1.14
--- GMEObjectInspector.cpp	6 Dec 2006 22:26:50 -0000	1.15
***************
*** 44,47 ****
--- 44,53 ----
  END_MESSAGE_MAP()
  
+ BEGIN_EVENTSINK_MAP(CGMEObjectInspector, CSizingControlBar)
+     //{{AFX_EVENTSINK_MAP(CGMEBrowser)
+ 	ON_EVENT(CGMEObjectInspector, IDC_OBJECT_INSPECTOR_CTRL, 1 /* RootFolderNameChanged */, OnRootFolderNameChangedGmeActiveBrowserCtrl, VTS_NONE)
+ 	//}}AFX_EVENTSINK_MAP
+ END_EVENTSINK_MAP()
+ 
  int CGMEObjectInspector::OnCreate(LPCREATESTRUCT lpCreateStruct) 
  {
***************
*** 141,143 ****
--- 147,154 ----
      CMainFrame::theInstance->ShowObjectInspector();
  	m_ObjectInspector.ShowPanel(panelID);
+ }
+ 
+ void CGMEObjectInspector::OnRootFolderNameChangedGmeActiveBrowserCtrl()
+ {
+ 	theApp.UpdateProjectName();
  }

Index: GMEObjectInspector.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEObjectInspector.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** GMEObjectInspector.h	4 Dec 2006 18:53:25 -0000	1.8
--- GMEObjectInspector.h	6 Dec 2006 22:26:50 -0000	1.9
***************
*** 45,48 ****
--- 45,50 ----
  	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  	afx_msg void OnSize(UINT nType, int cx, int cy);
+ 	afx_msg void OnRootFolderNameChangedGmeActiveBrowserCtrl();
+ 	DECLARE_EVENTSINK_MAP()
  	//}}AFX_MSG
  	DECLARE_MESSAGE_MAP()



More information about the GME-commit mailing list