You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156 [CL 16163576 by aurel cordonnier in ue5-main branch]
28 lines
1.2 KiB
C++
28 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Views/SInteractiveCurveEditorView.h"
|
|
|
|
class MOVIESCENETOOLS_API SCurveEditorEventChannelView : public SInteractiveCurveEditorView
|
|
{
|
|
public:
|
|
|
|
void Construct(const FArguments& InArgs, TWeakPtr<FCurveEditor> InCurveEditor);
|
|
|
|
virtual void GetGridLinesY(TSharedRef<const FCurveEditor> CurveEditor, TArray<float>& MajorGridLines, TArray<float>& MinorGridLines, TArray<FText>* MajorGridLabels) const override;
|
|
|
|
private:
|
|
|
|
//~ SWidget Interface
|
|
virtual void Tick(const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime) override;
|
|
virtual FVector2D ComputeDesiredSize(float LayoutScaleMultiplier) const override;
|
|
|
|
//~ SInteractiveCurveEditorView interface
|
|
virtual void PaintView(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 BaseLayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled) const override;
|
|
virtual bool IsValueSnapEnabled() const override { return false; }
|
|
|
|
void DrawLabels(const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 BaseLayerId, ESlateDrawEffect DrawEffects) const;
|
|
|
|
static float TrackHeight;
|
|
}; |