mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Cannot support custom theme in decorator, UE provides no UI to edit properties of decorators
This commit is contained in:
parent
3273836f3d
commit
1904476cc4
@ -11,15 +11,9 @@ UCLASS()
|
|||||||
class STEVESUEHELPERS_API URichTextBlockInputImageDecorator : public URichTextBlockDecorator
|
class STEVESUEHELPERS_API URichTextBlockInputImageDecorator : public URichTextBlockDecorator
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
protected:
|
|
||||||
/// Custom theme to use for this input image set; if not supplied will use UStevesGameSubsystem::DefaultUiTheme
|
|
||||||
UPROPERTY(EditAnywhere, BlueprintReadOnly)
|
|
||||||
UUiTheme* CustomTheme;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
virtual TSharedPtr<ITextDecorator> CreateDecorator(URichTextBlock* InOwner) override;
|
virtual TSharedPtr<ITextDecorator> CreateDecorator(URichTextBlock* InOwner) override;
|
||||||
|
|
||||||
virtual UUiTheme* GetCustomTheme() const { return CustomTheme; }
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user