コード例 #1
0
	void SetProgressPercent( int32 InProgressNumerator, int32 InProgressDenominator )
	{
		// interlocked exchange for threaded version
		FPlatformAtomics::InterlockedExchange( &ProgressNumerator, InProgressNumerator );
		FPlatformAtomics::InterlockedExchange( &ProgressDenominator, InProgressDenominator );
		UpdateProgressText();
	}
コード例 #2
0
ファイル: SBuildProgress.cpp プロジェクト: Codermay/Unreal4
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
ファイル: SBuildProgress.cpp プロジェクト: Codermay/Unreal4
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();
	}
}
コード例 #4
0
	void SetProgressText( const FText& InProgressText )
	{
		ProgressText = InProgressText;
		UpdateProgressText();
	}