You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Full rename of the Slate "active tick" system to "active timer"
[CL 2394301 by Dan Hertzka in Main branch]
This commit is contained in:
+3
-3
@@ -133,14 +133,14 @@ void SDeviceProcesses::Construct( const FArguments& InArgs, const FDeviceManager
|
||||
ReloadProcessList(true);
|
||||
|
||||
// Register for an active update every 2.5 seconds
|
||||
RegisterActiveTick( 2.5f, FWidgetActiveTickDelegate::CreateSP( this, &SDeviceProcesses::UpdateProcessList ) );
|
||||
RegisterActiveTimer( 2.5f, FWidgetActiveTimerDelegate::CreateSP( this, &SDeviceProcesses::UpdateProcessList ) );
|
||||
}
|
||||
|
||||
EActiveTickReturnType SDeviceProcesses::UpdateProcessList( double InCurrentTime, float InDeltaTime )
|
||||
EActiveTimerReturnType SDeviceProcesses::UpdateProcessList( double InCurrentTime, float InDeltaTime )
|
||||
{
|
||||
ReloadProcessList( true );
|
||||
|
||||
return EActiveTickReturnType::KeepTicking;
|
||||
return EActiveTimerReturnType::Continue;
|
||||
}
|
||||
|
||||
/* SDeviceDetails implementation
|
||||
|
||||
@@ -40,7 +40,7 @@ protected:
|
||||
|
||||
private:
|
||||
// Periodically refreshes the process list
|
||||
EActiveTickReturnType UpdateProcessList( double InCurrentTime, float InDeltaTime );
|
||||
EActiveTimerReturnType UpdateProcessList( double InCurrentTime, float InDeltaTime );
|
||||
|
||||
// Callback for getting the text of the message overlay.
|
||||
FText HandleMessageOverlayText( ) const;
|
||||
|
||||
Reference in New Issue
Block a user