void SetProgressPercent( int32 InProgressNumerator, int32 InProgressDenominator )
	{
		// interlocked exchange for threaded version
		FPlatformAtomics::InterlockedExchange( &ProgressNumerator, InProgressNumerator );
		FPlatformAtomics::InterlockedExchange( &ProgressDenominator, InProgressDenominator );
		UpdateProgressText();
	}
예제 #2
0
void SBuildProgressWidget::SetBuildStatusText( const FText& StatusText )
{
	UpdateTime();
	
	// Only update the text if we haven't canceled the build.
	if( !bStoppingBuild )
	{
		BuildStatusText = StatusText;
		UpdateProgressText();
	}
}
예제 #3
0
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();
	}