//
int $toggled_color ;
if($toggled_color == 0)
{
displayRGBColor "background" 1. 1. 1. ;
$toggled_color = 1 ;
}
else
{
displayRGBColor "background" 0.688 0.688 0.688 ;
$toggled_color = 0 ;
}
//
Middle mouse drag this into your shelf to make a button for it. It's currently set at White and Grey. You'll need to know the RGB values to change the colors.
0 comments:
Post a Comment