Documentation problems

Report any Hollywood bugs here
User avatar
lazi
Posts: 549
Joined: Thu Feb 24, 2011 11:08 pm

Re: Documentatation problems

Post by lazi »

MUIRoyale 1.7 guide.

Area.FixHeight and Area.FixWidth says the value is number, but it seems to be boolean.

User avatar
airsoftsoftwair
Posts: 4207
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Documentatation problems

Post by airsoftsoftwair »

Well, in RapaGUI they are booleans but in MUI Royale they are numbers because that is what they are in MUI so I don't see any documentation mistake here. It's just a different implementation between MUI Royale and RapaGUI :)

User avatar
lazi
Posts: 549
Joined: Thu Feb 24, 2011 11:08 pm

Re: Documentatation problems

Post by lazi »

Ahh, yes you are right. I wanted to fix a Hollywood class by MUI, but @DISPLAY {height=320, width=320, hidden=True} do the job.

Anyway it seems that it has no effect on the Hollywood class.
The following made no change on the class size. It displays the full display size.
<hollywood id="sselector" display="1" fixwidth="200" fixheight="200"/>

User avatar
airsoftsoftwair
Posts: 4207
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Documentatation problems

Post by airsoftsoftwair »

Yes, Hollywood class doesn't really respect FixWidth and FixHeight. It's a known issue but not too high on the priority list because normally you just want to have the display determine the dimensions of the class object anyway.

User avatar
Lerio69
Posts: 15
Joined: Sat Sep 24, 2016 11:47 pm
Location: Italy

Re: Documentatation problems

Post by Lerio69 »

There are this errors in RapaGui moai.CreateDialog Example:

xml closing tag is: </window>
instead of: </dialog>

calling function is: mui.DoMethod("dlg", "showmodal")
instead of: moai.DoMethod("dlg", "showmodal")
;)

User avatar
airsoftsoftwair
Posts: 4207
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Documentatation problems

Post by airsoftsoftwair »

Oops, fixed :)

User avatar
Clyde
Posts: 315
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Documentatation problems

Post by Clyde »

No error, just an addition for quicker referene:

In "8.6 Nil":

You should mention that since Hollywood 6.0 it is possible (and probably the preferable way) to use the function "IsNil()".
Currently using: Hollywood 8 with Visual Studio Code and hw4vsc

User avatar
airsoftsoftwair
Posts: 4207
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Documentatation problems

Post by airsoftsoftwair »

Right, added that.

User avatar
Clyde
Posts: 315
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

Re: Documentatation problems

Post by Clyde »

Thanks!

Again, no error, but for quicker reference:

Documentation of "DisplayTextObjectFX" should mention its return value better (even if it is just when async is true). So "Synopsis" should be something like "[handle] = DisplayTextObjectFX(id, x, y[, table])".

And add new "Results" section (handle - optional: returns a handle to an asynchronous draw object when "Async" is True)
Currently using: Hollywood 8 with Visual Studio Code and hw4vsc

User avatar
airsoftsoftwair
Posts: 4207
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Documentatation problems

Post by airsoftsoftwair »

Right, this information actually had to be added for the following commands as well: PlayAnim(), DisplayBGPicPartFX(), DisplayBrushFX(), DisplayTransitionFX(), ClearScreen(), MoveBrush(), ShowLayerFX(), HideLayerFX(), RemoveLayerFX(), Undo(), UndoFX().

Post Reply