UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SPopup.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
5#include "Layout/Visibility.h"
8
9class FPaintArgs;
11
13class SPopup : public SCompoundWidget
14{
15public:
16
21
22 SLATE_DEFAULT_SLOT( FArguments, Content )
23
25
27 {
28 SetCanTick(false);
29 bCanSupportFocus = false;
30 }
31
32 SLATE_API void Construct(const FArguments& InArgs);
33
34private:
35
36 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;
37
38};
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_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 SCompoundWidget.h:22
Definition SPopup.h:14
SLATE_BEGIN_ARGS(SPopup)
Definition SPopup.h:17
SLATE_API void Construct(const FArguments &InArgs)
Definition SPopup.cpp:7
uint8 bCanSupportFocus
Definition SWidget.h:1745
void SetCanTick(bool bInCanTick)
Definition SWidget.h:671
static SLATECORE_API const EVisibility SelfHitTestInvisible
Definition Visibility.h:26
Definition Geometry.h:40