From b14592d1048d585c8399574e58df4d559fba37ac Mon Sep 17 00:00:00 2001 From: Frederic Petrot Date: Fri, 30 Jan 2004 12:14:27 +0000 Subject: [PATCH] Adding handling of the wheel on the mouse to allow vertical scrolling. --- alliance/src/graal/src/GMC_dialog.c | 4 ++-- alliance/src/graal/src/GME_dialog.c | 4 ++-- alliance/src/graal/src/GMX_event.c | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/alliance/src/graal/src/GMC_dialog.c b/alliance/src/graal/src/GMC_dialog.c index 2538f03e..ba2c6239 100644 --- a/alliance/src/graal/src/GMC_dialog.c +++ b/alliance/src/graal/src/GMC_dialog.c @@ -160,7 +160,7 @@ GraalDialogItem GraalChangeTransistorWidthDialog = { - "Transistor width", + "Transistor length", GRAAL_DIALOG_PROMPT, (Widget)NULL, (void *)CallbackChangeTransistorWidthOk, @@ -487,7 +487,7 @@ void CallbackChangeTransistorWidthOk( MyWidget, ClientData, CallData ) } else { - GraalErrorMessage( GraalMainWindow, "Incorrect transistor width !" ); + GraalErrorMessage( GraalMainWindow, "Incorrect transistor length!" ); } if ( GraalTransistorWire == GRAAL_FALSE ) diff --git a/alliance/src/graal/src/GME_dialog.c b/alliance/src/graal/src/GME_dialog.c index d09896ce..cae8f2db 100644 --- a/alliance/src/graal/src/GME_dialog.c +++ b/alliance/src/graal/src/GME_dialog.c @@ -219,7 +219,7 @@ GraalDialogItem GraalModifyTransistorWidthDialog = { - "Transistor width", + "Transistor length", GRAAL_DIALOG_PROMPT, (Widget)NULL, (void *)CallbackModifyTransistorWidthOk, @@ -569,7 +569,7 @@ void CallbackModifyTransistorWidthOk( MyWidget, ClientData, CallData ) } else { - GraalErrorMessage( GraalMainWindow, "Incorrect transistor width !" ); + GraalErrorMessage( GraalMainWindow, "Incorrect transistor length!" ); } GraalPromptModifyTransistor(); diff --git a/alliance/src/graal/src/GMX_event.c b/alliance/src/graal/src/GMX_event.c index 3058387a..e47adc07 100644 --- a/alliance/src/graal/src/GMX_event.c +++ b/alliance/src/graal/src/GMX_event.c @@ -96,7 +96,9 @@ : CallbackEvent( 3 )\n\ : CallbackEvent( 4 )\n\ osfUp: CallbackEvent( 5 )\n\ + : CallbackEvent( 5 )\n\ osfDown: CallbackEvent( 6 )\n\ + : CallbackEvent( 6 )\n\ osfLeft: CallbackEvent( 7 )\n\ osfRight: CallbackEvent( 8 )\n\ Z: CallbackEvent( 9 )\n\