WRAPPER_TEST_SETCOLOR Procedure   

Sets a named color to be used by a JWAVE wrapper function.

Usage

WRAPPER_TEST_SETCOLOR, color_name, rgb 

Input Parameters

color_name—A string specifying the name of the color to set.

rgb—A long integer (RGB value) specifying the color value to set. For example, black is represented by the long value: '000000'xL.

Keywords

Color_Set—If set, the procedure sets a named array of RGB values. In this case, the rgb parameter must specify an array of long integers.

Discussion

The JWAVE wrapper receives this parameter with the GET_NAMED_COLOR function. Run this procedure before running WRAPPER_TEST_EXECUTE.

This function imitates the behavior of the JWaveView.setNamedColor method in a Java client application.

The Color_Set keyword allows this procedure to imitate the behavior of the
JWaveView.setNamedColor method in a Java client application.

Example

See WRAPPER_TEST_INIT.

See Also

GET_NAMED_COLOR, WRAPPER_TEST_EXECUTE, WRAPPER_TEST_INIT