MUIRoyale is cool

Discuss GUI programming with the MUI Royale plugin here
Post Reply
Mazze
Posts: 69
Joined: Thu May 06, 2010 8:08 pm

MUIRoyale is cool

Post by Mazze »

What's really cool in RUIRoyale is that you can create a scrollgroup with a hollywood object like this:

Code: Select all

            <scrollgroup>
                <virtgroup>
                    <hollywood id="hwmcc1" display="1" />
and add a button like this:

Code: Select all

    MakeButton(Nil, #SIMPLEBUTTON, 0, 0, Canvas.Width, Canvas.Height, {OnMouseDown = Main.p_MouseDown, OnMouseUp = Main.p_Mouseup})
and then in the event handlers MouseX() and MouseY() return the right coordinates even if the hollywood object has been scrolled :shock:
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MUIRoyale is cool

Post by airsoftsoftwair »

Thanks, that's why it is called the "royal" MUI solution :)
Post Reply