MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
SPlainTextDisplay.h
Go to the documentation of this file.
1/** @noop License Comment
2 * @file
3 * @copyright
4 * This Source Code is subject to the terms of the Mozilla Public License, v2.0.
5 * If a copy of the MPL was not distributed with this file You can obtain one at
6 * https://mozilla.org/MPL/2.0/
7 *
8 * @author David Mórász
9 * @date 2025
10 */
11
12#pragma once
13
14#include "CoreMinimal.h"
15#include "Widgets/SCompoundWidget.h"
17
18namespace Mcro::Error
19{
20 /**
21 * Displaying error components which just provide a block of text (like a stack-trace)
22 */
23 class MCRO_API SPlainTextDisplay : public SErrorDisplay
24 {
25 public:
28 SLATE_END_ARGS()
29
30 /** Constructs this widget with InArgs */
31 void Construct(const FArguments& inArgs);
32 };
33}
SLATE_ARGUMENT(IErrorRef, Error)
TSharedRef< IError > IErrorRef
Definition Error.Fwd.h:25