You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
65 lines
2.1 KiB
C++
65 lines
2.1 KiB
C++
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Widgets/SWidget.h"
|
|
#include "Layout/Margin.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
#include "AssetDiscoveryIndicator.h"
|
|
|
|
class ITransportControl;
|
|
struct FTransportControlArgs;
|
|
|
|
/** Interface for the widget that wraps an editable text box for viewing the names of objects or editing the labels of actors */
|
|
class IObjectNameEditableTextBox : public SCompoundWidget
|
|
{
|
|
};
|
|
|
|
/**
|
|
* Editor Widgets module
|
|
*/
|
|
class FEditorWidgetsModule : public IModuleInterface
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Called right after the plugin DLL has been loaded and the plugin object has been created
|
|
*/
|
|
virtual void StartupModule();
|
|
|
|
/**
|
|
* Called before the plugin is unloaded, right before the plugin object is destroyed.
|
|
*/
|
|
virtual void ShutdownModule();
|
|
|
|
/**
|
|
* Creates a new text box for viewing the names of objects or editing the labels of actors
|
|
*
|
|
* @param Objects The list of objects that the editable text box shows/edits the names
|
|
* @return The new editable text box
|
|
*/
|
|
virtual TSharedRef<IObjectNameEditableTextBox> CreateObjectNameEditableTextBox(const TArray<TWeakObjectPtr<UObject>>& Objects);
|
|
|
|
/**
|
|
* Creates a widget that visualizes the asset discovery progress and collapses away when complete
|
|
*
|
|
* @param ScaleMode The direction the widget will scale when animating in and out
|
|
* @param Padding The padding to apply to the widget internally
|
|
* @return The indicator widget
|
|
*/
|
|
virtual TSharedRef<SWidget> CreateAssetDiscoveryIndicator(EAssetDiscoveryIndicatorScaleMode::Type ScaleMode = EAssetDiscoveryIndicatorScaleMode::Scale_None, FMargin Padding = FMargin(0), bool bFadeIn = true);
|
|
|
|
/**
|
|
* Creates a widget that allows play/pause, and general time controls
|
|
*
|
|
* @param Args The arguments used to generate the widget
|
|
* @return The transport control widget
|
|
*/
|
|
virtual TSharedRef<ITransportControl> CreateTransportControl(const FTransportControlArgs& Args);
|
|
|
|
/** Editor Widgets app identifier string */
|
|
static const FName EditorWidgetsAppIdentifier;
|
|
};
|