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