Files
UnrealEngineUWP/Engine/Source/Editor/Sequencer/Private/SSequencerSectionOverlay.cpp
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

20 lines
910 B
C++

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