643 {
644 if ( w.IsInherited( ButtonWidget ) )
645 {
646 ButtonWidget button = ButtonWidget.Cast( w );
647 button.SetTextColor(
ARGB( 255, 200, 0, 0 ) );
648 }
649
650 w.SetColor(
ARGB( 255, 0, 0, 0) );
651
655 ImageWidget image = ImageWidget.Cast( w.FindAnyWidget( w.GetName() + "_image" ) );
656 Widget option =
Widget.Cast( w.FindAnyWidget( w.GetName() +
"_option_wrapper" ) );
657 Widget option_label = w.FindAnyWidget(
"option_label" );
658
659 if ( text1 )
660 {
661 text1.SetColor(
ARGB( 255, 255, 0, 0 ) );
662 }
663
664 if ( text2 )
665 {
666 text2.SetColor(
ARGB( 255, 255, 0, 0 ) );
667 }
668
669 if ( text3 )
670 {
671 text3.SetColor(
ARGB( 255, 255, 0, 0 ) );
672 w.SetAlpha(1);
673 }
674
675 if ( image )
676 {
677 image.SetColor(
ARGB( 255, 200, 0, 0 ) );
678 }
679
680 if ( option )
681 {
682 option.SetColor(
ARGB( 255, 255, 0, 0 ) );
683 }
684
685 if ( option_label )
686 {
687 option_label.SetColor(
ARGB( 255, 255, 0, 0 ) );
688 }
689 }
int ARGB(int a, int r, int g, int b)