Files
UnrealEngineUWP/Engine/Source/Editor/Sequencer/Private/SSequencerSectionOverlay.cpp
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

21 lines
949 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SSequencerSectionOverlay.h"
int32 SSequencerSectionOverlay::OnPaint( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled ) const
{
FPaintViewAreaArgs PaintArgs;
PaintArgs.bDisplayTickLines = bDisplayTickLines.Get();
PaintArgs.bDisplayScrubPosition = bDisplayScrubPosition.Get();
PaintArgs.bDisplayMarkedFrames = bDisplayMarkedFrames.Get();
if (PaintPlaybackRangeArgs.IsSet())
{
PaintArgs.PlaybackRangeArgs = PaintPlaybackRangeArgs.Get();
}
TimeSliderController->OnPaintViewArea( AllottedGeometry, MyCullingRect, OutDrawElements, LayerId, ShouldBeEnabled( bParentEnabled ), PaintArgs );
return SCompoundWidget::OnPaint( Args, AllottedGeometry, MyCullingRect, OutDrawElements, LayerId, InWidgetStyle, bParentEnabled );
}