Adding handling of the wheel on the mouse to allow vertical scrolling.
This commit is contained in:
parent
da67e186ad
commit
b14592d104
|
@ -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 )
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -96,7 +96,9 @@
|
|||
<EnterWindow>: CallbackEvent( 3 )\n\
|
||||
<LeaveWindow>: CallbackEvent( 4 )\n\
|
||||
<Key>osfUp: CallbackEvent( 5 )\n\
|
||||
<Btn4Down>: CallbackEvent( 5 )\n\
|
||||
<Key>osfDown: CallbackEvent( 6 )\n\
|
||||
<Btn5Down>: CallbackEvent( 6 )\n\
|
||||
<Key>osfLeft: CallbackEvent( 7 )\n\
|
||||
<Key>osfRight: CallbackEvent( 8 )\n\
|
||||
<Key>Z: CallbackEvent( 9 )\n\
|
||||
|
|
Loading…
Reference in New Issue