ChangeDisplaySize(width, height[, args])
New in V2.0: You can pass #KEEPASPRAT
as either width
or height
.
Hollywood will calculate the size then automatically by taking the
aspect-ratio of the display into account.
Starting with Hollywood 2.0, width
and height
can also be a string
containing a percent specification, e.g. "50%".
New in Hollywood 4.0: You can pass a table in the optional third argument to specify further options. Currently, the table can contain the following fields:
X:
#KEEPPOSITION
. Defaults to #CENTER
.
Y:
#KEEPPOSITION
. Defaults to #CENTER
.
Smooth:
False
.
Starting with Hollywood 7.0 you can also pass the special constant
#NATIVE
in the width
and height
parameters. In that case, Hollywood
will use the dimensions of the display's host device.
ChangeDisplaySize(320, 240)This changes the display size to 320x240.