You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-163710 #rb trivial #preflight 645015d1de57652122c040be [CL 25309525 by daren cheng in ue5-main branch]
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "IDetailCustomization.h"
|
|
#include "ITransportControl.h"
|
|
|
|
template <typename OptionalType> struct TOptional;
|
|
|
|
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;
|
|
};
|
|
|
|
#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2
|
|
#include "PropertyEditorModule.h"
|
|
#include "Types/SlateEnums.h"
|
|
#endif
|