Navigation
API > API/Runtime > API/Runtime/Slate
| Name | FWidgetDecorator |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/TextDecorators.h |
| Include Path | #include "Framework/Text/TextDecorators.h" |
Syntax
class FWidgetDecorator : public ITextDecorator
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWidgetDecorator
(
FString InRunName, |
Framework/Text/TextDecorators.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FWidgetDecorator() |
Framework/Text/TextDecorators.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCreateWidget | TBaseDelegate_TwoParams< FSlateWidgetRun::FWidgetRunInfo, const FTextRunInfo &, const ISlateStyle * > | Framework/Text/TextDecorators.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CreateWidgetDelegate | FCreateWidget | Framework/Text/TextDecorators.h | ||
| RunName | FString | Framework/Text/TextDecorators.h |
Functions
Public
Overridden from ITextDecorator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< ISlateRun > Create
(
const TSharedRef< class FTextLayout >& TextLayout, |
Framework/Text/TextDecorators.h | ||
virtual bool Supports
(
const FTextRunParseResults& RunParseResult, |
Framework/Text/TextDecorators.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FWidgetDecorator > Create
(
FString InRunName, |
Framework/Text/TextDecorators.h |