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

◆ ColorHighlight()

void ColorHighlight ( Widget w)
protected

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

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
652 TextWidget text1 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text" ) );
653 TextWidget text2 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_label" ) );
654 TextWidget text3 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text_1" ) );
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 }
Определения EnWidgets.c:220
Определения EnWidgets.c:190
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

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