Component Colors

Make a component's state easier to see.

Review the box-color interface. Follow the reference before changing the appearance of simulation components.

Color_Box -

As an alternative to highlight_box, which only changes the color of a box's border, the function color_box changes a box's whole color, or solid, filled.

void color_box( char *obj_name, int color )

Where:

  • obj_name is the box's hierarchical name. Example: /mod2/box1
  • color is the color number.

This page is an editorial rewrite of source documentation. Historical status, availability, and platform notes are not independently verified for a current release. Technical examples are reference material, not a live simulator.