![]() |
uvi-script
Musical event scripting with Lua
|
Public Member Functions | |
| Viewport (string name) | |
| creates a Viewport widget on the user interface. | |
| void | setViewPosition (int x, int y) |
| changes the position of the viewed component | |
Public Attributes | |
| int | scrollBarThickness |
| scrollBar size | |
| string | scrollBarThumbColour |
| scrollBar thumb colour. | |
| string | scrollBarTrackColour |
| scrollBar track colour. | |
| string | scrollBarBackgroundColour |
| scrollBar background colour. | |
Public Attributes inherited from Widget | |
| string | name |
| widget name | |
| string | displayName |
| widget display name | |
| string | tooltip |
| widget tooltip, default is name | |
| int | x |
| x position in pixels | |
| int | y |
| y position in pixels | |
| int | width |
| widget width in pixels | |
| int | height |
| widget height in pixels | |
| table | size |
| widget size {width, height} | |
| table | position |
| widget position {x,y} | |
| table | bounds |
| widget bounding rect {x,y,width,height} | |
| number | alpha |
| transparency value between 0.0 and 1.0 | |
| bool | enabled |
| boolean flag to enable / disable the widget | |
| bool | visible |
| boolean flag to toggle widget visibility | |
| bool | interceptsMouseClicks |
| boolean flag to toggle mouse handling on widget | |
| bool | showLabel |
| show widgets label if any | |
| bool | persistent |
| flag to tell if the widget values should be serialized when saving. | |
| function | changed |
| callback function used by child widgets to be notified of changes | |
Viewport widget.
creates a Viewport widget on the user interface.
| Viewport::Viewport | ( | string | name | ) |
creates a Viewport widget on the user interface.
| name | the name to give to the widget |
| string Viewport::scrollBarBackgroundColour |
scrollBar background colour.
It can be either a named colour like "blue" or "red" or an hexadecimal string in RGB ("#FF00CC") or ARGB ("#3C00FECD") format
| string Viewport::scrollBarThumbColour |
scrollBar thumb colour.
It can be either a named colour like "blue" or "red" or an hexadecimal string in RGB ("#FF00CC") or ARGB ("#3C00FECD") format
| string Viewport::scrollBarTrackColour |
scrollBar track colour.
It can be either a named colour like "blue" or "red" or an hexadecimal string in RGB ("#FF00CC") or ARGB ("#3C00FECD") format