UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SNotificationBackground.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7struct FSlateBrush;
8
10{
11public:
18 SLATE_ATTRIBUTE(FLinearColor, ColorAndOpacity)
19 SLATE_ATTRIBUTE(FSlateColor, BorderBackgroundColor)
20 SLATE_ATTRIBUTE(FVector2D, DesiredSizeScale)
21 SLATE_DEFAULT_SLOT(FArguments, Content)
23
24 SLATE_API void Construct(const FArguments& InArgs);
25 SLATE_API virtual int32 OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled) const override;
26
28 const FSlateBrush* WatermarkBrush = nullptr;
29 const FSlateBrush* BorderBrush = nullptr;
30 FLinearColor WatermarkTint;
31};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define SLATE_ATTRIBUTE(AttrType, AttrName)
Definition DeclarativeSyntaxSupport.h:192
#define SLATE_END_ARGS()
Definition DeclarativeSyntaxSupport.h:116
#define SLATE_DEFAULT_SLOT(DeclarationType, SlotName)
Definition DeclarativeSyntaxSupport.h:444
Definition PaintArgs.h:23
Definition SlateRect.h:26
Definition DrawElements.h:220
Definition WidgetStyle.h:15
Definition SBorder.h:31
Definition SNotificationBackground.h:10
SLATE_BEGIN_ARGS(SNotificationBackground)
Definition SNotificationBackground.h:12
virtual SLATE_API int32 OnPaint(const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override
Definition SNotificationBackground.cpp:28
SLATE_API void Construct(const FArguments &InArgs)
Definition SNotificationBackground.cpp:6
Definition Geometry.h:40
Definition Color.h:48
Definition Margin.h:17
Definition SlateBrush.h:239
Definition SlateColor.h:42