You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira none #rb sebastian.nordgren #preflight 6295f14f926be5fb68b3e29a [CL 20435453 by George Rolfe in ue5-main branch]
32 lines
917 B
C++
32 lines
917 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Widgets/Input/SMultiLineEditableTextBox.h"
|
|
|
|
class ITextLayoutMarshaller;
|
|
|
|
class EDITORWIDGETS_API STemplateStringEditableTextBox : public SMultiLineEditableTextBox
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(STemplateStringEditableTextBox)
|
|
{}
|
|
/** The initial text that will appear in the widget. */
|
|
SLATE_ATTRIBUTE(FText, Text)
|
|
|
|
/** The list of available arguments to use in this template string. */
|
|
SLATE_ATTRIBUTE(TArray<FString>, ValidArguments)
|
|
|
|
/** The marshaller used to get/set the raw text to/from the text layout. */
|
|
SLATE_ARGUMENT(TSharedPtr<ITextLayoutMarshaller>, Marshaller)
|
|
|
|
/** Called whenever the text is changed interactively by the user. */
|
|
SLATE_EVENT(FOnTextChanged, OnTextChanged)
|
|
|
|
SLATE_END_ARGS()
|
|
|
|
/** Constructs this widget with InArgs */
|
|
void Construct(const FArguments& InArgs);
|
|
};
|