Skinning, Preamble, Learn by example – Expert Sleepers Silent Way v2.4.3 User Manual

Page 110: Below

Advertising
background image

Skinning

Preamble

From Silent Way v2.0.0 onwards it is possible to completely redefine the plug-ins’ GUIs.
Possible changes range from simple colour scheme changes through to a complete redes-
ign and rearrangement of the controls.

The skin GUIs are defined by script files, and by any graphical resources the scripts use
(e.g. images for the buttons and knobs). The default GUI is defined in exactly the same
way, so you can copy the default scripts and images and use those as a starting point for
your customisations. Also, the scripts have been designed so that it’s possible to override
many settings (colours, images etc.) without having to redefine the whole UI script as well.
It’s possible to globally change the look of all the Silent Way plug-ins; equally a skin can
alter just one plug-in, or set each plug-in to a different colour scheme.

The language used for the GUI scripts is Lua. You will find a complete description of the
language, and some useful tutorials, at the Lua website:

www.lua.org

All the standard language features of Lua are available in the GUI scripts, plus some extra
functions specific to the Expert Sleepers GUI system.

Learn by example

The best way to learn about scripting the GUI is to look at the existing examples, particu-
larly the default GUI scripts that ship with the plug-in. Just open up the plug-in bundle
and find the gui.lua files within. (Windows users should download the Mac OS X version
of the plug-in and get the scripts from there, since in the Windows version the scripts are
munged into the plug-in as a Windows resource.)

Visit the

forum

if you have questions - or skins to share!

Advertising