vvSetGraphBackground
vvSetGraphBackground(t_backgroundColor[w_windowID] ) =>t/nil
Description
Sets the specified background color to the specified Waveform window or the current Waveform window.
Arguments
|
Background color to be set to the Waveform window. You can either specify the name of the color or the hex code of the color. |
|
|
If you do not specify this argument, the current Waveform window is used. |
|
Value Returned
|
The specified background color is set to the Waveform window. |
|
Examples
The following examples set yellow as the background color of the current Waveform window.
vvSetGraphBackground("#ffff00" awvGetCurrentWindow())
vvSetGraphBackground("#ffff00")
vvSetGraphBackground("yellow" awvGetCurrentWindow())
vvSetGraphBackground("yellow")
You can also assign a bindkey to change the background color of the current Waveform window.
The following example assigns the bindkey Ctrl + B to change the background color of the current Waveform window to yellow.
hiSetBindKey("vivaGraph" "Ctrl<Key>B" "vvSetGraphBackground(eval(vivaBackgroundColor))")
vivaBackgroundColor="yellow"
=> t
=> "yellow"
Return to top