You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE) This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText. [CL 2401019 by Jamie Dale in Main branch]
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
class SGraphNodeSequencePlayer : public SGraphNode
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SGraphNodeSequencePlayer){}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, UK2Node* InNode);
|
|
|
|
// SNodePanel::SNode interface
|
|
virtual void GetNodeInfoPopups(FNodeInfoContext* Context, TArray<FGraphInformationPopupInfo>& Popups) const override;
|
|
// End of SNodePanel::SNode interface
|
|
|
|
// SGraphNode interface
|
|
virtual void UpdateGraphNode() override;
|
|
virtual void CreateBelowWidgetControls(TSharedPtr<SVerticalBox> MainBox) override;
|
|
// End of SGraphNode interface
|
|
|
|
protected:
|
|
/** Get the sequence player associated with this graph node */
|
|
struct FAnimNode_SequencePlayer* GetSequencePlayer() const;
|
|
EVisibility GetSliderVisibility() const;
|
|
float GetSequencePositionRatio() const;
|
|
void SetSequencePositionRatio(float NewRatio);
|
|
|
|
FText GetPositionTooltip() const;
|
|
|
|
bool GetSequencePositionInfo(float& Out_Position, float& Out_Length, int32& FrameCount) const;
|
|
};
|