Files
UnrealEngineUWP/Engine/Source/Editor/Sequencer/Private/SSequencerSectionOverlay.cpp
Andrew Rodham ac6ad9ec5c Sequencer improvements:
- Reworked UI hierarchy to better afford input on its constituent panels
 - Added scroll-zoom/pan support to the track area and curve editor (using CTRL and SHIFT mouse wheel modifiers)
 - View range no longer zooms when changing the size of the sequencer window

[CL 2585565 by Andrew Rodham in Main branch]
2015-06-12 08:55:27 -04:00

12 lines
754 B
C++

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