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

◆ ColorNormal()

void ColorNormal ( Widget w)
protected

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

682 {
683 if ( (w.GetFlags() & WidgetFlags.IGNOREPOINTER) == WidgetFlags.IGNOREPOINTER )
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
694 TextWidget text1 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text" ) );
695 TextWidget text2 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text_1" ) );
696 TextWidget text3 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_label" ) );
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 }
Определения EnWidgets.c:220
Определения EnWidgets.c:190
WidgetFlags
Определения EnWidgets.c:58
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

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

Используется в OptionSelectorBase::OnMouseLeave() и ServerBrowserTab::OnMouseLeave().