From e335964812eab775f8f634867481fa3e67bd1cca Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:10:56 +0000 Subject: Utilisateur : Fcolin Date : 26/02/03 Heure : 16:40 Archivé dans $/Bus/IvyProbe Commentaire: suppression bouton clock start (vss 16) --- IvyProbe/IvyProbeDlg.cpp | 62 ------------------------------------------------ 1 file changed, 62 deletions(-) (limited to 'IvyProbe') diff --git a/IvyProbe/IvyProbeDlg.cpp b/IvyProbe/IvyProbeDlg.cpp index 0a6e7a4..88cc8e2 100644 --- a/IvyProbe/IvyProbeDlg.cpp +++ b/IvyProbe/IvyProbeDlg.cpp @@ -66,13 +66,6 @@ BEGIN_MESSAGE_MAP(CIvyProbeDlg, MyDialog) ON_WM_CLOSE() ON_BN_CLICKED(IDC_SEND, OnSend) ON_BN_CLICKED(IDC_BIND, OnBind) - ON_BN_CLICKED(IDC_CLOCK_FAST_BACKWARD, OnClockFastBackward) - ON_BN_CLICKED(IDC_CLOCK_BACKWARD, OnClockBackward) - ON_BN_CLICKED(IDC_CLOCK_PAUSE, OnClockPause) - ON_BN_CLICKED(IDC_CLOCK_START, OnClockStart) - ON_BN_CLICKED(IDC_CLOCK_FORWARD, OnClockForward) - ON_BN_CLICKED(IDC_CLOCK_FAST_FORWARD, OnClockFastForward) - ON_BN_CLICKED(IDC_CLOCK_RATE, OnClockRate) ON_WM_SYSCOMMAND() ON_COMMAND(FILE_LOAD, OnLoad) ON_COMMAND(FILE_SAVE, OnSave) @@ -142,13 +135,6 @@ BOOL CIvyProbeDlg::OnInitDialog() << item ( IDC_TEXT, GREEDY ) << ( pane( HORIZONTAL, ABSOLUTE_VERT ) << item( paneNull, GREEDY ) - << item( IDC_CLOCK_FAST_BACKWARD, NORESIZE ) - << item( IDC_CLOCK_BACKWARD, NORESIZE ) - << item( IDC_CLOCK_PAUSE, NORESIZE ) - << item( IDC_CLOCK_START, NORESIZE ) - << item( IDC_CLOCK_RATE, NORESIZE ) - << item( IDC_CLOCK_FORWARD, NORESIZE ) - << item( IDC_CLOCK_FAST_FORWARD, NORESIZE ) << item( paneNull, GREEDY ) ) << ( pane( HORIZONTAL, ABSOLUTE_VERT ) @@ -303,54 +289,6 @@ void CIvyProbeDlg::OnBind() m_expr.Clear(); } -void CIvyProbeDlg::OnClockFastBackward() -{ - CString buffer = "SetClock Rate=-9.0" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} - -void CIvyProbeDlg::OnClockBackward() -{ - CString buffer = "SetClock Rate=-1.0" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} - -void CIvyProbeDlg::OnClockPause() -{ - CString buffer = "ClockPause" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} - -void CIvyProbeDlg::OnClockStart() -{ - CString buffer = "ClockStart" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} - -void CIvyProbeDlg::OnClockForward() -{ - CString buffer = "SetClock Rate=9.0" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} - -void CIvyProbeDlg::OnClockFastForward() -{ - CString buffer = "SetClock Rate=100.0" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} - -void CIvyProbeDlg::OnClockRate() -{ - CString buffer = "SetClock Rate=1.0" ; - int count = bus->SendMsg( CONVSTR(buffer) ); - WriteMessage( "Sending %d message %s",count,CONVSTR(buffer) ); -} void CIvyProbeDlg::OnLoad() { -- cgit v1.1