While only one display in one windows it works.
I hope this is a bug, and not some limitation because I need a fixed and a variable size hollywood display in the window.
Edit:
It is OS4whateverlatest. Sometimes I got en event, but mostly not.
Code: Select all
@REQUIRE "RapaGUI"
@DISPLAY 1,{Width = 320, Height = 200, color=#RED}
@DISPLAY 2,{width = 320, Height = 32, color=#GREEN}
gui$=[[<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
<window title="Slarti V1.0 beta 1" activate="true">
<vgroup>
<hgroup>
<hollywood id="hws" display="1" hide="false" fixwidth="false" fixheight="false"/>
<hollywood id="timeline" display="2" hide="false" fixwidth="false" fixheight="false"/>
</hgroup>
</vgroup>
</window>
</application>
]]
Function p_resizewindow(msg)
DebugPrint("^^^^^^^^^^^^^^^^^^^^^")
DebugPrint("class:",msg.action)
DebugPrint("attribute:",msg.id)
DebugPrint("size:",msg.width,msg.height)
DebugPrint("-----------------------")
EndFunction
moai.CreateApp(gui$)
InstallEventHandler({SizeWindow=p_resizewindow})
Repeat
WaitEvent
Forever