You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
20 lines
910 B
C++
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 );
|
|
}
|