MUIRoyale is cool
Posted: Sun Jan 06, 2013 4:55 pm
What's really cool in RUIRoyale is that you can create a scrollgroup with a hollywood object like this:
and add a button like this:
and then in the event handlers MouseX() and MouseY() return the right coordinates even if the hollywood object has been scrolled 
Code: Select all
<scrollgroup>
<virtgroup>
<hollywood id="hwmcc1" display="1" />
Code: Select all
MakeButton(Nil, #SIMPLEBUTTON, 0, 0, Canvas.Width, Canvas.Height, {OnMouseDown = Main.p_MouseDown, OnMouseUp = Main.p_Mouseup})