Page 1 of 1

MUIRoyale is cool

Posted: Sun Jan 06, 2013 4:55 pm
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:

Re: MUIRoyale is cool

Posted: Mon Jan 07, 2013 11:29 am
by airsoftsoftwair
Thanks, that's why it is called the "royal" MUI solution :)