Hello,
OnWheelDown and OnWheelUp no work with RapaGui on Windows 7 (Work on OS4 and WinUAE OS3.9)
OnWheelDown and OnWheelUp no work !
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: OnWheelDown and OnWheelUp no work !
MCVE please...
Re: OnWheelDown and OnWheelUp no work !
Yes sorry !
Code: Select all
/* Nouveau projet Hollywood */
@REQUIRE "RapaGUI", {Link = True}
Function p_EventFunc(msg)
Switch msg.action
Case "RapaGUI":
Switch msg.attribute
Case "CloseRequest": End
EndSwitch
Case "OnWheelUp": moai.set("id_statusbar","text","UP")
Case "OnWheelDown": moai.set("id_statusbar","text","DOWN")
EndSwitch
EndFunction
InstallEventHandler({
RapaGUI = p_EventFunc,
OnWheelUp = p_EventFunc,
OnWheelDown = p_EventFunc,
})
; dynamically create MUI GUI from an external *.xml file definition
moai.CreateApp([[
<?xml version="1.0" encoding="UTF-8"?>
<application id="app">
<window id="win_ChromaKey" title="AmiChromaKey :" notify="closerequest">
<vgroup>
<hollywood display="1"/>
<statusbar>
<item id="id_statusbar"></item>
</statusbar>
</vgroup>
</window>
</application>
]])
EscapeQuit(True)
/* Boucle infinie */
Repeat
WaitEvent
Forever
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: OnWheelDown and OnWheelUp no work !
Oh, right, looks like mousewheel support isn't implemented at all on Windows/macOS/Linux. Only on Amiga. Will be fixed.
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: OnWheelDown and OnWheelUp no work !
Code: Select all
- Fix [Windows/macOS/Linux]: Mouse wheel events were not recognized by Hollywood class and when using the
plugin as a display adapter