DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ColorHighlight()

void ColorHighlight ( Widget w)
protected

См. определение в файле ServerBrowserTab.c строка 648

649 {
650 if ( w.IsInherited( ButtonWidget ) )
651 {
652 ButtonWidget button = ButtonWidget.Cast( w );
653 button.SetTextColor( ARGB( 255, 200, 0, 0 ) );
654 }
655
656 w.SetColor( ARGB( 255, 0, 0, 0) );
657
658 TextWidget text1 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text" ) );
659 TextWidget text2 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_label" ) );
660 TextWidget text3 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text_1" ) );
661 ImageWidget image = ImageWidget.Cast( w.FindAnyWidget( w.GetName() + "_image" ) );
662 Widget option = Widget.Cast( w.FindAnyWidget( w.GetName() + "_option_wrapper" ) );
663 Widget option_label = w.FindAnyWidget( "option_label" );
664
665 if ( text1 )
666 {
667 text1.SetColor( ARGB( 255, 255, 0, 0 ) );
668 }
669
670 if ( text2 )
671 {
672 text2.SetColor( ARGB( 255, 255, 0, 0 ) );
673 }
674
675 if ( text3 )
676 {
677 text3.SetColor( ARGB( 255, 255, 0, 0 ) );
678 w.SetAlpha(1);
679 }
680
681 if ( image )
682 {
683 image.SetColor( ARGB( 255, 200, 0, 0 ) );
684 }
685
686 if ( option )
687 {
688 option.SetColor( ARGB( 255, 255, 0, 0 ) );
689 }
690
691 if ( option_label )
692 {
693 option_label.SetColor( ARGB( 255, 255, 0, 0 ) );
694 }
695 }
Определения EnWidgets.c:220
Определения EnWidgets.c:190
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB().