[GME-commit] GMESRC/GME/ObjectInspector InspectorDlg.cpp,1.25,1.26 NameEdit.cpp,1.2,1.3 ObjectInspectorCtl.cpp,1.37,1.38 ObjectInspectorCtl.h,1.14,1.15

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue Jan 16 17:52:26 CST 2007


Update of /project/gme-repository/GMESRC/GME/ObjectInspector
In directory escher:/tmp/cvs-serv5321

Modified Files:
	InspectorDlg.cpp NameEdit.cpp ObjectInspectorCtl.cpp 
	ObjectInspectorCtl.h 
Log Message:
Keyboard shortcuts: tab cycles through.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: ObjectInspectorCtl.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ObjectInspector/ObjectInspectorCtl.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** ObjectInspectorCtl.cpp	7 Dec 2006 19:49:59 -0000	1.37
--- ObjectInspectorCtl.cpp	16 Jan 2007 17:52:24 -0000	1.38
***************
*** 1082,1083 ****
--- 1082,1091 ----
  	}
  }
+ 
+ void CObjectInspectorCtrl::UndoRedo( bool undo /*= true*/)
+ {
+ 	short usz( 0), rsz( 0);
+ 	if( m_project) m_project->UndoRedoSize( &usz, &rsz);
+ 	if( undo && usz > 0) COMTHROW( m_project->Undo());
+ 	else if( !undo && rsz > 0) COMTHROW( m_project->Redo());
+ }

Index: ObjectInspectorCtl.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ObjectInspector/ObjectInspectorCtl.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** ObjectInspectorCtl.h	7 Dec 2006 19:49:59 -0000	1.14
--- ObjectInspectorCtl.h	16 Jan 2007 17:52:24 -0000	1.15
***************
*** 112,115 ****
--- 112,116 ----
  public:
  	void WriteNameToMga( const CString& strName);
+ 	void UndoRedo( bool undo = true);
  	
  	void WriteAttributeItemToMga(CListItem ListItem);

Index: NameEdit.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ObjectInspector/NameEdit.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** NameEdit.cpp	28 May 2002 16:15:00 -0000	1.2
--- NameEdit.cpp	16 Jan 2007 17:52:24 -0000	1.3
***************
*** 54,58 ****
  						
  					}break;
- 
  				default:
  					;
--- 54,57 ----

Index: InspectorDlg.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/ObjectInspector/InspectorDlg.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** InspectorDlg.cpp	15 Nov 2005 20:01:58 -0000	1.25
--- InspectorDlg.cpp	16 Jan 2007 17:52:24 -0000	1.26
***************
*** 521,524 ****
--- 521,526 ----
  	{
  		m_NameCtrl.SetWindowText(m_strName);
+ 		CObjectInspectorCtrl* pParent=(CObjectInspectorCtrl*)GetParent();
+ 		if( pParent) pParent->UndoRedo();
  	}
  	return TRUE;



More information about the GME-commit mailing list