633 {
634 if ( w.IsInherited( ButtonWidget ) )
635 {
636 ButtonWidget button = ButtonWidget.Cast( w );
637 button.SetTextColor(
ARGB( 255, 200, 0, 0 ) );
638 }
639
640 w.SetColor(
ARGB( 255, 0, 0, 0) );
641
645 ImageWidget image = ImageWidget.Cast( w.FindAnyWidget( w.GetName() + "_image" ) );
646 Widget option =
Widget.Cast( w.FindAnyWidget( w.GetName() +
"_option_wrapper" ) );
647 Widget option_label = w.FindAnyWidget(
"option_label" );
648
649 if ( text1 )
650 {
651 text1.SetColor(
ARGB( 255, 255, 0, 0 ) );
652 }
653
654 if ( text2 )
655 {
656 text2.SetColor(
ARGB( 255, 255, 0, 0 ) );
657 }
658
659 if ( text3 )
660 {
661 text3.SetColor(
ARGB( 255, 255, 0, 0 ) );
662 w.SetAlpha(1);
663 }
664
665 if ( image )
666 {
667 image.SetColor(
ARGB( 255, 200, 0, 0 ) );
668 }
669
670 if ( option )
671 {
672 option.SetColor(
ARGB( 255, 255, 0, 0 ) );
673 }
674
675 if ( option_label )
676 {
677 option_label.SetColor(
ARGB( 255, 255, 0, 0 ) );
678 }
679 }
int ARGB(int a, int r, int g, int b)