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 @ 15913390 and Dev-PerfTest @ 15913304 [CL 15958515 by Marc Audy in ue5-main branch]
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Editor/PropertyEditor/Public/PropertyEditorModule.h"
|
|
#include "ITransportControl.h"
|
|
#include "Types/SlateEnums.h"
|
|
#include "IDetailCustomization.h"
|
|
|
|
class IPropertyHandle;
|
|
class UCommonVideoPlayer;
|
|
|
|
class FCommonVideoPlayerCustomization : public IDetailCustomization
|
|
{
|
|
public:
|
|
static TSharedRef<IDetailCustomization> MakeInstance();
|
|
|
|
virtual void CustomizeDetails(IDetailLayoutBuilder& DetailLayout) override;
|
|
|
|
private:
|
|
FReply HandlePlayClicked();
|
|
FReply HandleGoToStartClicked();
|
|
FReply HandleBackwardStep();
|
|
FReply HandleForwardStep();
|
|
FReply HandleGoToEndClicked();
|
|
FReply HandlePauseClicked();
|
|
FReply HandleReverseClicked();
|
|
EPlaybackMode::Type GetPlaybackMode() const;
|
|
|
|
TOptional<float> GetMaxPlaybackTimeValue() const;
|
|
TOptional<float> GetPlaybackTimeValue() const;
|
|
void HandlePlaybackTimeCommitted(float NewTime, ETextCommit::Type);
|
|
FText GetMaxPlaybackTimeText() const;
|
|
|
|
TSharedRef<SWidget> HandleCreateMuteToggleWidget() const;
|
|
const FSlateBrush* GetMuteToggleIcon() const;
|
|
FReply HandleToggleMuteClicked() const;
|
|
|
|
TWeakObjectPtr<UCommonVideoPlayer> VideoPlayer;
|
|
}; |