Hello,
there seems to be a bug when it comes to borderless windows.
The following code creates a button that should write 1 to stderr when clicked:
Code: Select all
@VERSION 3, 0
@DISPLAY {
Width = 100,
Height = 100
}
Function p_Output( msg )
DebugPrint( 1 )
EndFunction
evtmatch = { OnMouseUp = p_Output, OnRightMouseUp = p_Output }
MakeButton( 1, #SIMPLEBUTTON, 0, 0, 100, 100, evtmatch )
While( quit = False )
WaitEvent
Wend
End
To test just run within a shell:
'hollywood script.hws' and 'hollywood -borderless script.hws'
Kind regards, Peter