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

◆ ColorNormal()

void ColorNormal ( Widget w)
protected

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

698 {
699 if ( (w.GetFlags() & WidgetFlags.IGNOREPOINTER) == WidgetFlags.IGNOREPOINTER )
700 {
701 return;
702 }
703
704 if ( w.IsInherited( ButtonWidget ) )
705 {
706 ButtonWidget button = ButtonWidget.Cast( w );
707 button.SetTextColor( ARGB( 255, 255, 255, 255 ) );
708 }
709
710 TextWidget text1 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text" ) );
711 TextWidget text2 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_text_1" ) );
712 TextWidget text3 = TextWidget.Cast(w.FindAnyWidget( w.GetName() + "_label" ) );
713 ImageWidget image = ImageWidget.Cast( w.FindAnyWidget( w.GetName() + "_image" ) );
714 Widget option = w.FindAnyWidget( w.GetName() + "_option_wrapper" );
715 Widget option_label = w.FindAnyWidget( "option_label" );
716
717 if ( text1 )
718 {
719 text1.SetColor( ARGB( 255, 255, 255, 255 ) );
720 }
721
722 if ( text2 )
723 {
724 text2.SetColor( ARGB( 255, 255, 255, 255 ) );
725 }
726
727 if ( text3 )
728 {
729 text3.SetColor( ARGB( 255, 255, 255, 255 ) );
730 w.SetAlpha(0);
731 }
732
733 if ( image )
734 {
735 image.SetColor( ARGB( 255, 255, 255, 255 ) );
736 }
737
738 if ( option )
739 {
740 option.SetColor( ARGB( 150, 255, 255, 255 ) );
741 }
742
743 if ( option_label )
744 {
745 option_label.SetColor( ARGB( 255, 255, 255, 255 ) );
746 }
747 }
Определения EnWidgets.c:220
Определения EnWidgets.c:190
WidgetFlags
Определения EnWidgets.c:58
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

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