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

◆ ColorNormal()

void ColorNormal ( Widget w)
protected

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

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

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