692 {
694 {
695 return;
696 }
697
698 if ( w.IsInherited( ButtonWidget ) )
699 {
700 ButtonWidget button = ButtonWidget.Cast( w );
701 button.SetTextColor(
ARGB( 255, 255, 255, 255 ) );
702 }
703
707 ImageWidget image = ImageWidget.Cast( w.FindAnyWidget( w.GetName() + "_image" ) );
708 Widget option = w.FindAnyWidget( w.GetName() +
"_option_wrapper" );
709 Widget option_label = w.FindAnyWidget(
"option_label" );
710
711 if ( text1 )
712 {
713 text1.SetColor(
ARGB( 255, 255, 255, 255 ) );
714 }
715
716 if ( text2 )
717 {
718 text2.SetColor(
ARGB( 255, 255, 255, 255 ) );
719 }
720
721 if ( text3 )
722 {
723 text3.SetColor(
ARGB( 255, 255, 255, 255 ) );
724 w.SetAlpha(0);
725 }
726
727 if ( image )
728 {
729 image.SetColor(
ARGB( 255, 255, 255, 255 ) );
730 }
731
732 if ( option )
733 {
734 option.SetColor(
ARGB( 150, 255, 255, 255 ) );
735 }
736
737 if ( option_label )
738 {
739 option_label.SetColor(
ARGB( 255, 255, 255, 255 ) );
740 }
741 }
int ARGB(int a, int r, int g, int b)