themecolor Reference

Change and/or listen for changes in interface colors

themecolor

Description

Output the interface color whenever it changes, query Max for current color settings, and change an interface color.

Discussion

Interface colors in Max are determined by the selection of a theme in the Preferences window. If you wish to change any of these colors, or if you want your user interface objects to match your current style selection, you can use this object to get the color - or to change the user interface color to match your object.

Arguments

None.

Attributes

color [symbol]

The current color to be watched by the object. When this interface color changes, a bang will be sent out the right outlet, and the color values (RGBA) will be sent out the left outlet.

Common Box Attributes

Messages

bang

Outputs the currently selected interface color from the leftmost outlet.

list

Arguments

input [list]
A list of four colors (RGBA) will change the value of the current interface color.

anything

Arguments

input [list]
The message color, followed by a valid interface color, will change the current color that the themecolor object is watching.

A message containing a valid interface color will output the values of that color from the leftmost outlet.

A message containing a valid interface color, followed by four RGBA color values, will change the select interface color to the new values.

See Also

Name Description
bgcolor
colorpicker
swatch
thispatcher