void SetProgressPercent( int32 InProgressNumerator, int32 InProgressDenominator ) { // interlocked exchange for threaded version FPlatformAtomics::InterlockedExchange( &ProgressNumerator, InProgressNumerator ); FPlatformAtomics::InterlockedExchange( &ProgressDenominator, InProgressDenominator ); UpdateProgressText(); }
void SBuildProgressWidget::SetBuildStatusText( const FText& StatusText ) { UpdateTime(); // Only update the text if we haven't canceled the build. if( !bStoppingBuild ) { BuildStatusText = StatusText; UpdateProgressText(); } }
void SBuildProgressWidget::SetBuildProgressPercent( int32 InProgressNumerator, int32 InProgressDenominator ) { UpdateTime(); // Only update the progress bar if we haven't canceled the build. if( !bStoppingBuild ) { ProgressNumerator = InProgressNumerator; ProgressDenominator = InProgressDenominator; UpdateProgressText(); } }
void SetProgressText( const FText& InProgressText ) { ProgressText = InProgressText; UpdateProgressText(); }