classes and functions related to User Interface definition and layout. More...
Classes | |
class | AudioMeter |
AudioMeter widget. More... | |
class | Button |
stateless transient button. More... | |
class | DnDArea |
DnDArea widget. More... | |
class | FileFormat |
Predefined format file types. More... | |
class | FileSelector |
FileSelector widget. More... | |
class | Image |
Image widget. More... | |
class | Knob |
Knob widget. More... | |
class | Label |
text label widget. More... | |
class | Mapper |
Predefined mapper types. More... | |
class | Menu |
Menu widget. More... | |
class | ModifierKeys |
class | MultiStateButton |
MultiStateButton widget. More... | |
class | NumBox |
Numeric spinner label. More... | |
class | OnOffButton |
2 states boolean button. More... | |
class | Panel |
Panel widget. More... | |
class | ParamWidget |
base class for ParamWidget. More... | |
class | RectanglePlacement |
class | Slider |
horizontal or vertical slider widget. More... | |
class | Table |
Table widget. More... | |
class | Unit |
Predefined unit types. More... | |
class | Viewport |
Viewport widget. More... | |
class | WaveView |
WaveView widget. More... | |
class | Widget |
Widget base class. More... | |
class | XY |
XY widget. More... | |
Functions | |
void | makePerformanceView () |
make this script User Interface visible in performance view. | |
void | moveControl (Widget widget, int col, int row) |
move a UI element to a specific place on the grid More... | |
void | setBackground (string imagePath) |
set the script background Image. More... | |
void | setBackgroundColour (string colour) |
set the script background colour. More... | |
function | setKeyColour (note, colour) |
customize the keyboard colours. More... | |
function | setHeight (h) |
sets the desired height of the user interface. More... | |
function | moveControl (widget, xcol, yrow) |
move a UI element to a specific place on the grid More... | |
function | setBackground (imgPath) |
function | setBackgroundColour (colour) |
classes and functions related to User Interface definition and layout.
void moveControl | ( | Widget | widget, |
int | col, | ||
int | row | ||
) |
move a UI element to a specific place on the grid
widget | widget element to move |
col | grid column index |
row | grid row index |
void setBackground | ( | string | imagePath) |
void setBackgroundColour | ( | string | colour) |
set the script background colour.
colour | string that defines the desired colour. It can be either a named colour like "blue" or "red" or an hexadecimal string in RGB ("#FF00CC") or ARGB ("#3C00FECD") format |
function setKeyColour | ( | note | , |
colour | |||
) |
customize the keyboard colours.
note | midiNote to change |
colour | string that defines the desired colour. It can be either a named colour like "blue" or "red" or an hexadecimal string in RGB ("#FF00CC") or ARGB ("#3C00FECD") format You can use custom colors to set the valid key range: #00FFFFFF (transparent white) and #00000000 (transparent black) for a valid and non valid key |
function setHeight | ( | h | ) |
sets the desired height of the user interface.
it is automatically computed when creating widgets but you can adjust it to fit your needs
h | height in pixels |
function moveControl | ( | widget | , |
xcol | , | ||
yrow | |||
) |
move a UI element to a specific place on the grid
widget | |
xcol | |
yrow |