682 {
684 {
685 return;
686 }
687
688 if ( w.IsInherited( ButtonWidget ) )
689 {
690 ButtonWidget button = ButtonWidget.Cast( w );
691 button.SetTextColor(
ARGB( 255, 255, 255, 255 ) );
692 }
693
697 ImageWidget image = ImageWidget.Cast( w.FindAnyWidget( w.GetName() + "_image" ) );
698 Widget option = w.FindAnyWidget( w.GetName() +
"_option_wrapper" );
699 Widget option_label = w.FindAnyWidget(
"option_label" );
700
701 if ( text1 )
702 {
703 text1.SetColor(
ARGB( 255, 255, 255, 255 ) );
704 }
705
706 if ( text2 )
707 {
708 text2.SetColor(
ARGB( 255, 255, 255, 255 ) );
709 }
710
711 if ( text3 )
712 {
713 text3.SetColor(
ARGB( 255, 255, 255, 255 ) );
714 w.SetAlpha(0);
715 }
716
717 if ( image )
718 {
719 image.SetColor(
ARGB( 255, 255, 255, 255 ) );
720 }
721
722 if ( option )
723 {
724 option.SetColor(
ARGB( 150, 255, 255, 255 ) );
725 }
726
727 if ( option_label )
728 {
729 option_label.SetColor(
ARGB( 255, 255, 255, 255 ) );
730 }
731 }
int ARGB(int a, int r, int g, int b)