All you have to do to make your script use RapaGUI instead of Hollywood's inbuilt graphics engine is adding the following line to the top of your script:
@REQUIRE "rapagui" |
Alternatively, if you are using Hollywood from a console, you can also start your script like this:
Hollywood test.hws -requireplugins rapagui |
RapaGUI accepts the following arguments in its @REQUIRE
call:
ScaleGUI:
False
. See High-DPI support for details. If this tag is set to True
(also the default),
you can control whether or not bilinear interpolation should be used during scaling
using the InterpolateGUI
tag (see below). Defaults to True
. (V2.0)
InterpolateGUI:
ScaleGUI
is set to True
(also the default), the InterpolateGUI
tag can be used
to specify whether or not bilinear interpolation should be used when scaling. Defaults
to True
. (V2.0)
ScaleHollywood:
False
. See High-DPI support for details. If this tag is set to True
(also the
default), you can control whether or not bilinear interpolation should be used during scaling
using the InterpolateHollywood
tag (see below). Defaults to True
. (V2.0)
InterpolateHollywood:
ScaleHollywood
is set to True
(also the default), the InterpolateHollywood
tag can be used
to specify whether or not bilinear interpolation should be used when scaling. Note that
in contrast to the InterpolateGUI
tag the InterpolateHollywood
tag defaults to False
which means that by default, bilinear interpolation is not used for Hollywood widgets. (V2.0)
HideDisplays:
True
. This can be useful when using RapaGUI in Hollywood emulation mode,
i.e. without using any of RapaGUI's GUI functionality but just to get some features that Hollywood
does not support by default on some platforms (e.g. menus on Linux, or inter-process communication
on Linux and macOS). (V2.0)
Here is an example of how to pass arguments to the @REQUIRE
preprocessor command:
@REQUIRE "rapagui", {ScaleGUI = False} |
Alternatively, you can also use the -requiretags
console argument to pass these
arguments. See the Hollywood manual for more information.