MUIRoyale is cool

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

MUIRoyale is cool

Post by Mazze » 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:

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: 2668
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MUIRoyale is cool

Post by airsoftsoftwair » Mon Jan 07, 2013 11:29 am

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

Post Reply